0004-New-AzureRmVmAvailabilitySetPsg

1.1.0.10

This script creates an availability set of 1-4 Windows Server 2016 VMs with Network Security Groups for RDP access. In this script, these machines will be deployed with using the ABC[DC]## convention,
where ABC is the 3 letter airport code of the location, DC indicates that these machines can subsequently be configured as domain controllers, and ## represents the sequ
This script creates an availability set of 1-4 Windows Server 2016 VMs with Network Security Groups for RDP access. In this script, these machines will be deployed with using the ABC[DC]## convention,
where ABC is the 3 letter airport code of the location, DC indicates that these machines can subsequently be configured as domain controllers, and ## represents the sequence numbers, i.e. 01, 02, etc.
Please note that this script was not designed to run as an Azure Automation Workflow Script, so if the "Deploy to Azure Automation"
button is used, the script will be added to the automation account as a workflow item, but should not be expected to execute as a workflow script, but can
be launched directly from a jump VM in Azure as a native PowerShell script if desired. Azure resources will be created as part of an initial process of building a functional environment
consisting of compute, storage and netorking components. Since this script will be used primarily for demonstration purposes, additional comments, logging and verbose console output have been included.
Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name 0004-New-AzureRmVmAvailabilitySetPsg -RequiredVersion 1.1.0.10

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright (c) 2016 Preston K. Parsard

Package Details

Author(s)

  • Preston K. Parsard

Tags

Azure Deploy VM

Functions

New-RandomString Add-VM

Dependencies

This script has no dependencies.

Release Notes

17 OCT 2016  1.1.0.0 Preston K. Parsard Updated description and changed versioning format from ##.##.#### to #.#.#.# to match the standard module versioning convention format.
18 OCT 2016  1.1.0.1 Preston K. Parsard Created log file earlier in script, added the Start-Transcript feature that records a transcript in a separate file, and created a new logging directory name of "New-AzureRmAvSet".
18 OCT 2016  1.1.0.2 Preston K. Parsard Prompt user for location to offer more flexibility instead of hard-coding in script
18 OCT 2016  1.1.0.3 Preston K. Parsard Prompts user to open both $Log and $Transcript files upon completion of script.
19 OCT 2016  1.1.0.4 Preston K. Parsard Updated the image name to reflect the new 2016-Datacenter image.
20 OCT 2016  1.1.0.5 Preston K. Parsard Fixed regular expression for resource group naming standard to comply with the format rg##, where ## represents a two digit numeric sequence.
20 OCT 2016  1.1.0.6 Preston K. Parsard Simplified regular expression to restrict attendee number input to 4 digits.
20 OCT 2016  1.1.0.7 Preston K. Parsard Simplified regular expression to restrict site code input to 3 letters.
20 OCT 2016  1.1.0.8 Preston K. Parsard Removed exit statement at end so that the ISE/PowerShell console will still be available after the script executes.
20 OCT 2016  1.1.0.8 Preston K. Parsard Added #Requires tags for Version 5.0 and RunAsAdministrator, since the Start/Stop-Transcript cmdlets are used and administrative permissions are required for the package installer.
20 OCT 2016  1.1.0.10 Preston K. Parsard Upgraded VM image size from Standard_A1 to Standard_D1_v2.

FileList

Version History

Version Downloads Last updated
1.1.0.12 91,629 11/12/2016
1.1.0.10 (current version) 87,773 10/21/2016
1.0 87,778 7/15/2016