SID-500

Home » Posts tagged 'PowerShell'

Tag 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.

(more…)

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.

(more…)

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.

(more…)

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.

(more…)

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.

(more…)

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.

(more…)

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 am going to configure login banners for Windows Server and Client Systems by using Windows PowerShell.

(more…)

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.

(more…)