Tag: script

Get name of the PowerShell script file inside the script

Microsoft, Microsoft Azure, PowerShell, Windows, Windows Server • 9 Comments

When you create a PowerShell script you sometimes want to create some output for a log file for...
Read More Read More: Get name of the PowerShell script file inside the script

Sort Windows Network Adapter by PCI Slot via PowerShell

Hardware, Microsoft, Microsoft Azure, PowerShell, Virtualization, Windows, Windows Server • 4 Comments

If you work with Windows, Windows Server or Hyper-V you know that before Windows Server 2012 Windows named the network adapters randomly....
Read More Read More: Sort Windows Network Adapter by PCI Slot via PowerShell

Configure Hyper-V Host Network Adapters Like A Boss

Microsoft, PowerShell, Virtualization, Windows, Windows Server • 5 Comments

If you are working a lot with Hyper-V and Hyper-V Clustering you know that something that takes a lot of time is configure the Hyper-V...
Read More Read More: Configure Hyper-V Host Network Adapters Like A Boss

Run Remote Powershell Commands on multiple standalone Computers

Microsoft, PowerShell, Windows, Windows Server

With this little Powershell Script you can run Powershell Commands on multiple Remotehosts even if...
Read More Read More: Run Remote Powershell Commands on multiple standalone Computers

Powershell: Send Tweet

Microsoft, PowerShell • 4 Comments

For some reason your Powershell script should send a Tweet. With this function Powershell will send a message to Twitter. function...
Read More Read More: Powershell: Send Tweet

Powershell: Invoke-Expression

Microsoft, PowerShell • One Comment

Using the Invoke-Expression Cmdlet: The Invoke-Expression cmdlet provides one way to run a script from within Windows PowerShell....
Read More Read More: Powershell: Invoke-Expression
Close Search Window
Close