Share via


PSSessionConfigurationCommandBase.NoServiceRestart Property

Definition

If true, then the cmdlet will not attempt to restart WinRM service after completion. Typically WinRM service need to be restarted for changes to take place.

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

Property Value

Attributes

Applies to