Partager via


RestartComputerCommand.Force Property

Definition

Using Force in conjunction with Reboot on a remote computer immediately reboots the remote computer.

public:
 property System::Management::Automation::SwitchParameter Force { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public System.Management.Automation.SwitchParameter Force { get; set; }
[System.Management.Automation.Alias(new System.String[] { "f" })]
[System.Management.Automation.Parameter]
public System.Management.Automation.SwitchParameter Force { get; set; }
member this.Force : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Alias(new System.String[] { "f" })>]
[<System.Management.Automation.Parameter>]
member this.Force : System.Management.Automation.SwitchParameter with get, set
Public Property Force As SwitchParameter

Property Value

Attributes

Applies to