Set-MpPreference

Set-MpPreference

Configures preferences for Windows Defender scans and updates.

構文

Parameter Set: Set0
Set-MpPreference [-AsJob] [-CheckForSignaturesBeforeRunningScan <Boolean> ] [-CimSession <CimSession[]> ] [-DisableArchiveScanning <Boolean> ] [-DisableBehaviorMonitoring <Boolean> ] [-DisableCatchupFullScan <Boolean> ] [-DisableCatchupQuickScan <Boolean> ] [-DisableEmailScanning <Boolean> ] [-DisableIntrusionPreventionSystem <Boolean> ] [-DisableIOAVProtection <Boolean> ] [-DisablePrivacyMode <Boolean> ] [-DisableRealtimeMonitoring <Boolean> ] [-DisableRemovableDriveScanning <Boolean> ] [-DisableRestorePoint <Boolean> ] [-DisableScanningMappedNetworkDrivesForFullScan <Boolean> ] [-DisableScanningNetworkFiles <Boolean> ] [-DisableScriptScanning <Boolean> ] [-ExclusionExtension <String[]> ] [-ExclusionPath <String[]> ] [-ExclusionProcess <String[]> ] [-Force] [-HighThreatDefaultAction <ThreatAction> ] [-LowThreatDefaultAction <ThreatAction> ] [-MAPSReporting <MAPSReportingType> ] [-ModerateThreatDefaultAction <ThreatAction> ] [-QuarantinePurgeItemsAfterDelay <UInt32> ] [-RandomizeScheduleTaskTimes <Boolean> ] [-RealTimeScanDirection <ScanDirection> ] [-RemediationScheduleDay <Day> ] [-RemediationScheduleTime <DateTime> ] [-ReportingAdditionalActionTimeOut <UInt32> ] [-ReportingCriticalFailureTimeOut <UInt32> ] [-ReportingNonCriticalTimeOut <UInt32> ] [-ScanAvgCPULoadFactor <Byte> ] [-ScanOnlyIfIdleEnabled <Boolean> ] [-ScanParameters <ScanType> ] [-ScanPurgeItemsAfterDelay <UInt32> ] [-ScanScheduleDay <Day> ] [-ScanScheduleQuickScanTime <DateTime> ] [-ScanScheduleTime <DateTime> ] [-SevereThreatDefaultAction <ThreatAction> ] [-SignatureAuGracePeriod <UInt32> ] [-SignatureDefinitionUpdateFileSharesSources <String> ] [-SignatureDisableUpdateOnStartupWithoutEngine <Boolean> ] [-SignatureFallbackOrder <String> ] [-SignatureFirstAuGracePeriod <UInt32> ] [-SignatureScheduleDay <Day> ] [-SignatureScheduleTime <DateTime> ] [-SignatureUpdateCatchupInterval <UInt32> ] [-SignatureUpdateInterval <UInt32> ] [-ThreatIDDefaultAction_Actions <ThreatAction[]> ] [-ThreatIDDefaultAction_Ids <Int64[]> ] [-ThrottleLimit <Int32> ] [-UILockdown <Boolean> ] [-UnknownThreatDefaultAction <ThreatAction> ] [ <CommonParameters>]

詳細説明

The Set-MpPreference cmdlet configures preferences for Windows Defender scans and updates. You can modify exclusion file name extensions, paths, or processes, and specify the default action for high, moderate, and low threat levels.

パラメーター

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-CheckForSignaturesBeforeRunningScan<Boolean>

Indicates whether to check for new virus and spyware definitions before Windows Defender runs a scan. If you specify a value of $True, Windows Defender checks for new definitions. If you specify $False or do not specify a value, the scan begins with existing definitions. This value applies to scheduled scans and to scans that you start from the command line, but it does not affect scans that you start from the user interface.

エイリアス

csbr

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableArchiveScanning<Boolean>

Indicates whether to scan archive files, such as .zip and .cab files, for malicious and unwanted software. If you specify a value of $True or do not specify a value, Windows Defender scans archive files.

エイリアス

darchsc

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableBehaviorMonitoring<Boolean>

