PackageDeployment Module Help

Package Deployment Module

Test-OnBattery Cmdlet

Version 4.0.0.5

Test-OnBattery

Synopsis

Checks if the computer is running on battery power or is connected to a power supply

Syntax

Test-OnBattery [<CommonParameters>]

Description

Checks if the computer is running on battery power or is connected to a power supply. 

Parameters

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".