Question 20
AZ-104 voucher + Udemy course (lifetime access) = ₹3,500 for Indian ID card holders.
Details →Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid coexistence with the on-premises Active Directory domain. The on-premise virtual environment consists of virtual machines (VMs) running on Windows Server 2012 R2 Hyper-V host servers. You have created some PowerShell scripts to automate the configuration of newly created VMs. You plan to create several new VMs. You need a solution that ensures the scripts are run on the new VMs. Which of the following is the best solution?
- AConfigure a SetupComplete.cmd batch file in the %windir%\setup\scripts directory.
- BConfigure a Group Policy Object (GPO) to run the scripts as logon scripts.
- CConfigure a Group Policy Object (GPO) to run the scripts as startup scripts.
- DPlace the scripts in a new virtual hard disk (VHD).