RestartComputerCommand.Force 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.
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