-
Notifications
You must be signed in to change notification settings - Fork 82
PowerPlan
dscbot edited this page Dec 11, 2022
·
8 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes'. | Yes |
Name | Required | String | The name or GUID of the power plan to activate. | |
IsActive | Read | Boolean | Determines if the power plan is active. |
The resource allows specifying a power plan to activate.
This examples sets the active power plan to the 'High performance' plan.
Configuration PowerPlan_SetPowerPlan_Config
{
Import-DscResource -ModuleName ComputerManagementDsc
Node localhost
{
PowerPlan SetPlanHighPerformance
{
IsSingleInstance = 'Yes'
Name = 'High performance'
}
}
}
- Computer
- IEEnhancedSecurityConfiguration
- OfflineDomainJoin
- PendingReboot
- PowerPlan
- PowerShellExecutionPolicy
- PSResourceRepository
- RemoteDesktopAdmin
- ScheduledTask
- SmbServerConfiguration
- SmbShare
- SystemLocale
- SystemProtection
- SystemRestorePoint
- TimeZone
- UserAccountControl
- VirtualMemory
- WindowsCapability
- WindowsEventLog