Cmdlets
The
cmdlet that allows to see the currently available drives is
get-psDrive
.
A new drive is created with new-psDrive
.
Generic cmdlets to work with a drive's content are
-
clear-item
-
copy-item
-
get-childItem
-
get-item
-
invoke-item
-
move-item
-
new-item
-
remove-item
-
rename-item
-
set-item
-
clear-itemProperty
-
copy-itemProperty
-
get-itemProperty
-
move-itemProperty
-
new-itemProperty
-
rename-itemProperty
-
set-itemProperty
The
location (which is the PowerShell lingo for
path) within (or of) a drive is (not very surprisingly) set with
set-location
.