The .NET Environment class can provide the paths to common folders like a user desktop:
Environment]::GetFolderPath("Desktop")
Use this line to get a list of allowed folder names:
[Enum]::GetNames([System.Environment+SpecialFolder])
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
by ps1Aug 5, 2010
The .NET Environment class can provide the paths to common folders like a user desktop:
Use this line to get a list of allowed folder names: