Get-CMSecurityScope

Get-CMSecurityScope

Gets security scopes.

構文

Parameter Set: SearchByName
Get-CMSecurityScope [-Name <String[]> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMSecurityScope -Id <String[]> [ <CommonParameters>]

詳細説明

The Get-CMSecurityScope cmdlet gets one or more security scopes in Microsoft System Center 2012 Configuration Manager.

パラメーター

-Id<String[]>

Specifies an array of IDs of security scopes.

エイリアス

CategoryId

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String[]>

Specifies an array of names of security scopes.

エイリアス

CategoryName

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

true

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Get all security scopes

This command gets all the security scopes on the local computer.

PS C:\> Get-CMSecurityScope

Example 2: Get a security scope by using an ID

This command gets the security scope that has the ID CM100001.

PS C:\> Get-CMSecurityScope -Id "CM100001"

Example 3: Get security scopes by using a wild card

This command gets security scopes that have a display name that begins with the letter D.

PS C:\> Get-CMSecurityScope -Name D*

関連トピック

New-CMSecurityScope

Set-CMSecurityScope

Remove-CMSecurityScope

Remove-CMSecurityScopeFromAdministrativeUser