$ 0 0 may be this is because you get more then one object back in $Ro try this $ro | % {Set-SCSMObject -Property Notes -Value "Test" }