PowerShell Web

PowerShell Web

I’ve had many instances where it was easier to maintain a collection of commonly used PowerShell scripts on a webserver that can be reached from multiple different servers or workstations. Let’s say your .ps1 is called “checkvpn.ps1” We would run the Powershell command “iex ((New-Object System.Net.WebClient).DownloadString(‘http://www.codeisda.com/checkvpn.ps1’))“ Post Views: 814  

WMI and CIM with PowerShell – The Basics
Fixing Domain Trust Relationships!
Mapped Drive with Encrypted Password

I’ve had many instances where it was easier to maintain a collection of commonly used PowerShell scripts on a webserver that can be reached from multiple different servers or workstations.

Let’s say your .ps1 is called “checkvpn.ps1”

We would run the Powershell command “iex ((New-Object System.Net.WebClient).DownloadString(‘http://www.codeisda.com/checkvpn.ps1’))

 

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of