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

External, Nutanix, PowerShell

Recovering a Protection Domain snapshot to a VM — My Virtual Vision

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

via Recovering a Protection Domain snapshot to a VM — My Virtual Vision