Size: 329
Comment:
|
Size: 798
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
# Equivalent of UNIX `which` (Get-Command which).Path |
|
Line 6: | Line 9: |
# Prevent a PowerShell script from quitting so you can read error messages powershell.exe -File Blah.ps1 -NoExit == Choco == {{{#!highlight powershell # These must be done from an admin shell! # Upgrade all currently installed packages choco upgrade all -y }}} |
|
Line 9: | Line 24: |
* [[https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx|Windows PowerShell Profiles]]: Where is the equivalent of .profile or .bashrc on Windows for Powershell? | * [[https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx|Windows PowerShell Profiles]]: Where is the equivalent of .profile or .bashrc on Windows for PowerShell? * https://github.com/Disassembler0/Win10-Initial-Setup-Script: Script to remove stupid defaults and user tracking from Windows 10 |
# Prevent a PowerShell script from quitting so you can read error messages powershell.exe -File Blah.ps1 -NoExit
Choco
External links
Windows PowerShell Profiles: Where is the equivalent of .profile or .bashrc on Windows for PowerShell?
https://github.com/Disassembler0/Win10-Initial-Setup-Script: Script to remove stupid defaults and user tracking from Windows 10