Skip to content

Latest commit

 

History

History
53 lines (46 loc) · 4.66 KB

README.md

File metadata and controls

53 lines (46 loc) · 4.66 KB

powershell.scripts

PowerShell scripts @alexinslc(me) and other coworkers have created for various #sysadmin and #devops tasks.

script.descriptions

Please NOTE: Most of these scripts are verified using MacOS Big Sur, Windows 11, and PowerShell v7.2.1

Script Description
Invoke-DevSetup.ps1 Quick setup script for a laptop supports Win/Mac and many package managers

older.script.descriptions

Please NOTE: These older scripts are verified using Windows 8 / 2012 R2 and PowerShell v4+ and I should probably test / refactor them.

Script Description
Get-InstalledPrograms.ps1 Get a list of installed programs, versions, (x32, x64, or both.)
Posh-MissyWix.ps1 Create .msi files using the [WiX Toolset] and PowerShell.
Get-OrphanedVHDs.ps1 Find orphaned VHD(x) Files.
Invoke-SSHCommand.ps1 Run SSH Commands via PowerShell to Linux boxes.
ConfigureNLB.ps1 Create and Configure MS Network Load Balancer.
Test-IsAwake.ps1 Test if a computer is awake via PowerShell, SMB Share, or SSH.
Get-NICBindings.ps1 Get an array of Network Adapters (objects) in Binding order.
Set-NICBindings.ps1 Set the binding order of Network Adapters.
Send-Email.ps1 Send an e-mail. (For PowerShell v2)
Set-ServiceCreds.ps1 Set the credentials on a Windows Service.
Set-ConstrainedDelegation.ps1 Enable Hyper-V Host SMB, Live Migration, and Replication rights.
Set-SMBShares.ps1 Add SMB Shares on Hyper-V Hosts to allow VMs to live on UNC shares.
Get-SQL.ps1 Query a MS SQL Server with PowerShell.
ConvertTo-MacAddress.ps1 Add a delimiter to raw MacAddress.
Get-ICVersions.ps1 Get list of Integration Component Versions on Hyper-V 2012 +