February 2019
Intermediate to advanced
626 pages
15h 51m
English
As we saw previously, providers may be accessed in the same way as the filesystem. Commands we might traditionally think of as filesystem commands (such as Get-ChildItem, New and Remove-Item, Get and Set-Acl, and Get and Set-ItemProperty) can work with data presented by a provider.
The list of parameters for the filesystem commands changes depending on the provider. The affected parameters are detailed in the help files for individual providers.
If we look at the FileSystem provider help file (Get-Help FileSystem), we can see that Get-ChildItem has a file switch parameter that can be used to filter files only:
-File <System.Management.Automation.SwitchParameter> Gets files. The File parameter was introduced in Windows PowerShell ...
Read now
Unlock full access