DSCResources/DSC_PowerPlan/en-US/about_PowerPlan.help.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.NAME
    PowerPlan
 
.DESCRIPTION
    The resource allows specifying a power plan to activate.
 
.PARAMETER IsSingleInstance
    Key - String
    Allowed values: Yes
    Specifies the resource is a single instance, the value must be 'Yes'.
 
.PARAMETER Name
    Required - String
    The name or GUID of the power plan to activate.
 
.PARAMETER IsActive
    Read - Boolean
    Determines if the power plan is active.
 
.EXAMPLE 1
 
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'
        }
    }
}