Share via


NewPSSessionOptionCommand.NoMachineProfile Property

Definition

If true then Operating System won't load the user profile (i.e. registry keys under HKCU) on the remote server which can result in a faster session creation time. This option won't have any effect if the remote machine has already loaded the profile (i.e. in another session).

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

Property Value

Attributes

Applies to