Hello!

Today’s PowerShell snippet is getting the MyDocumentsfolder path of the current user:


$myDocuments = [Environment]::GetFolderPath("MyDocuments")
Write-Host $myDocuments -ForegroundColor Yellow -BackgroundColor Magenta

}

pss2_png