Get-CMSecurityScope

Gets a security scope.

Syntax

Get-CMSecurityScope
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Id <String>
   [<CommonParameters>]
Get-CMSecurityScope [-DisableWildcardHandling] [-ForceWildcardHandling] [-Name ] []

Description

The Get-CMSecurityScope cmdlet gets one or more security scopes in Microsoft System Center Configuration Manager. You can get a security scope by its name or ID. If you don't provide any parameters, all security scopes are returned.

Examples

Example 1: Get a security scope by name

PS C:\> Get-CMSecurityScope -Name "Scope"

This command gets the security scope named Scope.

Example 2: Get a security scope by using a wildcard

PS C:\> Get-CMSecurityScope -Name "S*"

This command gets all security scope objects that have a name beginning with "S".

Required Parameters

-Id

Specifies the ID of a security scope.

Type:String
Aliases:CategoryId
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a security scope.

Type:String
Aliases:CategoryName
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False