Funzioni relative alle lettere dei drive in Powershell
Have you ever looked at the functions available to you in PowerShell?
Get-ChildItem function:
shows the list of functions currently available in your PowerShell session.
function: is a PowerShell drive. Other drives are available:
£ Get-PSDrive
These drives are created by PowerShell providers – functionality that exposes data stores as if they were file systems. Other providers include AD, SQL Server and IIS if you have those installed.
The function drive enables you to work directly with functions. You can view their details:
£ get-command c: | fl *
In this case the information is minimal because all the function does is set your location to the c: drive.
The important part is that you can investigate functions as you will see later
Discussione
Non c'è ancora nessun commento.