Cleanup disabled accounts from groups is one of the most boring job, and also take lots of time. Manually it’s almost impossible to maintain. Recently I had a request to perform such task for many groups, so, I wrote a script to do it automatically on behalf of me. I am now sharing this script, hoping this might help you
Category: Server
Windows Servers Talk (NT, 2000, 2003, 2008 etc.)
Multi-Thread Super-Fast Software Inventory Scan using WSMan (PowerShell Remoting)
Recently I was asked to pull the software inventory report from multiple severs hosted in Azure, but unfortunately pulling data from WMI not allowed, only PS Remoting was enabled, so I made some changes on my previous script and used Invoke-command to pull the date for all the servers. It was easy and the most effective way to extract that report
New Feature : EC2 Instance Console Screenshot for Boot Troubleshooting
Finally a great feature add to AWS EC2 instances (HVM virtualization only), which was requested by almost everyone. Now we can take a console screenshot of any EC2 Instances. This is now available publicly. Earlier we had to log a case with AWS Support to get the AWS Console screenshot. This is a similar feature like Boot Diagnostics for Azure
Multi-Threading Super-Fast Disk Utilization Report using Background Jobs in PowerShell
Automate task using script is always helpful, it reduced human error and efforts, but sometimes it still takes a lots of time to execute same command on multiple remote servers one by one. For example, my disk utilization script, it works perfectly fine, but taking lots of time to generate report for thousands of servers. To get the result faster
Task Scheduler Error “A specified logon session does not exist” – Fix via Command Line and PowerShell for Scripting
This is very know issue, if you search internet, you will get multiple blog post with same solution for this issue, and if you follow the steps, it actually resolve this issue. In simple word, solution of this problem is Logon to the faulty system. Open SECPOL.MSC from Run Go to Security Settings | Local Policies | Security Options Open
How to boot Windows Server 2016 Technical Preview with GUI (Server with Desktop Experience) from VHD
The reason behind writing this article is to use my Laptop (having Intel i3 4th Gen and 8 GB of RAM) as my LAB for testing new Windows Server 2016 TP4 and to do that I have to use boot from VHD option. There are multiple ways to boot your system from VHD but I don’t find a simple and