19.9. Summary

In Windows PowerShell, you can use fully qualified or relative path names.

When using paired quotation marks or apostrophes with paths that include spaces, you need to use the & character if you intend that the command specified in a path is to be executed.

The get-psdrive cmdlet allows you to explore drives on a system. The get-childitem cmdlet allows you to explore folders and files on a system.

Windows PowerShell supports the creation of custom drives, to increase the convenience of access to frequently used folders with lengthy paths.

PowerShell supports several cmdlets to allow you to work with paths, including the test-path, join-path, and resolve-path cmdlets.

Get Professional Windows® PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.