Home » PowerShell

Category Archives: PowerShell

The new netstat: Playing with Get-NetTCPConnection

For some reason, I don’t like netstat. Never did. Fortunately PowerShell provides a similar command to netstat: Get-NetTCPConnection. Let’s discover the options of this command in form of this blog post.


How to find out currently installed Windows Version (Fall Creators Update 1709)

While reading great news and improvements about the Windows 10 Fall Creators Update (1709), it might be useful to find out if the update is already installed or not.


Exchange: How to create Inbox Rules with PowerShell

There are two ways for creating Inbox Rules: The user itsself in Outlook or the Exchange Administrator can establish Rules based on specific conditions. In this article I describe the establishing of Inbox Rules on an Exchange Server by using PowerShell.


Active Directory: Force replication of all Domain Controllers on all Sites at once

Active Directory Domain Services uses pull replication to replicate Active Directory Partitions. This means that the Domain Controller on which replication is started receives the data from the source Domain Controller. It’s like a one way ticket.


Learning PowerShell with Active Directory Administrative Center (PowerShell History Viewer)

For managing Active Directory Domain Services, still most of the administrators use Active Directory Users and Computers (dsa.msc). They are used to it. But it´s worth taking a look at the Active Directory Administrative Center. It provides a PowerShell History Viewer.


Active Directory: Send Messages to all currently logged on Users (msg.exe)

Do you remember the net send command? And do you remember the security concerns? Last week I played with msg.exe. Msg is the “new” net send. I tried to send a message to all users and computers in my domain. Why? I wanted to instruct all users to close all open programs. And now I want to keep and share this knowledge in form of this blog post.


PowerShell: Adding Active Directory Users from Text Files (Bulk)

When it comes to importing huge numbers of users, csv is No. 1. But what about text files? Sure, you can export content of text files to csv.  But in this article, I want to add active directory users directly from text files.


New LinkedIn Group: PowerShell Engineers

Dear Readers and Followers!

I created a new LinkedIn Group called PowerShell Engineers. The group is aimed to System Engineers from the beginner to the pro. I would be delighted if we can share our experiences in this way as well.

The group can be found here:

Be the first one and do not hesitate to send me a group membership request!