Sdílet prostřednictvím


NewPSDriveCommand.Persist Property

Definition

Gets or sets the Persist Switch parameter. If this switch parmter is set then the created PSDrive would be persisted across PowerShell sessions.

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

Property Value

Attributes

Applies to