PowerShell : Identify unused GPO with ZZZ_
#PowerShellA nice and quick one for you. This will find any group policy objects that you have in your domain that are not in use and…
PowerShell : Adding records to the hosts file
#PowerShellThis 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\…
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…