GetPSDriveCommand.PSProvider 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 provider name for the drives that should be retrieved.
public:
property cli::array <System::String ^> ^ PSProvider { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
property Platform::Array <Platform::String ^> ^ PSProvider { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] PSProvider { get; set; }
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName=true)]
public string[] PSProvider { get; set; }
member this.PSProvider : string[] with get, set
[<System.Management.Automation.Parameter(ValueFromPipelineByPropertyName=true)>]
member this.PSProvider : string[] with get, set
Public Property PSProvider As String()
Property Value
String[]
- Attributes
Remarks
If the provider is left empty, all drives will be returned. A globing or regular expression can also be supplied and any drive with providers that match the expression will be returned.