PowerShell: Get Windows licensing status for domain machines
#PowerShellI cant really claim credit for this as I have just used this function https://social.technet.microsoft.com/wiki/contents/articles/5675.powershell-determine-windows-license-activation-status.aspx However…
PowerShell : Why can't my user log on?
#PowerShellIf you want to know the reason why a users log on attempt failed, the information is there but its burried in a pile of events…
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\…