December 16th, 2015

PowerTip: Test Active Directory Script with Pester

Doctor Scripto
Scripter

Summary: Use Pester to safely test script changes to Active Directory.

Hey, Scripting Guy! Question How can I test my Active Directory script without having it make changes to my live domain?

Hey, Scripting Guy! Answer Use Pester’s mocking feature to test your code without using the actual Active Directory cmdlets.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.