Partager via


ComputerInfo.CsPowerState Property

Definition

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)

Property Value

Applies to