ARMDeploy.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#
# Module manifest for module 'PSGet_ARMDeploy'
#
# Generated by: Preston K. Parsard
#
# Generated on: 1/25/2020
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'ARMDeploy.psm1'

# Version number of this module.
ModuleVersion = '1.0.22'

# Supported PSEditions
CompatiblePSEditions = 'Desktop'

# ID used to uniquely identify this module
GUID = '244ce2ed-f098-4271-900f-c7d2585b7139'

# Author of this module
Author = 'Preston K. Parsard'

# Company or vendor of this module
CompanyName = 'Microsoft'

# Copyright statement for this module
Copyright = '(c) 2020 Preston K. Parsard. All rights reserved.'

# Description of the functionality provided by this module
Description = 'A collection of fuctions to simplify and facilitate common tasks that are required for automated deployments to Azure using a combinatin of PowerShell scripts and ARM templates.
The following features are implemented as functions of this module. Please note that the "Az" module is a required dependency for this module.
 
1. Create a new script header for console and log output.
2. Install the required modules from https://powershellgallery.com and import them into the current session.
3. Remove the legacy AzureRM module from the current system.
4. Create a new DSC artificats archive for uploading and staging to an Azure storage account.
5. Authenticate to and set the context for a specified Azure Subscription
6. Specify a fully qualified domain name of the Acitive Directory Domain Services domain to be built in Azure when the IaaS domain controllers are deployed.
7. Upload ARM Templates and DSC artificats to Azure Storge to stage for deployment
8. Create a random string to use for storage accounts, public IP address DNS lables or log analytics workspace name that require globally unique DNS A records.
9. Associate NSGs to their desired subnets.
10. Creates a random password for a credential to create and log into a virtual machine in Azure.
11. Installs a specific version of the Az.Storage module (2.1.0) due to a breaking change with later versions when uploading artifacts to blob storage.'


# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.1'

# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
DotNetFrameworkVersion = '4.7.2'

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# CLRVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport =
@(
    'New-ARMDeployHeader',
    'Get-ARMDeployPSModule',
    'Remove-ARMDeployPSModule',
    'New-ARMDeployDscArchive',
    'Enter-ARMDeployFQDN',
    'Push-ARMDeployArtifactsToAzureStorage',
    'New-ARMDeployRandomString',
    'New-ARMDeployAssociateSubnetToNsg',
    'New-ARMDeployRandomPassword',
    'Install-ARMDeployAzStorageModuleSpecificVersion'
) # end array

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
FileList = 'ARMDeploy.psm1', 'ARMDeploy.psd1'

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        Tags = 'Azure','ARM','Deployment','Header','Random','String','Modules','DSC','Archive','Subscription','FQDN','Subnet','NSG','Artifacts','Preston-K-Parsard', 'AutoCloudArc'

        # A URL to the license for this module.
        LicenseUri = 'https://mitlicense.org/'

        # A URL to the main website for this project.
        ProjectUri = 'https://www.powershellgallery.com/packages/ARMDeploy'

        # A URL to an icon representing this module.
        # IconUri = ''

        # ReleaseNotes of this module
        ReleaseNotes = 'Installs a specific version of the Az.Storage module (2.1.0) due to a breaking change with later versions when uploading artifacts to blob storage.'

        # Prerelease string of this module
        # Prerelease = ''

        # Flag to indicate whether the module requires explicit user acceptance for install/update
        # RequireLicenseAcceptance = $false

        # External dependent modules of this module
        # ExternalModuleDependencies = @()

    } # End of PSData hashtable

 } # End of PrivateData hashtable

# HelpInfo URI of this module
HelpInfoURI = 'https://www.powershellgallery.com/packages/ARMDeploy'

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}