January 2008
Intermediate to advanced
688 pages
19h 12m
English
Once Windows PowerShell is launched, you can use it in the same manner as the Cmd.exe command interpreter. For example, you can use dir to retrieve a directory listing. You can also use cd to change the working directory and then use dir to produce a directory listing just as you would perform these tasks from the CMD shell. This is illustrated in the UsingPowerShell.txt example that follows, which shows the results of using these commands.
Example 1-2. UsingPowerShell.txt
PS C:\Users\edwils> dir Directory: Microsoft.PowerShell.Core\FileSystem::C:\Users\edwils Mode LastWriteTime Length Name ---- ------------- ------ ---- d-r-- 11/29/2006 1:32 PM Contacts d-r-- 4/2/2007 12:51 AM Desktop d-r-- 4/1/2007 6:53 PM Documents ...
Read now
Unlock full access