PowerShell

PowerShell: Changing the Look of the Prompt — SID-500.COM

PowerShell comes with a standard prompt whose configuration is stored in the prompt function. The good news is that we are able to change this prompt function to suit our needs. In this blog post, I will show you how you can change this prompt and I will give you some examples. Subject We are […]

PowerShell: Changing the Look of the Prompt — SID-500.COM
Advertisement
PowerShell

Active Directory: Find orphaned (unused) User Accounts with PowerShell — SID-500.COM

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
PowerShell

Active Directory: Find users based on Attributes and add them to a Group 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
External, PowerShell

Video: How to use PowerShell 7 in Visual Studio Code — 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!

via Video: How to use PowerShell 7 in Visual Studio Code — SID-500.COM

External, PowerShell

Find Duplicate Files with PowerShell — SID-500.COM

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 […]

via Find Duplicate Files with PowerShell — SID-500.COM

External, PowerShell

PowerShell: Manipulate Strings (Bulk) in Text Files for further processing — SID-500.COM

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) […]

via PowerShell: Manipulate Strings (Bulk) in Text Files for further processing — SID-500.COM