In the following exercises, you’ll explore the use of command-line utilities in Windows PowerShell. You will see that it is as easy to use command-line utilities in Windows PowerShell as in the CMD interpreter; however, by using such commands in Windows PowerShell, you gain access to new levels of functionality.
Using command-line utilities
Open Windows PowerShell by choosing Start | Run | Windows PowerShell. The PowerShell prompt will open by default at the root of your Documents folder.
Change to the C:\root directory by typing cd c:\ inside the PowerShell prompt:
Obtain a listing of all the files in the C:\root directory by using the dir command:
Create a directory off the C:\root directory ...