Simulator to test powershell scripts

Hi Experts

I want to test my powershell AD scripts in a 2012 R2 simulated environment before running in my production environment.  Is there a downloadable/online simulator you can recommend?
lipotechSys EngAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sajid Shaik MSr. System AdminCommented:
the best idea is create a VM of the your production server , mount it on seperate machine and test it... all the best
1
Shaun VermaakTechnical Specialist/DeveloperCommented:
I want to test my powershell AD scripts in a 2012 R2 simulated environment before running in my production environment.  Is there a downloadable/online simulator you can recommend?
Spin up a server in a trial Azure account or even on your own laptop/desktop, separate from your production environment

the best practice is create a VM of the your production server , mount it on seperate machine and test it... all the best
Please quote where it is referenced as a best practice
1
LearnctxEngineerCommented:
the best idea is create a VM of the your production server , mount it on seperate machine and test it... all the best

Best practice is to have a fully working pre-production environment that replicates your production environment. I run with 3 environments.

Production
100% uptime and a 100% physical server environment, no VM DC's. Changes are migrated here through from our UAT environment after being vetted and thoroughly tested.

UAT Pre-production
This is where application coexistence testing happens and where I test Active Directory changes, patches, schema updates and so on. This is a stable environment with some expected errors from time to time due to rapid changes and testing. Mixture of physical and VM DC's. Everything about this environment is production like except that it is a completely separate forest. This extends to all applications and services. Separate Azure AD/O365 tenants, separate AWS accounts, the lot is all duplicated due to Govt. regulations.

SYS Pre-production
This is a destructive environment. Fully VM. This where I test obscure changes, schema updates before UAT. This environment is basically empty and volatile and only used for AD related testing.

Is there a downloadable/online simulator you can recommend?

Build a test lab, everyone should have an AD test environment.
1
ITguy565Commented:
Beating a dead horse here, Building a test environment for changes and pre-production modifications is a must in any corporate or enterprise environment. If you don't have a test platform I HIGHLY recommend that you build one. Redundancy such as Clustering, HyperVisors, and ImageLevel backups can only go so far when it comes to insuring uptime. YOU MUST have a test environment in order to maintain reasonable uptime and high availability in a corporate environment.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.