Skip to content

Instantly share code, notes, and snippets.

@NICKSAUNDERS
Created November 23, 2020 09:29
Show Gist options
  • Save NICKSAUNDERS/0108ec8744bc9970df3069feebec4d57 to your computer and use it in GitHub Desktop.
Save NICKSAUNDERS/0108ec8744bc9970df3069feebec4d57 to your computer and use it in GitHub Desktop.
PS /home/nicholas>
PS /home/nicholas> Get-PSProvider
Name Capabilities Drives
---- ------------ ------
Alias ShouldProcess {Alias}
Environment ShouldProcess {Env}
FileSystem Filter, ShouldProcess, Credentials {Temp, /}
Function ShouldProcess {Function}
Variable ShouldProcess {Variable}
PS /home/nicholas>
PS /home/nicholas> New-PSDrive
cmdlet New-PSDrive at command pipeline position 1
Supply values for the following parameters:
Name: foo
PSProvider: FileSystem
Root: /home/nicholas/
Name Used (GB) Free (GB) Provider Root CurrentLocation
---- --------- --------- -------- ---- ---------------
foo 149.53 764.92 FileSystem /home/nicholas/
PS /home/nicholas>
PS /home/nicholas> Remove-PSDrive
cmdlet Remove-PSDrive at command pipeline position 1
Supply values for the following parameters:
Name[0]: foo
Name[1]:
PS /home/nicholas>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment