NewPSDriveCommand.Persist 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.
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