This short blog post will show you how you can find orphaned user accounts in Active Directory that may no longer be in use. Let’s go. Code Here is an example screen of the code. Copy the lines below to PowerShell ISE or Visual Studio Code and run it. The Code will retrieve all user […]Active Directory: Find orphaned (unused) User Accounts with PowerShell — SID-500.COM
Active Directory objects are usually stored in organizational units. Sometimes these organizational units don’t refer to the site where the users work. The goal for this article is to retrieve these users and add them to a group. This blog post is designed to be a template of how to search users with a specific […]Active Directory: Find users based on Attributes and add them to a Group with PowerShell — SID-500.COM
Scheduled job do something based on a trigger. We are able to configure scheduled jobs with the graphical user interface or – from my point of view – much easier and faster with PowerShell. In this blog post I will give you an example on how you can quickly create a scheduled job for your […]Register and Create Scheduled Jobs with PowerShell — SID-500.COM
Hi PowerShell fellows, In this video I show you how to use PowerShell 7 cmdlets for various network tasks. Find the code samples at the very bottom. Hope you enjoy it!Video: PowerShell 7 Cmdlets as a replacement for ping, arp, traceroute and nmap — SID-500.COM
Hi PowerShell fellows, In the video below I will show you how to install and use PowerShell 7 with Visual Studio Code. You will find a step-by-step walk-through beginning with the installation of PowerShell 7 and Visual Studio Code and ending with some recommended settings for your convenience. Have fun!
Hi PowerShell folks, watch this video to learn how to encrypt passwords in Powershell scripts. The code used in this video can be found at the end of this blog post. Best, P
We are living in a big data world which is both a blessing and a curse. Big data usually means a huge number of files such as photos and videos and finally a huge amount of storage space. Files are accidentally or deliberately moved from location to location without first considering that these duplicate files […]
With PowerShell 7 new operators were introduced. We call them chain operators. Chain operators enables you to do something after doing something. They use the $? and $LASTEXITCODE variable to determine whether a command on the left hand of the pipe failed or succeded.
Lately, I’ve prepared some PowerPoint slides for the scripting module of a course for ongoing system engineers. Now it’s time to share my work with the PowerShell community. The slides are about string manipulation. In this blog post we will deal with a text file of e-mail addresses. For further processing, all content (domain names) […]
Yesterday one of our SEs mentioned he was talking to a customer and this customer is using MCS between two separate clusters. They were looking for a way to only keep one image updated and they are then looking to use our Protection Domain to replicate it over to the other cluster. Now, they are