Created
February 26, 2020 01:54
-
-
Save MatthewJDavis/4dd470641f69316e8655f7fe4c6eb13d to your computer and use it in GitHub Desktop.
Basic init with PowerShell script for demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| New-Item -Path 'C:\assets' -ItemType Directory | |
| $text= @' | |
| This file was provisioned with the azure virtual machine extension resource using Terraform. | |
| https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows | |
| This is just a text file but a script similar to this could be run to register with a config managemnt solution, do basic | |
| provisioning etc. | |
| '@ | |
| Set-Content -Path 'C:\assets\provision.txt' -Value $text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment