Category Archives: Windows Server

Workstation force WSUS check

New task – how to force the workstation to check updates on WSUS, open Powershell: PS C:\Users\nick.korkishko> Enter-PSSession workstation12 [workstation12]: PS C:\Users\TEMP.DERMATOLOGY.014\Documents>  wuauclt /detectnow Advertisements

Posted in Windows Server | Tagged , | Leave a comment

How to identify list of inactive computers and move them to another OU

New task for IT: identity list of inactive computers and move them to another OU. As usual, PowerShell will help us. # Name : ListinActiveComputers.ps1 # Purpose: Get active computer accounts from active directory by # checking the last logon … Continue reading

Posted in Windows Server | Tagged , , , , | Leave a comment

Identify users in Groups by powershell

New task: list of users in Group (in ex. Domain Admins): #Script is writen by: Mykola Korkishko and Andryi Svintsitsky $array =@() $AllUsers=Get-ADUser -Properties * -Filter * foreach($user in $AllUsers){ #$Groups=$user |select -ExpandProperty Memberof if ($user.MemberOf.Contains(“CN=Domain Admins,CN=Users,DC=rcadv,DC=com”) -and $user.Enabled -eq … Continue reading

Posted in Windows Server | Tagged , , , , | Leave a comment

IE version collection with PowerShell

Task for IT: collect statistic about IE versions in your environment without inventory system. What you need to enable: Remote registry on computers Run PowerShell script: #Script is writen by: Mykola Korkishko and Andryi Svintsitsky $array =@() $keyname = ‘SOFTWARE\\Microsoft\\Internet … Continue reading

Posted in Windows Server | Tagged , , | Leave a comment

Terminal server session disabled

Sometimes, when you are trying to do RDP,  you can see the error: terminal server session disabled. You will not be able to do anything remotely with the server, especially from Server Manager – you will see Kerberos authentication error message. To resolve … Continue reading

Posted in Windows Server | Tagged , , | Leave a comment

Review AD for active computers

Sometimes you need to generate a quick report from your Active Directory about active computers in your network. In case if you miss article in Google, below is listing from Original post Just save it to filename.ps1 and enjoy. # # Name … Continue reading

Posted in Windows Server | Tagged , , , | Leave a comment

[Solved] WSUS console error Windows 2012 R2

95% of all articles on Internet describe how to resolve this issue. My solution was to uninstall it. Remove WSUS server from ISS. Delete all folders where data stored for WSUS. While installation you will need to install also .NET 3.5 … Continue reading

Posted in Windows Server | Tagged , , , | Leave a comment