System.Environment+SpecialFolder enum can be used in the method namespace in shell.automation. [System.Enum]::GetValues('System.Environment+SpecialFolder') | foreach-object {
'{0,2} {1,-30} {2}' -f $_.value__, $_.ToString(), [Environment]::GetFolderPath($_)
}
UserProfile, can be queried using the GetFolderPath() method of System.Environment: PS C:\> [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::UserProfile) C:\Users\Rene
SpecialFolder enumeration seem can be modified in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders.