Category: PowerShell

PowerShell: List All Hyper-V Virtual Machines Along With The Connected Switch

Here is a useful PowerShell script, that I have used and is fairly easy to figure, but as ever I like to make a note of it somewhere so this is a good a place as any.  So my issue was initially that I wanted to find out which of my VM’s were connected to…



PowerShell Script to connect iSCSI Targets

On my old blog, I previously posted this script which I haven’t used in a while but really needed this script to connect four Hyper-V hosts to some iSCSI storage.  Doing the process manually would have taken me about an hour of work, and in the future if the hosts needed to be rebuilt then…



Remotely Disable Windows Firewall with Powershell

Today I have just been setting up a Server in a new Datacentre that I had previously setup and configured with all correct IP’s and had RDP enabled.  For some reason, when installing the Server and powering it on I could not RDP onto the Server as the Server had moved the location into the…