Prev | Current Page 76 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"

NET programs that present the data
from each store in a consistent format. The following table describes the default providers in a standard
deployment of Exchange Management Shell.
Provider Data Store Description
Alias Windows PowerShell Alias Predefined and user - defined aliases
Certificate X509 Certificates Certificates used for digital signatures and
data encryption
Environment Windows Environment Variables Operating system environment variables
FileSystem File System Drives Fixed, removable, and mapped drives
Table continued on following page
Part I: PowerShell for Exchange Fundamentals
44
Provider Data Store Description
Function Windows PowerShell Functions Predefined and user - defined functions
Registry Windows Registry Both HKEY_CURRENT_USER and HKEY_
LOCAL_MACHINE Registry keys
Variable Windows PowerShell Variables Predefined and user - defined variables
To access the data in any Windows PowerShell drive, simply provide a path that includes the drive name
followed by a colon ( : ). For example, the following command is used to list the environment variables in
the Env drive that start with the word User :
[PS] C:\ > dir env:\user*
Name Value
---- -----
USERDOMAIN EXCHEXCH
USERDNSDOMAIN EXCHANGEEXCHANGE.LOCAL
USERPROFILE C:\Documents and Settings\exadmin
USERNAME exadmin
To change from the current location to another drive, use the Set-Location command or one of its
aliases followed by the full path as shown in this example that sets the location to the Services key:
[PS] C:\ > cd HKLM:\SYSTEM\CurrentControlSet\Services
[PS] HKLM:\SYSTEM\CurrentControlSet\Services >
To navigate from any of the non - file drives back to a file drive, simply type the drive letter followed by a
colon.


Pages:
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
blog Odżywki imprezy integracyjne warszawa nieruchomości kielce ogrody