Some Scripts for tasks for automation windows.
The scripts should be documented with comments and usage blocks.
Download Script from Web and pipe script content trough stdin.
powershell -nop -c (Invoke-WebRequest -Uri https://raw.githubusercontent.com/heinz-otto/Powershell/master/ChangeVariableInsideScript.ps1).content|powershell -
Call local script with extra Parameter
C:\WINDOWS\System32\WindowsPowerShell\v1.0\PowerShell.exe -ExecutionPolicy Bypass -File C:\tools\scripts\StartePraxis.ps1
Invoke-WebRequest 'https://github.com/heinz-otto/Powershell/archive/refs/heads/master.zip' -OutFile .\Powershell.zip
Expand-Archive .\Powershell.zip .\
Rename-Item .\Powershell-master .\Powershell
Remove-Item .\Powershell.zip
wget -Outfile ssh-copy-id.ps1 https://raw.githubusercontent.com/heinz-otto/Powershell/master/ssh-copy-id.ps1