Powershell basics
powershell help
powershell aliases
powershell package provider
powershell package provider chocolatey
# start powershell as administrator
Start-Process powershell -Verb runAs
# A powershell command is called cmdlet (commandlet).
# Powershell cmdlets consists of
<verb> - <noun> <parameter>
verb: get, set, find, show, new, add, read...
noun: computerinfo, date, culture...
# find a cmdlet for your needs
get-command *service*
Use TAB get a complete noun after 3 signs .
common verbs (Microsoft)
# query history
history, or get-history
# use command from history
Invoke-History 56
# get powershell version
$PSVersionTable
# or
Get-Host
# Modules
# Modules consist of navigationprovider, commandlets, function, workflows, varialbles, aliases
# powershell-modules are summarized in online repositories
# modules are loaded and stored in DLL-files in
# C:\Windows\System32\WindowsPowerShell\v1.0\Modules>
# C:\Program Files\WindowsPowerShell\Modules>
# packages
# modules contains packages and thus the real commandlets, function, workflows, varialbles, aliases
common parameters