Indicates whether to enable behavior monitoring. If you specify a value of $True or do not specify a value, Windows Defender enables behavior monitoring.

エイリアス

dbm

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableCatchupFullScan<Boolean>

Indicates whether Windows Defender runs catch-up scans for scheduled full scans. A computer can miss a scheduled scan, usually because the computer is turned off at the scheduled time. If you specify a value of $True, after the computer misses two scheduled full scans, Windows Defender runs a catch-up scan the next time someone logs on to the computer. If you specify a value of $False or do not specify a value, the computer does not run catch-up scans for scheduled full scans.

エイリアス

dcfsc

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableCatchupQuickScan<Boolean>

Indicates whether Windows Defender runs catch-up scans for scheduled quick scans. A computer can miss a scheduled scan, usually because the computer is off at the scheduled time. If you specify a value of $True, after the computer misses two scheduled quick scans, Windows Defender runs a catch-up scan the next time someone logs onto the computer. If you specify a value of $False or do not specify a value, the computer does not run catch-up scans for scheduled quick scans.

エイリアス

dcqsc

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableEmailScanning<Boolean>

Indicates whether Windows Defender parses the mailbox and mail files, according to their specific format, in order to analyze mail bodies and attachments. Windows Defender supports several formats, including .pst, .dbx, .mbx, .mime, and .binhex. If you specify a value of $True, Windows Defender performs email scanning. If you specify a value of $False or do not specify a value, Windows Defender does not perform email scanning.

エイリアス

demsc

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableIntrusionPreventionSystem<Boolean>

Indicates whether to configure network protection against exploitation of known vulnerabilities. If you specify a value of $True or do not specify a value, network protection is enabled.

エイリアス

dips

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableIOAVProtection<Boolean>

Indicates whether Windows Defender scans all downloaded files and attachments. If you specify a value of $True or do not specify a value, scanning downloaded files and attachments is enabled.

エイリアス

dioavp

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisablePrivacyMode<Boolean>

Indicates whether to disable privacy mode. Privacy mode prevents users, other than administrators, from displaying threat history.

エイリアス

dpm

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableRealtimeMonitoring<Boolean>

Indicates whether to use real-time protection. If you specify a value of $True or do not specify a value, Windows Defender uses real-time protection. We recommend that you enable Windows Defender to use real-time protection.

エイリアス

drtm

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableRemovableDriveScanning<Boolean>

Indicates whether to scan for malicious and unwanted software in removable drives, such as flash drives, during a full scan. If you specify a value of $True, Windows Defender scans removable drives during any type of scan. If you specify a value of $False or do not specify a value, Windows Defender does not scan removable drives during a full scan. Windows Defender can still scan removable drives during quick scans or custom scans.

エイリアス

drdsc

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableRestorePoint<Boolean>

Indicates whether to disable scanning of restore points.

エイリアス

drp

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableScanningMappedNetworkDrivesForFullScan<Boolean>

Indicates whether to scan mapped network drives. If you specify a value of $True, Windows Defender scans mapped network drives. If you specify a value of $False or do not specify a value, Windows Defender does not scan mapped network drives.

エイリアス

dsmndfsc

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableScanningNetworkFiles<Boolean>

Indicates whether to scan for network files. If you specify a value of $True, Windows Defender scans network files. If you specify a value of $False or do not specify a value, Windows Defender does not scan network files. We do not recommend that you scan network files.

エイリアス

dsnf

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-DisableScriptScanning<Boolean>

Specifies whether to disable the scanning of scripts during malware scans.

エイリアス

dscrptsc

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ExclusionExtension<String[]>

Specifies an array of file name extensions, such as obj or lib, to exclude from scheduled, custom, and real-time scanning.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ExclusionPath<String[]>

Specifies an array of file paths to exclude from scheduled and real-time scanning. You can specify a folder to exclude all the files under the folder.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ExclusionProcess<String[]>

Specifies an array of processes, as paths to process images. The cmdlet excludes any files opened by the processes that you specify from scheduled and real-time scanning. Specifying this parameter excludes files opened by executable programs only. The cmdlet does not exclude the processes themselves. To exclude a process, specify it by using the ExclusionPath parameter.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-Force

