Disable-CMAmtAuditLog
Disable-CMAmtAuditLog
Disables audit logging for Intel AMT-based computers.
構文
Parameter Set: SearchByNameMandatory
Disable-CMAmtAuditLog -DeviceName <String[]> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Disable-CMAmtAuditLog -DeviceId <String[]> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Disable-CMAmtAuditLog -Device <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Disable-CMAmtAuditLog cmdlet disables audit logging for Intel Active Management Technology (Intel AMT)-based computers. The audit log records authorized and authenticated out-of-band management activities performed on Intel AMT computers.
You can specify computers by using the Microsoft System Center 2012 Configuration Manager device name or device ID, or you can use the Get-CMDevice cmdlet to get a device object. If you want to delete the current log entries, use the Clear-CMAmtAuditlog cmdlet.
パラメーター
-Device<IResultObject>
Specifies a device object. To obtain a device object, use the Get-CMDevice cmdlet.
エイリアス |
InputObject |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeviceId<String[]>
Specifies an array of IDs of devices.
エイリアス |
ResourceId |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeviceName<String[]>
Specifies an array of names of devices.
エイリアス |
Name |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Force
Performs the action without a confirmation message.
エイリアス |
なし |
必須? |
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: Disable audit logging for a device by using an ID
This command disables Intel AMT audit logging for a device that has the ID 16777230.
PS C:\> Disable-CMAmtAuditLog -DeviceID "16777230"
Example 2: Disable audit logging for named device
This command disables Intel AMT audit logging for a device named Accn023.Contoso.com.
PS C:\> Disable-CMAmtAuditLog -DeviceName "Accn023.Contoso.com"
Example 3: Disable audit logging by using a variable
The first command gets a device object by using the Get-CMDevice command, and stores it in the $CMD variable.
The second command disables Intel AMT audit logging for the device stored in the $CMD variable. The command uses the Force parameter. Therefore, it does not prompt you for confirmation.
PS C:\> $CMD = Get-CMDevice -Name "Accn023.Contoso.com"
PS C:\> Disable-CMAmtAuditLog -Device $CMD