Quantcast
Channel: SCSM PowerShell Cmdlets
Viewing all articles
Browse latest Browse all 306

New Post: get-scsmobject

$
0
0

Hi mate,

try this one:

$UserClass = get-scsmclass -Name Microsoft.AD.User$
get-scsmobject -class $UserClass -Filter "Firstname -eq 'Phil'" | remove-scsmobject -whatif

Regards

Alex


Viewing all articles
Browse latest Browse all 306

Trending Articles