ユーザーの確認を求めずにコマンドを強制的に実行します。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-HighThreatDefaultAction<ThreatAction>

Specifies which automatic remediation action to take for a high level threat. このパラメーターに対して使用できる値:

-- Quarantine
-- Remove
-- Ignore

エイリアス

htdefac

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-LowThreatDefaultAction<ThreatAction>

Specifies which automatic remediation action to take for a low level threat. このパラメーターに対して使用できる値:

-- Quarantine
-- Remove
-- Ignore

エイリアス

ltdefac

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-MAPSReporting<MAPSReportingType>

Specifies the type of membership in Microsoft Active Protection Service. Microsoft Active Protection Service is an online community that helps you choose how to respond to potential threats. The community also helps prevent the spread of new malicious software. このパラメーターに対して使用できる値:

-- 0: Disabled. Send no information to Microsoft. This is the default value.
-- 1: Basic membership. Send basic information to Microsoft about detected software, including where the software came from, the actions that you apply or that apply automatically, and whether the actions succeeded.
-- 2: Advanced membership. In addition to basic information, send more information to Microsoft about malicious software, spyware, and potentially unwanted software, including the location of the software, file names, how the software operates, and how it affects your computer.

If you join this community, you can choose to automatically send basic or additional information about detected software. Additional information helps Microsoft create new definitions. In some instances, personal information might unintentionally be sent to Microsoft. However, Microsoft will not use this information to identify you or contact you.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ModerateThreatDefaultAction<ThreatAction>

Specifies which automatic remediation action to take for a moderate level threat. このパラメーターに対して使用できる値:

-- Quarantine
-- Remove
-- Ignore

エイリアス

mtdefac

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-QuarantinePurgeItemsAfterDelay<UInt32>

Specifies the number of days to keep items in the Quarantine folder. If you specify a value of zero or do not specify a value for this parameter, items stay in the Quarantine folder indefinitely.

エイリアス

qpiad

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-RandomizeScheduleTaskTimes<Boolean>

Indicates whether to select a random time for the scheduled start and scheduled update for definitions. If you specify a value of $True or do not specify a value, scheduled tasks begin within 30 minutes, before or after, the scheduled time. If you randomize the start times, it can distribute the impact of scanning. For example, if several virtual machines share the same host, randomized start times prevents all the hosts from starting the scheduled tasks at the same time.

エイリアス

rstt

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-RealTimeScanDirection<ScanDirection>

Specifies scanning configuration for incoming and outgoing files on NTFS volumes. このパラメーターに対して使用できる値:

-- 0: Scan both incoming and outgoing files. This is the default.
-- 1: Scan incoming files only.
-- 2: Scan outgoing files only.

Specify a value for this parameter to enhance performance on servers which have a large number of file transfers, but need scanning for either incoming or outgoing files. Evaluate this configuration based on the server role. For non-NTFS volumes, Windows Defender performs full monitoring of file and program activity.

エイリアス

rtsd

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-RemediationScheduleDay<Day>

Specifies the day of the week on which to perform a scheduled full scan in order to complete remediation. Alternatively, specify everyday for this full scan or never. このパラメーターに対して使用できる値:

-- 0: Everyday
-- 1: Sunday
-- 2: Monday
-- 3: Tuesday
-- 4: Wednesday
-- 5: Thursday
-- 6: Friday
-- 7: Saturday
-- 8: Never

The default value is 8, never. If you specify a value of 8 or do not specify a value, Windows Defender performs a scheduled full scan to complete remediation by using a default frequency.

エイリアス

rsd

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-RemediationScheduleTime<DateTime>

Specifies the time of day, as the number of minutes after midnight, to perform a scheduled scan. The time refers to the local time on the computer. If you do not specify a value for this parameter, a scheduled scan runs at the default time of two hours after midnight.

エイリアス

rst

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ReportingAdditionalActionTimeOut<UInt32>

Specifies the number of minutes before a detection in the additional action state changes to the cleared state.

エイリアス

