c902bc48d5
* Multiple VMs Availability set quick start template - initial checkin. * Add Parameters json file. * Added Metadat json and readme files * CR feedback addressed. * Update DSC resource to have absolute data disk numbers. * Updated xSqlPs DSC resource * Using WS2012 R2 image for SQL VM because of corresponding DSC resource. * Updated DSC resource for xSqlServerSetup * Fixed SqlAsset location * BugFix 12568338 - QuickStart Template<exchange-2016-non-ha> deployment has a failure on master run * Update VM size for exchange VM to Standard_D2. * Fix PSCommand to not to use piped input as it does not work from cmd prompt. * Update command parameter |
||
---|---|---|
.. | ||
README.md | ||
azuredeploy.json | ||
azuredeploy.parameters.json | ||
metadata.json |
README.md
Deploy Custom Script VM Extension to existing Windows VM (with PowerShell command)
This template deploys the Custom Script VM Extension to an existing Windows VM in an Azure Stack environment. It takes a parameter for vmName, and allows for the execution of a PowerShell command (as seen in the commandToExecute Extension setting).
Example PS Command (Sets DNS within the VM): powershell -ExecutionPolicy Unrestricted Set-DnsClientServerAddress -InterfaceAlias Ethernet -ServerAddresses 192.168.100.2, 8.8.8.8