Tag Archives: PSDrive

Create an AD Drive for Specified Domain

When you load the Active Directory Module, you get, by default, an Active Directory PSDrive for the current domain.   You can avoid the drive from loading by setting $Env:ADPS_LoadDefaultDrive = 0. When writing scripts to export and import AD delegations, connecting to … Continue reading

Posted in Active Directory, Functions, PowerShell, Scripting | Tagged , , | Leave a comment