What should you do?

You develop a set of PowerShell scripts that will run when you deploy new virtual machines (Vms).You need to ensure that the scripts are run automatically when the VM is started.What should you do?You can make further customizations after Windows Setup completes by adding commands to the %WINDIR%SetupScriptsSetupComplete.cmd file. This file enables you to install additional applications, run custom Windows scripts (cscript/wscript), or make other modifications to the system before a user logs on.References: https://technet.microsoft.com/en-us/library/cc766314(v=ws.10).aspx

Question:

What should you do?

Options:

Load the scripts to a common file share accessible by the VMs.

Create a SetupComplete.cmd batch file to call the scripts after the VM starts.

Set the VNs to execute a custom extension.

Create a new virtual hard disk (VHD) that contains the scripts.

Correct Answer

The Correct Answer for this Question is

Create a SetupComplete.cmd batch file to call the scripts after the VM starts.

Leave a Comment