共用方式為


EnablePSRemotingCommand.Force Property

Definition

Property that sets force parameter. This will allow configuring the WinRM and enabling the session configurations without prompting the user.

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.Parameter]
public System.Management.Automation.SwitchParameter Force { get; set; }
member this.Force : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Parameter>]
member this.Force : System.Management.Automation.SwitchParameter with get, set
Public Property Force As SwitchParameter

Property Value

Attributes

Applies to