0% found this document useful (0 votes)
3 views1 page

Azure VM Custom Script Extension Guide

This document outlines the configuration for a custom script extension for a virtual machine in Azure. It specifies the publisher, type, and version of the extension, along with the settings that include the URI of the script file and the command to execute it. The script is intended to be run in a bash environment on the virtual machine.

Uploaded by

rajeshmbx
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Azure VM Custom Script Extension Guide

This document outlines the configuration for a custom script extension for a virtual machine in Azure. It specifies the publisher, type, and version of the extension, along with the settings that include the URI of the script file and the command to execute it. The script is intended to be run in a bash environment on the virtual machine.

Uploaded by

rajeshmbx
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

resource customScript 'Microsoft.

Compute/virtualMachines/extensions@2022-03-01' = {
name: '${[Link]}/customScriptExtension'
location: location
properties: {
publisher: '[Link]'
type: 'CustomScript'
typeHandlerVersion: '2.1'
settings: {
fileUris: ['[Link]
commandToExecute: 'bash [Link]'
}
}
}

You might also like