ComputerInfo.CsPowerState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Current power state of a computer and its associated operating system.
public:
property Nullable<Microsoft::PowerShell::Commands::PowerState> CsPowerState { Nullable<Microsoft::PowerShell::Commands::PowerState> get(); };
public Microsoft.PowerShell.Commands.PowerState? CsPowerState { get; }
member this.CsPowerState : Nullable<Microsoft.PowerShell.Commands.PowerState>
Public ReadOnly Property CsPowerState As Nullable(Of PowerState)