Hyper-v, Powershell : Get the hostname of the server hosting your VM
#PowerShell #Hyper-VI always forget this so: (get-item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters").GetValue("HostName")…
PowerShell + Windows Firewall: RDP Brute Force Protection - UPDATE
#PowerShellIf 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…
PowerShell & Active Directory- Accounts that are active but not logged in for ages
#PowerShellI 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.…
PowerShell: Create random password function V2.
#PowerShell #UsefulFunctionsA 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…