1.

Describe what is Powershell Get-command?

Answer»

The Get-COMMAND cmdlet ACQUIRES all commands that are performed on the computer, such as functions, CMDLETS, aliases, applications, filters, and scripts. Get-Command fetches the commands from PowerShell commands and MODULES that were imported from other SESSIONS

Example: Get commands in the current session

This command utilizes the ListImported parameter to obtain only the commands in the current session.

PowerShellCopyGet-Command -ListImported


Discussion

No Comment Found