In this article, a certificate for a digital signature is created to digitally sign files with Windows PowerShell. A digital certificate is usually issued by a Certification Authority (CA). But in this […]
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 […]
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 […]
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 […]
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 […]
PowerShell: Creating Login Banners (Logon Screen)
One of the first things you learn in cisco lessons is how to create login banners. A banner is a message shown to a user who is using the device. In this article I […]
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, […]
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 […]
PowerShell: Testing the connectivity to the Default Gateway on localhost and Remote Hosts by reading the Routing Table
How to test the connection to the default gateway without knowing the IP-Address of that Gateway?
Windows Server 2016: Configuring Time based Group Membership with PowerShell
With Windows Server 2016 there is a new Feature called Privileged Access Management Feature. This feature is only available in Active Directory Environments running Windows Server 2016 Forest Mode. This guide shows […]
Demoting the last Active Directory Domain Controller with PowerShell
Today I’ve made a decision. Weeks ago, I have changed the default language of the operating system of my Domain Controller from German to English. It worked great. But now, I found […]
PowerShell: Configuring Fine Grained Password Policies (PSO)
Since Windows Server 2008, Domain Administrators are able to configure password polices per user and per group. This article shows how to set up password policies (Password Setting Objects) with PowerShell.
PowerShell: Enable Remote Desktop on multiple Servers remotely (Bulk)
In this article I show how to activate Remote Desktop on multiple server systems in an active directory environment by using Windows PowerShell. In large environments, it might be necessary to enable […]