Users Online

· Guests Online: 23

· Members Online: 0

· Total Members: 188
· Newest Member: meenachowdary055

Forum Threads

Newest Threads
No Threads created
Hottest Threads
No Threads created

Latest Articles

Exam 70-533: Implementing Microsoft Azure Infrastructure Solutions Part 1

Question ID 13667

You develop a set of Power Shell scripts that will run when you deploy new virtual
machines (VMs).
You need to ensure that the scripts are executed on new VMs. You want to achieve this
goal by using the least amount of administrative effort.
What should you do?

Option A

Create a new GPO to execute the scripts as a logon script.

Option B

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

Option C

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

Option D

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

Option E

Set the VMs to execute a custom script extension.

Correct Answer E

Description Explanation: After you deploy a Virtual Machine you typically need to make some changes before its ready to use. This is something you can do manually or you could use Remote PowerShell to automate the configuration of your VM after deployment for example. But now theres a third alternative available allowing you customize your VM: the CustomScript extension. This CustomScript extension is executed by the VM Agent and its very straightforward: you specify which files it needs to download from your storage account and which file it needs to execute. You can even specify arguments that need to be passed to the script. The only requirement is that you execute a .ps1 file. 
Update Date and Time 2017-10-20 10:14:47

 

Comments

No Comments have been Posted.

Post Comment

Please Login to Post a Comment.

Ratings

Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
Render time: 0.81 seconds
10,278,206 unique visits