PowerShell : Adding records to the hosts file

#PowerShell

This is always a pain. Its much easier to just open a PowerShell windows as an administrator and issue the following Add-Content C:\Windows\System32\drivers\…

Mat Grumpy Tech

Hyper-v, Powershell : Get the hostname of the server hosting your VM

#PowerShell #Hyper-V

I always forget this so: (get-item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters").GetValue("HostName")…

Mat Grumpy Tech

PowerShell + Windows Firewall: RDP Brute Force Protection - UPDATE

#PowerShell

If you have a server on the internet you will probably already be aware that there are scumbags out there running apps that just scan every…

Mat Grumpy Tech

PowerShell & Active Directory- Accounts that are active but not logged in for ages

#PowerShell

I have been really busy recently and my drafts are full of parts of scripts that I havent had time to make suitable for general comsumtion.…

Mat Grumpy Tech

Powershell: Create random password function V2.

#PowerShell

A while ago I wrote this. It generated you a random password based on a character set defined within the code. It does what its supposed…

Mat Grumpy Tech

PowerShell, Veeam : Job status report UPDTE

#PowerShell #Veeam

Veeam is a great application, with great Powershell support. You can do anything the application does and more from PowerShell. I am just getting my teeth…

Mat Grumpy Tech

AZ-300 : Microsoft Azure Architect Technologies

#Hyper-V #PowerShell #Azure

Now we move onto the harder exams. AZ-300 is them first exam you will need if you are working towards Microsoft Certified: Azure Solutions Architect Expert,…

Mat Grumpy Tech

AZ-900 crib sheet

#Office365 #Hyper-V #PowerShell

I recently took a step back into the world of contracting and the situation I find myself in these days is, if I don't have the cert I'm not even getting an interview. Seems my MCDST from 2007 or multiple expired VCP's just don't cut it any more.…

Mat Grumpy Tech