Unix To PowerShell – Cut
Published May 06, 2009
Version 1.0Was this article helpful?
"Get-WMIObject -class MSFT_SPIESUserSetting | where-object { $_.PrimaryURI -eq 'sip:Navin@OCSR2.COM' } | foreach-object -process { $_.Enabled = $True; $_.put() | out-null; }"
I've put a foreach-object before your last expression block and it seems to work for me.
Let me know how it goes...
-Joe