Showing results for System.Environment - PowerShell Team

Dec 15, 2008
0
0

Mount-SpecialFolders.ps1

PowerShell Team
PowerShell Team

The other day I showed you how you can use ENUMs.  I showed an example of how you can find all the SPECIALFOLDERs on a system.  Here is a script that I call Mount-SpecialFolders.ps1 which mounts all your special folders as PowerShell drives.   # Mount-SpecialFolders.ps1 # param($Folder="*", [SWITCH]$Verbose, [...

System.EnvironmentMount-SpecialFolders
Dec 14, 2008
0
0

What the Heck is an ENUM?

Radhika Tadinada [MSFT]
Radhika Tadinada [MSFT]

In my latest post Explore your [Environment] I said the following: PS> [System.Environment+SpecialFolder] IsPublic IsSerial Name                                     ...

HowToSystem.EnvironmentEnum
Dec 13, 2008
0
0

Explore Your [Environment]

PowerShell Team
PowerShell Team

This topic is a little long but I strongly encourage you to walk through it and master the techniques it illustrates.  I can assure you that you'll will use them a couple thousand times in the next couple of years. .Net provides a wonderful class called System.Environment that tells you all about your environment.  It is well worth ...

HowToSystem.EnvironmentGet-Member

Feedback