vSphere: Migrating vSwitch PortGroups and VLANS
KB ID 0001578 Problem Over the past few weeks I’ve been doing some work for a client that involves me adding some new ESX hosts. These will be setup the same as their existing ESX hosts. That’s fine, but they use standard vSwitches and have A LOT of port groups and VLANs. I could sit and create them all manually, and tag them onto the the correct VLANs, but something that’s boring and repetitive is better solved with...
Find All HP iLOs on your Network
KB ID 0001571 Problem I had to find all the HP iLOs on a client network today, I could have got an IP scanner and then sorted the results for HP devices, but I would have ended up with switches, printers and God knows what else! If only there was a PowerShell command I could use? Solution There is! You will need to download it though, (HPiLOCmdlets-x64,) extract them to your C: drive. Here I’m installing them from PowerShell,...
PowerShell Exported CSV is Garbled?
KB ID 0001557 Problem I was exporting a list of enabled Active Directory users to a CSV file for some documentation, the finished article was not what I was expecting; Contents; Microsoft.PowerShell.Commands.Internal.Format.FormatStartData ClassId2e4f51ef21dd47e99d3c952918aff9cd, pageHeaderEntry pageFooterEntry autosizeInfo shapeInfo groupingEntry 033ecb2bc07a4d43b5ef94ed5a35d280...
Windows Adding Firewall Rules With PowerShell
KB ID 0001538 Problem There was a question on Experts Exchange this morning, the asker wanted to be able to add a ‘Trusted’ network range to their Windows Server Firewall settings as a ‘allow all ports’ rule. Solution You can of course add this manually in the GUI, normally I’d simply Add a Firewall Rule with a Group Policy. but the problem with that is, that’s fine if you want to open a particular...
Deploying a ‘Nano’ Webserver (IIS)
KB ID 0001526 Problem We’ve had Server Core for a while now, and I’ve never really seen it deployed in anger. Now we have Nano Server. You don’t install this like normal Windows Server distributions, i.e. it’s not an option when you run the install DVD. Originally you have to create the image with Powershell, but now you can use ‘Nano Server Image Builder’. Nano Server is a tiny distribution, and...