Code and tests
Check the PowerShell module's code or tests directly to understand commands and their working syntax.
Check the code directly
-
Locate a cmdlet's file on your local and check the PowerShell code directly.
-
Review the function and compare the behavior you're experiencing with what the cmdlet should do.
Check existing tests
You can determine a command's working syntax by looking at its unit test .
Most text editors will allow searching for a string across an entire directory, so if you find yourself in a position where you can't quite figure out how to run a given command, try searching for it across the pester directory or the whole module.
Updated 17 days ago