Skip to content

PowerShell functions and scripts for various sysadmin / devops tasks

Notifications You must be signed in to change notification settings

nocturneop15/powershell

 
 

Repository files navigation

powershell.scripts

PowerShell scripts @alexinslc(me) and other coworkers have created for various #sysadmin and #devops tasks.
Please NOTE: Most of these scripts are verified using Windows 8 / 2012 R2 and PowerShell v4+

script.descriptions

Trending 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 +

script.todos

  • Node.js based PowerShell script front-end "script-runner".
  • Ruby based PowerShell script front-end "script-runner".
  • PowerShell script for event / log searching across servers.
  • PowerShell script to login and logout as a specific user. (Simulate logon)
  • PowerShell scripts for various databases. (Microsoft SQL, MySQL, MongoDB, etc.)

api.scripts

About

PowerShell functions and scripts for various sysadmin / devops tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%