PowerTip: Test Active Directory Script with Pester

Doctor Scripto

Dr Scripto

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.

0 comments

Comments are closed. Login to edit/delete your existing comments