Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Determine If PowerShell Command Exists

$
0
0

Summary: Use Get-Help to determine if a Windows PowerShell command exists.

Hey, Scripting Guy! Question How can I find if a Windows PowerShell command (cmdlet or function) exists in my version of Windows PowerShell?

Hey, Scripting Guy! Answer Use the Get-Help cmdlet. If Help returns, you can read about the command.
          If it does not return, follow up with Get-Command:

get-help my-coolfunction

get-command my-coolfunction


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>