PowerShell Snippet #2
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
}