Skip to content
kantholyPublic

About

Powershell Management Utilities & Scripts

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Powershell Utilities & Scripts Collection

(c) 2024, Tobias Düthorn

This repo is my digital brain extension, the purpose is to collect and share some common powershell scripts and lines in order to make my life as a sysadmin easier.

App Installer

Caution

Please do not run these commands without checking the files first
Trusting random strangers of the internet is the worst idea you can do!

You have been warned.

7-zip

$installer = Join-Path $env:TEMP "installer.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/kantholy/psmgmt/refs/heads/master/apps/7zip.ps1 -OutFile $installer
. $installer

Firefox

$installer = Join-Path $env:TEMP "installer.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/kantholy/psmgmt/refs/heads/master/apps/firefox.ps1 -OutFile $installer
. $installer

PowerShell

# official Microsoft OneLine installer:
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"

# custom:
$installer = Join-Path $env:TEMP "installer.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/kantholy/psmgmt/refs/heads/master/apps/powershell.ps1 -OutFile $installer
. $installer

Note

available flags:

  • -updateonly only updates app if installed already
  • -autoupdate:$false (sometimes) prevents the installation auto update logic

About

Powershell Management Utilities & Scripts

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages