Invoke-CMEndpointProtectionScan

Invoke-CMEndpointProtectionScan

Invokes a scan to detect malware on one or more devices in the Configuration Manager hierarchy.

構文

Parameter Set: SearchByDeviceIdMandatory
Invoke-CMEndpointProtectionScan -DeviceId <String> [-ScanType <ScanType> {Full | Quick} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByDeviceNameMandatory
Invoke-CMEndpointProtectionScan -DeviceName <String> [-ScanType <ScanType> {Full | Quick} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByDeviceValueMandatory
Invoke-CMEndpointProtectionScan -Device <IResultObject> [-ScanType <ScanType> {Full | Quick} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Invoke-CMEndpointProtectionScan -DeviceCollectionId <String> [-ScanType <ScanType> {Full | Quick} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Invoke-CMEndpointProtectionScan -DeviceCollectionName <String> [-ScanType <ScanType> {Full | Quick} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Invoke-CMEndpointProtectionScan -DeviceCollection <IResultObject> [-ScanType <ScanType> {Full | Quick} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Invoke-CMEndpointProtectionScan cmdlet invokes a System Center 2012 Endpoint Protection scan that is outside of any scheduled scans. You can specify the device or collection by using its name, ID, or by specifying an object that represents the device or collection.

For more information about how Configuration Manager supports Endpoint Protection, see Endpoint Protection in Configuration Manager (https://go.microsoft.com/fwlink/?LinkId=268427) on TechNet.

パラメーター

-Device<IResultObject>

Specifies the device that is scanned for malware.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DeviceCollection<IResultObject>

Specifies an object that represents a device collection whose members are scanned for malware.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DeviceCollectionId<String>

Specifies the ID of a device collection whose members are scanned for malware.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DeviceCollectionName<String>

Specifies the name of a device collection whose members are scanned for malware.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DeviceId<String>

Specifies the ID of a device that is scanned for malware.

エイリアス

ResourceID

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DeviceName<String>

Specifies the name of a device that is scanned for malware.

エイリアス

Name

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-ScanType<ScanType>

Specifies a full or a quick scan. A full scan looks at every location on the device. A quick scan looks at only those locations where malware is most likely to appear.

エイリアス

なし

必須?

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: Invoke a full Endpoint Protection scan

This command invokes a full Endpoint Protection scan of the device named CMCEN-DIST02.

PS C:\> Invoke-CMEndpointProtectionScan -DeviceName "CMCEN-DIST02" -ScanType Full

関連トピック

Get-CMEndpointProtectionPoint