Hard Drive Full?
KB ID 0000012 Problem The fact that I’m going back to re-write article 0000012, should tell you this is an omnipresent problem! Either very suddenly, or slowly over time you have a drive or a volume that’s full to bursting point. These days with laptops which have smaller SSD drives it’s a common problem. I’ve seen literally hundreds of post in forums, most of them are answered with ‘Use...
PowerCLI: Get All Snapshot Information
KB ID 0001690 Problem This was asked on EE today, and it was an interesting one so I wrote it up. How to locate all the Snapshots in your VMware virtual infrastructure, and see how much space they are taking. Solution Use the following PowerCLI; Get-Snapshot * | Select-Object -Property VM, Name, SizeGB, Children | Sort-Object -Property sizeGB -Descending | ft -AutoSize Related Articles, References, Credits, or External Links...
Patch Your DNS Servers! SigRed
KB ID 0001687 Problem WARNING: This is rated 10 on the CVSS scale. Affected Server OS: Windows 2003, Windows 2008, Windows 2008 R2, Windows 2012, Windows 2012 R2, Windows 2016, Windows 2019 Yesterday Microsoft released a critical notice (KB4569509) to address vulnerabilities identified in (CVE-2020-1350). Basically it allows a remote attacker to perform remote code execution on your DNS servers (unless you patch them!) The reason its...
vSphere: Get ESX Server Serial Numbers
KB ID 0001670 Problem A few weeks ago I needed to sort out some extended warranty for a customers servers. To do that I needed the serial numbers of those servers, (a mixture of IBM/Lenovo and Dell Servers). As I didn’t fancy a drive to two different datacenters, I wanted to try and get them programatically. Solution After some searching I came across a post by one of my old EE buddies LucD with exactly what I needed. I’m...
Powershell: Get Folder Size ‘Quickly’
KB ID 0001660 Problem Right clicking a folder and selecting properties is usually how you would see how large a folder is. Which is great, but if your folder size is HUGE (i.e. many terabytes) then this takes ages! Solution If you use PowerShell you can get the figure considerably quicker! Below I want to ge the size of E:\Shared; In MegaBytes; “{0:N2}” -f ((Get-ChildItem -path E:\Shared -recurse | Measure-Object -property...
The specified module ‘MSOnline’ was not loaded.
KB ID 0001637 Problem I was trying to do some Azure Powershell this morning, I’d executed a Connect-MsolService command and got a; The term ‘Connect-MsolService’, function, script file, or operable program. A quick Google for that turned up ‘You need to run an Import-Module MSOnline’ command, but doing that simply gave me; PS C:\Users> Import-Module MSOnline Import-Module : The specified module...