Retrieve SCCM Security Scope details using PowerShell

This short post is just to share an easy way to retrieve details related to Security Scopes in SCCM, using the Power shell and the WMI. The majority of the security scope details could simply be retrieved by running the following cmdlet:


The Following Power shell script could be used to list additional details related to SCCM Security Scope(s). Please ensure to replace the values for $smsserver and $siteCode with the netbios of your SCCM site server and the 3 characters site code.

$smsServer = “netbiosONLY” #Enter the Netbios of the SCCM site server
$siteCode = “xxx” #Enter the three characters SCCM site code
Get-WmiObject -computername $smsServer -Namespace “root\sms\site_$siteCode” -Class SMS_SecuredCategory




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s