Any help with that would be really appreciable.

by (50 points)

1 Answer

by (216k points)
Best answer
0 votes

Hello,

We have a blog post on how to do that both with and without PowerShell: How to Keep Your Active Directory Clean.

Related questions

Recently, Microsoft deprecated use of the remote PS sessions using version 1. We have since converted all of our scripts to version 2, but our nightly staff ... { # Close the remote session and release resources Disconnect-ExchangeOnline -Confirm:$false }

asked Nov 2, 2022 by MShep (80 points)
0 votes
1 answer

Hello All, I would like to update the property "Home Directory" from it's current value, to a new value. Right now it's referencing %username% and I would like to ... need. I just need this value generated when the user is created. I appreciate any help.

asked May 26 by SteveCDSAZ (20 points)
0 votes
1 answer

Is there a comparison between the OnPrem user object and Entra user object in the built-in condition? Which determines the most recent inactivity from both environments. Or should a choice be made between the OnPrem domain or Entra based on the Activity scope?

asked Dec 13, 2024 by IwistIT (40 points)
0 votes
1 answer

We use Server 2022 Active Directory Domain Services with the new LAPS Password Management system. Access to the old ms-Mcs-AdmPwd is no longer a valid option for displaying the ... ADaxes Just a little history - I have been using Adaxes and LAPS since 2012.

asked Aug 21, 2024 by George.Holden (60 points)
0 votes
1 answer

Hi, I try to make a report for our SAM to show all users with a specific license. But I fail to even find anything. I tried, among many ... .DirectorySearcher.AppendFilter("(adm-O365AccountLicenses=POWER_BI_STANDARD)") But I get nothing. Please advice.

asked May 20, 2021 by KristofferJ (80 points)
0 votes
1 answer