Get-CMUserCollection
Get-CMUserCollection
Gets one or more user collections in the Configuration Manager hierarchy.
構文
Parameter Set: SearchByDPGroupId
Get-CMUserCollection -DistributionPointGroupId <String> [ <CommonParameters>]
Parameter Set: SearchByDPGroupName
Get-CMUserCollection -DistributionPointGroupName <String> [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMUserCollection -CollectionId <String> [ <CommonParameters>]
Parameter Set: SearchByName
Get-CMUserCollection [-Name <String> ] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Get-CMUserCollection -DistributionPointGroup <IResultObject> [ <CommonParameters>]
詳細説明
The Get-CMUserCollection cmdlet retrieves collections that contain users in Microsoft System Center 2012 Configuration Manager. For more information about collections, see Introduction to Collections in Configuration Manager (https://go.microsoft.com/fwlink/p/?LinkID=259433) on TechNet.
パラメーター
-CollectionId<String>
Specifies the IDs of the user collections.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointGroup<IResultObject>
Specifies an object that represents a distribution point group that is associated with the user collections.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointGroupId<String>
Specifies the ID of a distribution point group that is associated with the user collections.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointGroupName<String>
Specifies the name of a distribution point group that is associated with the user collections.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the names of the user collections. If a specific collection is not specified, all user collections in the hierarchy are returned.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Get a user collection
This command gets the user collection that has the ID 9990000D.
PS C:\> Get-CMUserCollection -CollectionId "9990000D"