ivan rosa
asked on
WMIClass options for deployment
Hello Folks,
i'm trying to identify the SCCM site for few computers. I know a local script in powershell would be something like
however i'm not quiet sure how can I implement it to other PCs remotely. also have to say "invoke-" is not enabled in my environment
does anybody have any thoughts or other methods?
thanks for looking!
i'm trying to identify the SCCM site for few computers. I know a local script in powershell would be something like
$SCCMSiteCode = $([WmiClass]"\\localhost\ROOT\ccm:SMS_Client").GetAssignedSite()
$SCCMSiteCode.sSiteCode
however i'm not quiet sure how can I implement it to other PCs remotely. also have to say "invoke-" is not enabled in my environment
does anybody have any thoughts or other methods?
thanks for looking!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hm. I just learned something new today!