Skip to content

Commit c28435c

Browse files
committed
Changes to xPowerPlan
Typo in key for localized string Remove require from the .mfl file
1 parent 468bb02 commit c28435c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

DSCResources/MSFT_xPowerPlan/MSFT_xPowerPlan.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function Test-TargetResource
162162

163163
$returnValue = $false
164164

165-
Write-Verbose -Message ($script:localizedData.PowerPlanIsBeingValidate -f $Name)
165+
Write-Verbose -Message ($script:localizedData.PowerPlanIsBeingValidated -f $Name)
166166

167167
$getTargetResourceResult = Get-TargetResource -IsSingleInstance $IsSingleInstance -Name $Name
168168
if ($getTargetResourceResult.Name -eq $Name)

DSCResources/MSFT_xPowerPlan/en-US/MSFT_xPowerPlan.schema.mfl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
class MSFT_xPowerPlan : OMI_BaseResource
33
{
44
[Key, Description("Specifies the resource is a single instance, the value must be 'Yes'") : Amended] String IsSingleInstance;
5-
[Required, Description("The name of the power plan to activate.") : Amended] String Name;
5+
[Description("The name of the power plan to activate.") : Amended] String Name;
66
};

DSCResources/MSFT_xPowerPlan/en-US/MSFT_xPowerPlan.strings.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConvertFrom-StringData @'
55
PowerPlanIsNotActive = The power plan '{0}' is not the active plan.
66
PowerPlanNotFound = Unable to find the power plan '{0}'.
77
PowerPlanIsBeingActivated = Activating power plan '{0}'
8-
PowerPlanIsBeingValidate = Validating power plan '{0}'
8+
PowerPlanIsBeingValidated = Validating power plan '{0}'
99
PowerPlanWasUnableToBeSet = Unable to set the power plan '{0}' to the active plan. Error message: {1}
1010
PowerPlanCIMError = Could not get the Common Information Model (CIM) instances of class {0}
1111
'@

0 commit comments

Comments
 (0)