PowerPlanTools

2025.5.3.1730

PowerShell module for managing Windows power plans and power settings

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PowerPlanTools

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PowerPlanTools

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Grace Solutions. All rights reserved.

Package Details

Author(s)

  • Grace Solutions

Tags

Power Battery Settings WMI

Cmdlets

Compare-PowerPlans Export-PowerSettings Find-PowerSetting Find-SubGroup Get-PowerPlan Get-PowerPlanStatistic Get-PowerSetting Get-PowerState Import-PowerSettings New-PowerPlan Remove-PowerPlan Reset-PowerPlanDefaults Set-PowerPlan Set-PowerState Test-PowerPlanTools Update-PowerSetting

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

- Added centralized logging with timestamps and counters
- Enhanced Find-PowerSetting cmdlet with case-insensitive regex and wildcard pattern support
- Added Import-PowerSettings cmdlet to import settings from JSON, CSV, and XML files
- Renamed Export-PowerSetting to Export-PowerSettings for consistency (plural form)
- Added automatic directory creation for export paths
- Changed _IsActive property to IsActive for better naming convention
- Added Get-PowerState and Set-PowerState cmdlets for managing power state settings
- Improved power setting GUID-to-alias mapping for better readability
- Added comprehensive power setting aliases for all known power settings
- Enhanced subgroup GUID-to-alias mapping for better organization
- Added Find-SubGroup cmdlet to search for power subgroups
- Added SubGroupAlias property to PowerSetting class
- Fixed duplicate verbose messages in cmdlets that use ShouldProcess
- Always include settings when getting power plans (no opt-in required)
- Always include possible values for power settings with FriendlyName and ActualValue properties
- Completely removed WMI usage in favor of Windows Power Management API
- Added default possible values for common power settings

FileList

Version History

Version Downloads Last updated
2025.5.3.1730 (current version) 9 5/4/2025