Hello. Recently I had a task to find a way how to compare two CSV files, find a match and save it in a new CSV file. I was struggling a lot, but with a help of a friend, we were able to create such a script. Thank you Michal 🙂 Here, I will show Read More →

Do you know that feeling when you want to access IMM web interface, but you end up entering wrong password over and over again? The feel of anger which fills you up, moment when you want to go and put that server to rest? Well, that moment had happened to me this morning. I was Read More →

We all know how to create an Active Directory group via GUI. Right-click, select this select that and you are done. But, doing this via PowerShell is a great way to manage computer accounts in Active Directory. To be able to create, move, or delete AD groups, OUs, and so on, you need to have Read More →

Recently, I started to experience this issue on a vast amount of servers in our domain environment. We have set Audit Policies so that user or system activity in specified event categories is recorded. This is how our audit policy looks like: We have created a plan before we implemented audit policy, and ran the Read More →

Hello again. Today, I have had a task to check the status of a service on all my servers. Since I didn´t have much time, I decided to make a quick and ugly script to check the status of the service. So lets start. First, we need to get all our computer names and put Read More →

PsExec – Remotely Connect and Logoff a User So, as the title says, sometimes when you have two users already connected remotely to a server, you need to disconnect someone, or to log him off or something… Well, you contact that person and ask politely to logoff by him\herself, and they don´t want to do Read More →

Internet Explorer Version Check via PowerShell Hello everyone. Recently I have got a task to check the version of Internet Explorer on our Windows Server 2008 R2 machines (yes, we are still using them, loads). I decided to check the IE via PowerShell ofc. But since I have had like 400 servers, I decided to Read More →

Hello everyone. Today I am going to write a little bit about this amazing set of tools from Microsoft contained in Windows ADK (Windows Assessment and Deployment Kit). You can use this tool to customize, assess, and deploy Windows Operating Systems to new computers. I will not explain how to install Windows ADK, but instead Read More →

Hello again. This morning I wanted to install PowerShell 3.0 version on Windows Server 2008 R2 SP1 because I needed to run some extra commands which were not present in Powershell 2.0. Usually, this goes pretty much easy, but today it wasn’t a case. But lets start from the beginning shall we? Powershell 3.0 requirements Read More →

Uptime of the server with PowerShell Hi peoples. This morning I had to check the Uptime of the server, and I must admit, I have totally forgot how to check the uptime of the server hehe… Nevertheless, I have managed to find the command and check the uptime of the server. This post is going Read More →