Deny-CMUserDeviceAffinityRequest
Deny-CMUserDeviceAffinityRequest
Denies a request for user device affinity in Configuration Manager.
構文
Parameter Set: SearchByNameMandatory
Deny-CMUserDeviceAffinityRequest -CollectionName <String> [-DeviceId <String> ] [-DeviceName <String> ] [-UserDeviceAffinityRequest <IResultObject> ] [-UserDeviceAffinityRequestId <String> ] [-UserId <String> ] [-UserName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Deny-CMUserDeviceAffinityRequest -CollectionId <String> [-DeviceId <String> ] [-DeviceName <String> ] [-UserDeviceAffinityRequest <IResultObject> ] [-UserDeviceAffinityRequestId <String> ] [-UserId <String> ] [-UserName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Deny-CMUserDeviceAffinityRequest cmdlet denies a request for user device affinity.
In Microsoft System Center 2012 Configuration Manager, user device affinity defines a relationship between a user and a device.
パラメーター
-CollectionId<String>
Specifies a collection ID that represents the user device affinity in Configuration Manager.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-CollectionName<String>
Specifies a name of a collection that represents the user device affinity in Configuration Manager.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeviceId<String>
Specifies a device ID in Configuration Manager.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeviceName<String>
Specifies a device name in Configuration Manager.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserDeviceAffinityRequest<IResultObject>
Specifies a CMUserDeviceAffinityRequest object. To obtain a CMUserDeviceAffinityRequest object, use the Get-CMUserDeviceAffinityRequest cmdlet.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserDeviceAffinityRequestId<String>
Specifies a unique ID for a request for user device affinity.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserId<String>
Specifies a Configuration Manager ID for a user resource.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserName<String>
Specifies a user name for a resource in Configuration Manager.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Deny a request for user device affinity
This command denies a request for user device affinity for the collection named All Systems.
PS C:\> Deny-CMUserDeviceAffinityRequest -CollectionName "All Systems" -UserName "Western\EvanNarvaez$"