Mat Grumpy Tech

This site is run by ads, you probably have ad-blocker. Me too, but you wouldn't believe how expensive hosting is. Why not buy me a coffee?

United Kingdon

85 posts

PowerShell: Get Windows licensing status for domain machines

#PowerShell

I 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…

Mat Grumpy Tech

PowerShell : Why can't my user log on?

#PowerShell

If 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…

Mat Grumpy Tech

PowerShell : Identify unused GPO with ZZZ_

#PowerShell

A 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…

Mat Grumpy Tech

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