PowerShell

A collection of powershell what I have done

PowerShell, Hyper-V: Controlling Automatic Start in Batches

#PowerShell #Hyper-V

In my environment, I have a lot of very large hyper-v hosts and each can contain 100+ VM's. These VM's are partly…

Mat Grumpy Tech

PowerShell, Hyper-V: Drain standalone Hyper-V host

#PowerShell #Hyper-V

If you need to drain a non clustered Hyper-v server then you have the lovely shared nothing live migrations tool at your disposal. Of course, its…

Mat Grumpy Tech

Storage: Windows Storage spaces S2D

#Hyper-V #PowerShell #Storage

I have written a guide on testing storage with VM-fleet [https://grumpy.tech/storage-testing-with-vm-fleet/] that goes well with this. Generally speaking when testing something new I…

Mat Grumpy Tech

Powershell : Add Additional IP's

#PowerShell

Today I had to add 40 secondary IP's to a network interface on an IIS server. Here is how you would do that in…

Mat Grumpy Tech