raat

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ReportingCriticalFailureTimeOut<UInt32>

Specifies the number of minutes before a detection in the critically failed state changes to either the additional action state or the cleared state.

エイリアス

rcto

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ReportingNonCriticalTimeOut<UInt32>

Specifies the number of minutes before a detection in the non-critically failed state changes to the cleared state.

エイリアス

rncto

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ScanAvgCPULoadFactor<Byte>

Specifies the maxium percentage CPU usage for a scan. このパラメーターに対して使用できる値: integers from 5 through 100, and the value 0, which disables CPU throttling. Windows Defender does not exceed the percentage of CPU usage that you specify. The default value is 50.

エイリアス

saclf

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ScanOnlyIfIdleEnabled<Boolean>

Indicates whether to start scheduled scans only when the computer is not in use. If you specify a value of $True or do not specify a value, Windows Defender runs schedules scans when the computer is on, but not in use.

エイリアス

soiie

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ScanParameters<ScanType>

Specifies the scan type to use during a scheduled scan. このパラメーターに対して使用できる値:

-- 1: Quick scan
-- 2: Full scan

If you do not specify this parameter, Windows Defender uses the default value of quick scan.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ScanPurgeItemsAfterDelay<UInt32>

Specifies the number of days to keep items in the scan history folder. After this time, Windows Defender removes the items. If you specify a value of zero, Windows Defender does not remove items. If you do not specify a value, Windows Defender removes items from the scan history folder after the default length of time, which is 30 days.

エイリアス

spiad

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ScanScheduleDay<Day>

Specifies the day of the week on which to perform a scheduled scan. Alternatively, specify everyday for a scheduled scan or never. このパラメーターに対して使用できる値:

-- 0: Everyday
-- 1: Sunday
-- 2: Monday
-- 3: Tuesday
-- 4: Wednesday
-- 5: Thursday
-- 6: Friday
-- 7: Saturday
-- 8: Never

The default value is 8, never. If you specify a value of 8 or do not specify a value, Windows Defender performs a scheduled scan by using a default frequency.

エイリアス

scsd

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ScanScheduleQuickScanTime<DateTime>

Specifies the time of day, as the number of minutes after midnight, to perform a scheduled quick scan. The time refers to the local time on the computer. If you do not specify a value for this parameter, a scheduled quick scan runs at the time specified by the ScanScheduleTime parameter. That parameter has a default time of two hours after midnight.

エイリアス

scsqst

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ScanScheduleTime<DateTime>

Specifies the time of day, as the number of minutes after midnight, to perform a scheduled scan. The time refers to the local time on the computer. If you do not specify a value for this parameter, a scheduled scan runs at a default time of two hours after midnight.

エイリアス

scst

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SevereThreatDefaultAction<ThreatAction>

Specifies which automatic remediation action to take for a severe level threat. このパラメーターに対して使用できる値:

-- Quarantine
-- Remove
-- Ignore

エイリアス

stdefac

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureAuGracePeriod<UInt32>

Specifies a grace period, in minutes, for the definition. If a definition successfully updates within this period, Windows Defender abandons any service initiated updates.

エイリアス

sigagp

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureDefinitionUpdateFileSharesSources<String>

Specifies file-share sources for definition updates. Specify sources as a bracketed sequence of Universal Naming Convention (UNC) locations, separated by the pipeline symbol; for example, { \\Server01\Share01 | \\Server02\Share02 | \\Server03\Share03}. If you specify a value for this parameter, Windows Defender attempts to connect to the shares in the order that you specify. After Windows Defender updates a definition, it stops attempting to connect to shares on the list. If you do not specify a value for this parameter, the list is empty.

エイリアス

sigdufss

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureDisableUpdateOnStartupWithoutEngine<Boolean>

Indicates whether to initiate definition updates even if no antimalware engine is present. If you specify a value of $True or do not specify a value, Windows Defender initiates definition updates on startup. If you specify a value of $False, and if no antimalware engine is present, Windows Defender does not initiate definition updates on startup.

エイリアス

sigduoswo

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureFallbackOrder<String>

