Recently I was asked how to show all logged on users. So I had the idea to make a function out of it. And now I’ll share this function to the community. Who […]
Check Version of PowerShell (localhost and remote hosts)
In this blog post I show how to find out the Version of PowerShell on the localhost and on remote computers.
Copy-Item and Remove-Item: Automate copying and deleting operations
It can happen that files have to be deleted regularly or copied somewhere else. This is no problem in itself, as long as you know a little about scripting. But many people […]
PowerShell: Encrypt and store your Passwords and use them for Remote Authentication (Protect-CmsMessage)
When it comes to certificates, many people flee. The topic is not very popular, but everything is not as bad as feared. In this article I will show you how to store […]
PowerShell Function: Get-ADGroupMembershipperDepartment
In grown environments it often comes to a complete confusion. Employees in departments are group members in groups in which they should not be member of. If there is a clean and […]
PowerShell for Beginners (Part 11): Having fun with PowerShell Drives
Last time we filtered objects with the filter method and with Where-Object. In this part I would like to go back to the basics, to go back to something we haven’t learned […]
PowerShell for Beginners (Part 10): Filtering and Where-Object
We have already learned a lot about PowerShell. Last time we worked with WMI: PowerShell for Beginners (Part 9): Get it all from Windows with PowerShell and WMI Now, in my opinion, it […]
Windows Server 2012/2016: Changing the Access Denied Error Message and providing Assistance
Have you always wanted to manipulate Windows error messages? Starting with Windows Server 2012, and of course also with Windows Server 2016 there is the possibility to do this. The prerequisite for […]
PowerShell: Implementing Just-Enough-Administration (JEA), Step-by-Step
Have you always dreamed of fine-tuning permissions? PowerShell JEA makes it possible. The user only sees what he should see and can only do what he should do. With a few simple […]
IPv6: How Windows generates Link-Local Addresses (EUI-64)
In articles, blogs and forums I often read that Windows forms the IPv6 address from the MAC address. This process is called EUI-64, and the assumption that Windows (Vista and above) use […]
PowerShell: Playing with Environment Variables
Enivornment Variables make life easier. In this article I describe how to use environment variables in daily work. And I am going to show some useful examples.
If you have mastered PowerShell, you don’t need these 3rd Party Tools anymore
As the headline says, I am going to show you which tools are no longer needed when you are familiar with PowerShell. No long speeches today, just examples. I’m pretty sure some of […]
Active Directory: How does a client find it’s Domain Controllers at the right Active Directory site?
What actually happens in the background when a domain client authenticates itself to the domain? That’s the question for today’s post. Ok, let’s go into the details. We assume that the computer has […]
PowerShell: Collect information about installed Updates (Hotfixes) on all Domain Computers
With WSUS you are able to document the updates status of your computers. But what to do if there is no WSUS available? In this article I describe how to get a […]
PowerShell: Test open TCP Ports with Test-OpenPort (multiple hosts, multiple port numbers)
As the headline says, it’s all about port scanning today. When a computer sends SYN to another computer, the remote computer will usually answer with SYN + ACK or RST. By this […]



