Powershell: Difference between revisions

From miki
Jump to navigation Jump to search
Line 1: Line 1:
== Links ==
== Links ==
* [https://learnxinyminutes.com/docs/powershell/ Learn powershell in Y minutes]
* [https://learnxinyminutes.com/docs/powershell/ Learn powershell in Y minutes] — A '''MUST-READ''' to learn rapidly.

== Reference ==
<source lang="powershell">
# Documentation
Update-Help # Update help system - better run as Administrator
Help Test-Path # Get help on a command
</source>


== Tips ==
== Tips ==

Revision as of 10:50, 22 February 2022

Links

Reference

# Documentation
Update-Help          # Update help system - better run as Administrator
Help Test-Path       # Get help on a command

Tips

Measure execution time of a command

Measure-Command { dir }
Measure-Command { dir | Out-default}   # To get output
Measure-Command { choco list }