Specifies the order in which to contact different definition update sources. Specify the types of update sources in the order in which you want Windows Defender to contact them, enclosed in braces and separated by the pipeline symbol; for example, { InternalDefinitionUpdateServer | MicrosoftUpdateServer | MMPC }. The values that you can specify in the string are:

-- InternalDefinitionUpdateServer
-- MicrosoftUpdateServer
-- MMPC
-- FileShares

MMPC refers to Microsoft Malware Protection Center.

If you specify a value for this parameter, Windows Defender contacts the definition update sources in the specified order. After Windows Defender downloads definition updates from a source, it stops attempting to connect to other sources. If you do not specify a value for this parameter, Windows Defender contacts sources in the default order of { MicrosoftUpdateServer | MMPC }.

エイリアス

sfo

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureFirstAuGracePeriod<UInt32>

Specifies a grace period, in minutes, for the definition. If a definition successfully updates within this period, Windows Defender abandons any service initiated updates. This parameter overrides the value of the CheckForSignaturesBeforeRunningScan parameter.

エイリアス

sigfagp

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureScheduleDay<Day>

Specifies the day of the week on which to check for definition updates. Alternatively, specify everyday for a scheduled scan or never. このパラメーターに対して使用できる値:

-- 0: Everyday
-- 1: Sunday
-- 2: Monday
-- 3: Tuesday
-- 4: Wednesday
-- 5: Thursday
-- 6: Friday
-- 7: Saturday
-- 8: Never

The default value is 8, never. If you specify a value of 8 or do not specify a value, Windows Defender checks for definition updates by using a default frequency.

エイリアス

sigsd

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureScheduleTime<DateTime>

Specifies the time of day, as the number of minutes after midnight, to check for definition updates. The time refers to the local time on the computer. If you do not specify a value for this parameter, Windows Defender checks for definition updates at the default time of 15 minutes before the scheduled scan time.

エイリアス

sigst

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureUpdateCatchupInterval<UInt32>

Specifies the number of days after which Windows Defender requires a catch-up definition update. If you do not specify a value for this parameter, Windows Defender requires a catch-up definition update after the default value of one day.

エイリアス

siguci

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-SignatureUpdateInterval<UInt32>

Specifies the interval, in hours, at which to check for definition updates. このパラメーターに対して使用できる値: integers from 1 through 24. If you do not specify a value for this parameter, Windows Defender checks at the default interval. You can use this parameter instead of the SignatureScheduleDay parameter and SignatureScheduleTime parameter.

エイリアス

sigui

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ThreatIDDefaultAction_Actions<ThreatAction[]>

Specifies an array of the actions to take for the IDs specified by using the ThreatIDDefaultAction_Ids parameter. このパラメーターに対して使用できる値:

-- 1: Clean
-- 2: Quarantine
-- 3: Remove
-- 4: Allow
-- 8: UserDefined
-- 9: NoAction
-- 10: Block

エイリアス

tiddefaca

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ThreatIDDefaultAction_Ids<Int64[]>

Specifies an array of threat IDs. The cmdlet modifies the default action for the threat IDs that you specify.

エイリアス

tiddefaci

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-UILockdown<Boolean>

Indicates whether to disable UI lockdown mode. If you specify a value of $True, Windows Defender disables UI lockdown mode. If you specify $False or do not specify a value, UI lockdown mode is enabled.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-UnknownThreatDefaultAction<ThreatAction>

Specifies which automatic remediation action to take for an unknown level threat. このパラメーターに対して使用できる値:

-- Quarantine
-- Remove
-- Ignore

エイリアス

unktdefac

必須?

false

位置は?

named

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

Example 1: Schedule to check for definition updates everyday

This command configures preferences to check for definition updates everyday.

PS C:\> Set-MpPreference -SignatureScheduleDay Everyday

Example 2: Schedule a time of day to check for definition updates

This command configures preferences to check for definition updates 120 minutes after midnight on days when it is scheduled to check.

PS C:\> Set-MpPreference -SignatureScheduleTime 120

関連トピック

Add-MpPreference

Get-MpPreference

Remove-MpPreference