PowerShell: Manage Privileged Roles (PIM)

Edit: The PIM PowerShell module has been deprecated now, and you need to use the Graph API to elevate PIM roles.  --------------------------------------------------------------------------------------------------------------- I've done some work recently with Azure AD Privileged Identity Management, and I wanted to find a way to streamline the request process for an administrator who needs to run some PowerShell scripts or … Continue reading PowerShell: Manage Privileged Roles (PIM)

.TrimEnd removes too many characters

I'm working on a migration project where I need to create temporary accounts for each user that I'm going to be migrating (long story, don't ask!). I wanted a way to create the temporary account based on the real user name, have them easily identifiable as belonging to that user, and then make sure to … Continue reading .TrimEnd removes too many characters