Powershell Providers Psdrive Manage Files and Folders

Set working directory

Set-Location -Path C:\Windows\

PS providers

get loaded providers

Get-PSProvider

Get available PSDrives

Get-PSDrive

Alias                                  Alias
C                  85,15        137,93 FileSystem    C:\
Cert                                   Certificate   \
D                   0,33          0,15 FileSystem    D:\
E                 251,40        680,11 FileSystem    E:\
Env                                    Environment
Function                               Function
G                  44,33         29,71 FileSystem    G:\
H                                      FileSystem    H:\
HKCU                                   Registry      HKEY_CURRENT_USER
HKLM                                   Registry      HKEY_LOCAL_MACHINE
Variable                               Variable
WSMan                                  WSMan

Create new PS drive

New-PSDrive Install FileSystem \\biz-dc1\Install

Registry

cd hklm:
cd .\SYSTEM\CurrentControlSet\Services\Browser\
dir


    Hive: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser


Name                           Property
----                           --------
Parameters                     MaintainServerList     : Auto
                               ServiceDll             : C:\WINDOWS\System32\browser.dll
                               ServiceDllUnloadOnStop : 1
Security                       Security : {1, 0, 20, 128...}

Environment

$env:computername

dir env: