Quantcast
Channel: ITNinja: KACE Product Support
Viewing all articles
Browse latest Browse all 33

Custom Inventory Rule Escaping Quotes

$
0
0
I have the following Custom Inventory Rule: ShellCommandTextReturn(powershell.exe $diskdrive = gwmi win32_diskdrive;foreach($drive in $diskdrive){if($drive.model -match 'SSD'){$ssd='SSD'}else{$ssd='HDD'}$partitions=gwmi -Query """ASSOCIATORS OF {Win ...

Viewing all articles
Browse latest Browse all 33

Trending Articles