- Active Directory
- Domain Controller
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
| ;; disable temporary files | |
| ;; https://stackoverflow.com/a/2680682/682912 | |
| (setq make-backup-files nil) | |
| ;; Add Melpa Sources for installing Packages. | |
| ;; https://melpa.org/#/getting-started | |
| (require 'package) | |
| (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) | |
| (not (gnutls-available-p)))) | |
| (proto (if no-ssl "http" "https"))) |
This is especially useful if you want to develop locally and run it from Cloud Shell.
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
| #!/bin/bash | |
| set -e | |
| # This script reads Vault password from user prompt, and loads Azure Environment Variables. | |
| # | |
| # For this first you need to create an Ansible Vaulted .sh script of the format | |
| # export AZURE_SUBSCRIPTION_ID=my_sub_id | |
| # export AZURE_CLIENT_ID=my_serviceprincipal_client_id | |
| # export AZURE_TENANT=my_serviceprincipal_tenant_id | |
| # export AZURE_SECRET=my_serviceprincipal_secret_key | |
| # |
Useful if you are troubleshooting or debugging VM Extensions.
az vm extension delete --vm-name VMName -g RGName --name ExtensionName
Ansible 2.5 azure_rm_virtualmachine module will not resize a running VM if you simply change its size. :(
https://blogs.technet.microsoft.com/heyscriptingguy/2014/10/16/use-powershell-and-dsc-to-enable-logging/ You can also enable Debug and Analytic logs in Windows Event Logging. https://blogs.msdn.microsoft.com/powershell/2014/01/03/using-event-logs-to-diagnose-errors-in-desired-state-configuration/
E.g. if you want to reapply a DSC resource
rm C:\windows\system32\Configuration\*.mof*
- This assignment requires you to automate creation of an entire application environment on Azure.
- The environment consists of two VMs, details of which are enclosed below.
- All VMs are Windows VMs.
- Each VM needs to have specific disks attached to it, in addition to the C: D: E: drives.
Time Limit