Set-CMSite

Configure a Configuration Manager site.

Syntax

Set-CMSite
   [-AddActiveDirectoryForest <IResultObject[]>]
   [-AddCertificateByPath <String[]>]
   [-AddClientRequestServiceType <ClientRequestServiceType>]
   [-ClientCertificateCustomStoreName <String>]
   [-ClientCertificateSelectionCriteriaType <ClientCertificateSelectionCriteriaType>]
   [-ClientCertificateSelectionCriteriaValue <String>]
   [-ClientCheckCertificateRevocationListForSiteSystem <Boolean>]
   [-ClientComputerCommunicationType <ClientComputerCommunicationType>]
   [-Comment <String>]
   [-ConcurrentSendingDelayBeforeRetryingMins <Int32>]
   [-EnableLowFreeSpaceAlert <Boolean>]
   [-EnableWakeOnLan <Boolean>]
   [-FreeSpaceThresholdCriticalGB <Int32>]
   [-FreeSpaceThresholdWarningGB <Int32>]
   -InputObject <IResultObject>
   [-MaximumConcurrentSendingForAllSite <Int32>]
   [-MaximumConcurrentSendingForPerSite <Int32>]
   [-MaximumNumberOfSendingWakeupPacketBeforePausing <Int32>]
   [-PassThru]
   [-PortForClientRequestServiceType <Int32>]
   [-PromotePassiveSiteToActive]
   [-RemoveActiveDirectoryForest <IResultObject[]>]
   [-RemoveCertificateByKey <String[]>]
   [-RemoveClientRequestServiceType <ClientRequestServiceType>]
   [-RequireSha256 <Boolean>]
   [-RequireSigning <Boolean>]
   [-RetryInstallPassiveSite]
   [-RetryNumberForConcurrentSending <Int32>]
   [-RetryNumberOfSendingWakeupPacketTransmission <Int32>]
   [-SendingWakeupPacketBeforePausingWaitSec <Int32>]
   [-SendingWakeupPacketTransmissionDelayMins <Int32>]
   [-SendingWakeupPacketTransmissionOffsetMins <Int32>]
   [-SiteSystemCollectionBehavior <CollectionBehaviorType>]
   [-TakeActionForMultipleCertificateMatchCriteria <TakeActionForMultipleCertificateMatchCriteria>]
   [-ThreadNumberOfSendingWakeupPacket <Int32>]
   [-ThresholdOfSelectCollectionByDefault <Int32>]
   [-ThresholdOfSelectCollectionMax <Int32>]
   [-UseCustomWebsite <Boolean>]
   [-UseEncryption <Boolean>]
   [-UsePkiClientCertificate <Boolean>]
   [-UseSmsGeneratedCert <Boolean>]
   [-WakeOnLanTransmissionMethodType <WakeOnLanTransmissionMethodType>]
   [-WakeOnLanType <WakeOnLanType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMSite
   [-AddActiveDirectoryForest <IResultObject[]>]
   [-AddCertificateByPath <String[]>]
   [-AddClientRequestServiceType <ClientRequestServiceType>]
   [-ClientCertificateCustomStoreName <String>]
   [-ClientCertificateSelectionCriteriaType <ClientCertificateSelectionCriteriaType>]
   [-ClientCertificateSelectionCriteriaValue <String>]
   [-ClientCheckCertificateRevocationListForSiteSystem <Boolean>]
   [-ClientComputerCommunicationType <ClientComputerCommunicationType>]
   [-Comment <String>]
   [-ConcurrentSendingDelayBeforeRetryingMins <Int32>]
   [-EnableLowFreeSpaceAlert <Boolean>]
   [-EnableWakeOnLan <Boolean>]
   [-FreeSpaceThresholdCriticalGB <Int32>]
   [-FreeSpaceThresholdWarningGB <Int32>]
   [-MaximumConcurrentSendingForAllSite <Int32>]
   [-MaximumConcurrentSendingForPerSite <Int32>]
   [-MaximumNumberOfSendingWakeupPacketBeforePausing <Int32>]
   -Name <String>
   [-PassThru]
   [-PortForClientRequestServiceType <Int32>]
   [-PromotePassiveSiteToActive]
   [-RemoveActiveDirectoryForest <IResultObject[]>]
   [-RemoveCertificateByKey <String[]>]
   [-RemoveClientRequestServiceType <ClientRequestServiceType>]
   [-RequireSha256 <Boolean>]
   [-RequireSigning <Boolean>]
   [-RetryInstallPassiveSite]
   [-RetryNumberForConcurrentSending <Int32>]
   [-RetryNumberOfSendingWakeupPacketTransmission <Int32>]
   [-SendingWakeupPacketBeforePausingWaitSec <Int32>]
   [-SendingWakeupPacketTransmissionDelayMins <Int32>]
   [-SendingWakeupPacketTransmissionOffsetMins <Int32>]
   [-SiteSystemCollectionBehavior <CollectionBehaviorType>]
   [-TakeActionForMultipleCertificateMatchCriteria <TakeActionForMultipleCertificateMatchCriteria>]
   [-ThreadNumberOfSendingWakeupPacket <Int32>]
   [-ThresholdOfSelectCollectionByDefault <Int32>]
   [-ThresholdOfSelectCollectionMax <Int32>]
   [-UseCustomWebsite <Boolean>]
   [-UseEncryption <Boolean>]
   [-UsePkiClientCertificate <Boolean>]
   [-UseSmsGeneratedCert <Boolean>]
   [-WakeOnLanTransmissionMethodType <WakeOnLanTransmissionMethodType>]
   [-WakeOnLanType <WakeOnLanType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMSite
   [-AddActiveDirectoryForest <IResultObject[]>]
   [-AddCertificateByPath <String[]>]
   [-AddClientRequestServiceType <ClientRequestServiceType>]
   [-ClientCertificateCustomStoreName <String>]
   [-ClientCertificateSelectionCriteriaType <ClientCertificateSelectionCriteriaType>]
   [-ClientCertificateSelectionCriteriaValue <String>]
   [-ClientCheckCertificateRevocationListForSiteSystem <Boolean>]
   [-ClientComputerCommunicationType <ClientComputerCommunicationType>]
   [-Comment <String>]
   [-ConcurrentSendingDelayBeforeRetryingMins <Int32>]
   [-EnableLowFreeSpaceAlert <Boolean>]
   [-EnableWakeOnLan <Boolean>]
   [-FreeSpaceThresholdCriticalGB <Int32>]
   [-FreeSpaceThresholdWarningGB <Int32>]
   [-MaximumConcurrentSendingForAllSite <Int32>]
   [-MaximumConcurrentSendingForPerSite <Int32>]
   [-MaximumNumberOfSendingWakeupPacketBeforePausing <Int32>]
   [-PassThru]
   [-PortForClientRequestServiceType <Int32>]
   [-PromotePassiveSiteToActive]
   [-RemoveActiveDirectoryForest <IResultObject[]>]
   [-RemoveCertificateByKey <String[]>]
   [-RemoveClientRequestServiceType <ClientRequestServiceType>]
   [-RequireSha256 <Boolean>]
   [-RequireSigning <Boolean>]
   [-RetryInstallPassiveSite]
   [-RetryNumberForConcurrentSending <Int32>]
   [-RetryNumberOfSendingWakeupPacketTransmission <Int32>]
   [-SendingWakeupPacketBeforePausingWaitSec <Int32>]
   [-SendingWakeupPacketTransmissionDelayMins <Int32>]
   [-SendingWakeupPacketTransmissionOffsetMins <Int32>]
   [-SiteCode <String>]
   [-SiteSystemCollectionBehavior <CollectionBehaviorType>]
   [-TakeActionForMultipleCertificateMatchCriteria <TakeActionForMultipleCertificateMatchCriteria>]
   [-ThreadNumberOfSendingWakeupPacket <Int32>]
   [-ThresholdOfSelectCollectionByDefault <Int32>]
   [-ThresholdOfSelectCollectionMax <Int32>]
   [-UseCustomWebsite <Boolean>]
   [-UseEncryption <Boolean>]
   [-UsePkiClientCertificate <Boolean>]
   [-UseSmsGeneratedCert <Boolean>]
   [-WakeOnLanTransmissionMethodType <WakeOnLanTransmissionMethodType>]
   [-WakeOnLanType <WakeOnLanType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Use the Set-CMSite cmdlet to configure one or more Configuration Manager sites. You can specify a site to configure by using a site name or a site code, or you can use the Get-CMSite cmdlet to specify a site.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Add a new Active Directory forest

This command adds a new Active Directory forest to which the site is published.

$newForest = New-CMActiveDirectoryForest -ForestFqdn "tsqa.contoso.com"

Set-CMSite -SiteCode "XYZ" -AddActiveDirectoryForest $newForest

Example 2: Change the warning alert threshold for free disk space

This command changes the warning threshold for free disk space on the site database server to 15 GB.

Set-CMSite -SiteCode "XYZ" -FreeSpaceThresholdWarningGB 15

Example 3: Promote a site server to active mode

This command first uses the Get-CMSite cmdlet to get the ADC site. It then passes that object through the pipeline to the Set-CMSite cmdlet, which promotes the site server in passive mode to be the active site server.

Get-CMSite -SiteCode "ADC" | Set-CMSite -PromotePassiveSiteToActive

Example 4: Add trusted root certification authorities (CA)

This example adds the certificate in the exported file cc.cer to the XYZ site as a trusted root CA.

Set-CMSite -SiteCode "XYZ" -AddCertificateByPath "D:\Secure\Certs\cc.cer"

Parameters

-AddActiveDirectoryForest

Specifies an array of Active Directory forest objects to which the site is published. To get an Active Directory forest object, use the Get-CMActiveDirectoryForest cmdlet.

Type:IResultObject[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AddCertificateByPath

Specifies an array of paths to trusted root certification authorities.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AddClientRequestServiceType

Specifies a service type to add for a port that Configuration Manager uses to communicate with clients in this site.

Type:ClientRequestServiceType
Accepted values:WakeOnLanUdp, ClientNotificationTcp, ClientRequestHttpTcp, ClientRequestsHttpsTcp, ClientRequestHttpTcpDefault, ClientRequestsHttpsTcpDefault
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientCertificateCustomStoreName

Specify the store name where the client certificate is located in the Computer store when you don't use the default store of Personal.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientCertificateSelectionCriteriaType

Specifies the criteria type to match in a client certificate when more than one certificate is available. Use the -ClientCertificateSelectionCriteriaValue parameter to specify the value.

Type:ClientCertificateSelectionCriteriaType
Accepted values:ClientAuthentication, CertificateSubjectContainsString, CertificateSubjectOrSanIncludesAttributes, CertificateSubjectOrSanIncludesAtrributes
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientCertificateSelectionCriteriaValue

Specifies a value for the -ClientCertificateSelectionCriteriaType parameter.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientCheckCertificateRevocationListForSiteSystem

Indicates whether clients check the Certificate Revocation List (CRL) for site systems.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientComputerCommunicationType

Specifies the communication method for the site systems that use IIS. To use HTTPS, the servers need a valid PKI web server certificate for server authentication.

Type:ClientComputerCommunicationType
Accepted values:HttpsOnly, HttpsOrHttp
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Comment

Specifies a comment for a Configuration Manager site to help identify it.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConcurrentSendingDelayBeforeRetryingMins

A site can send data concurrently to multiple sites. If it needs to retry, this integer value specifies the number of minutes to delay before it retries. By default, the value is 1. Use the -RetryNumberForConcurrentSending parameter to specify the number of retries.

Type:Int32
Aliases:ConcurrentSendingDelayBeforeRetryingMinutes
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnableLowFreeSpaceAlert

Generate an alert when the free disk space on the site database server is low. Use the -FreeSpaceThresholdWarningGB and -FreeSpaceThresholdCriticalGB parameters to specify the specific thresholds.

Type:Boolean
Aliases:GenerateAlertWhenFreeDiskSpaceOnSiteDatabaseIsLow
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnableWakeOnLan

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FreeSpaceThresholdCriticalGB

When -EnableLowFreeSpaceAlert is $true, the site raises a critical alert when the free disk space falls below this value. Specify an integer for the free disk space in GB on the site database server.

Type:Int32
Aliases:CriticalAlertWhenFreeDiskSpaceFallBelowFollowingValueGB
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FreeSpaceThresholdWarningGB

When -EnableLowFreeSpaceAlert is $true, the site raises a warning alert when the free disk space falls below this value. Specify an integer for the free disk space in GB on the site database server.

Type:Int32
Aliases:WarningAlertWhenFreeDiskSpaceFallBelowFollowingValueGB
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specifies a Configuration Manager site object to configure. To get a Configuration Manager site object, use the Get-CMSite cmdlet.

Type:IResultObject
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-MaximumConcurrentSendingForAllSite

A site can send data concurrently to multiple sites. This value specifies the maximum number of simultaneous communications to all sites. By default, the value is 5.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MaximumConcurrentSendingForPerSite

A site can send data concurrently to multiple sites. This value specifies the maximum number of simultaneous communications to any single site. By default, the value is 3.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MaximumNumberOfSendingWakeupPacketBeforePausing

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of a Configuration Manager site to configure.

Type:String
Aliases:SiteName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns an object representing the item with which you're working. By default, this cmdlet may not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PortForClientRequestServiceType

When you use the -AddClientRequestServiceType parameter, use this parameter to specify a port number for client requests.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PromotePassiveSiteToActive

Use this parameter to promote a site server in passive mode to the active site server. For more information, see Site server high availability in Configuration Manager.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoveActiveDirectoryForest

Specifies an array of Active Directory forest objects. When removed, this site doesn't publish to that forest.

Type:IResultObject[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoveCertificateByKey

Specifies an array of certificates to remove.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoveClientRequestServiceType

Specifies a service type to remove as a port that Configuration Manager uses to communicate with clients in this site.

Type:ClientRequestServiceType
Accepted values:WakeOnLanUdp, ClientNotificationTcp, ClientRequestHttpTcp, ClientRequestsHttpsTcp, ClientRequestHttpTcpDefault, ClientRequestsHttpsTcpDefault
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RequireSha256

When clients sign data and communicate with site systems by using HTTP, this option requires the clients to use SHA-256 to sign the data. Clients must support this hash algorithm. This option applies to clients that don't use PKI certificates.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RequireSigning

This option requires that clients sign data when they send to management points.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RetryInstallPassiveSite

Use this parameter to retry the installation for a site server in passive mode that previously failed.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RetryNumberForConcurrentSending

A site can send data concurrently to multiple sites. If it needs to retry, this integer value specifies the number of times to retry a failed communication. By default, the value is 2. Use the -ConcurrentSendingDelayBeforeRetryingMins parameter to specify the delay in minutes before it retries.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RetryNumberOfSendingWakeupPacketTransmission

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SendingWakeupPacketBeforePausingWaitSec

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:Int32
Aliases:SendingWakeupPacketBeforePausingWaitSeconds
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SendingWakeupPacketTransmissionDelayMins

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:Int32
Aliases:SendingWakeupPacketTransmissionDelayMinutes
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SendingWakeupPacketTransmissionOffsetMins

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:Int32
Aliases:SendingWakeupPacketTransmissionOffsetMinutes
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SiteCode

Specifies the Configuration Manager site code to configure.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SiteSystemCollectionBehavior

For deployment verification, specify the behavior to take when the selected collection includes computers that host site systems roles.

  • Block: Don't create the deployment
  • Warn: Require verification before creating the deployment
Type:CollectionBehaviorType
Aliases:BehaviorWhenCollectionIncludesComputerHostSiteSystemRole
Accepted values:Block, Warn
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TakeActionForMultipleCertificateMatchCriteria

Specifies the action to take if multiple certificates match criteria.

Type:TakeActionForMultipleCertificateMatchCriteria
Accepted values:FailSelectionAndSendErrorMessage, SelectCertificateWithLongestValidityPeriod
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ThreadNumberOfSendingWakeupPacket

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ThresholdOfSelectCollectionByDefault

For deployment verification, configure the default collection size limit. The Select Collection window hides collections with membership that exceeds this default value. Specify 0 to disable.

Type:Int32
Aliases:SizeOfCustomCollectionCanSelectByDefault
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ThresholdOfSelectCollectionMax

For deployment verification, configure the maximum collection size limit. The Select Collection window always hides collections that have more members than this maximum size. Specify 0 to disable.

Type:Int32
Aliases:SizeOfCustomCollectionCanSelectMaximum
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UseCustomWebsite

Indicates whether to use a custom web site. By default, Configuration Manager site system servers that require IIS to communicate with clients use the default web site.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UseEncryption

Enable this option to use 3DES to encrypt the client inventory data and state messages that are sent to the management point.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UsePkiClientCertificate

Indicates whether to use a PKI client certificate for client authentication when available.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UseSmsGeneratedCert

Use this parameter to enable or disable the site property to Use Configuration Manager-generated certificates for HTTP site systems. For more information, see Enhanced HTTP.

Type:Boolean
Aliases:UseConfigurationManagerGeneratedCertificateForHttp
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WakeOnLanTransmissionMethodType

Specifies the type of transmission method to use for Wake On LAN transmissions.

Type:WakeOnLanTransmissionMethodType
Accepted values:Unicast, SubnetDirectedBroadcasts
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WakeOnLanType

This parameter is for an earlier version of the feature. Instead, use the client settings for wake on LAN with the Set-CMClientSettingPowerManagement cmdlet.

For more information, see How to configure Wake on LAN in Configuration Manager.

Type:WakeOnLanType
Accepted values:UseAmtPowerOnCommandsOrWakeupPackets, UseAmtPowerOnCommandsOnly, UseWakeupPacketsOnly
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject