Explain how you would use PowerShell or Python to automate the configuration of a Windows test environment.