Skip to content

heinz-otto/Powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Powershell

Some Scripts for tasks for automation windows.

The scripts should be documented with comments and usage blocks.

Run Scripts without "run a script"

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

Download all Scripts in this Repository

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

Download a single Script

wget -Outfile ssh-copy-id.ps1 https://raw.githubusercontent.com/heinz-otto/Powershell/master/ssh-copy-id.ps1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published