Skip to content

Commit

Permalink
Adjusted PS version
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcspirit committed Sep 24, 2018
1 parent 5f71551 commit fb4ad03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -5,9 +5,9 @@ Version Compatibility
-----------
The current version of the ConfigASDK.ps1 script has been **tested with the following versions**:
* ASDK build **1.1808.0.97 (1808)**
* Azure Stack PowerShell Module **1.5.0**
* Azure Stack PowerShell Module **1.4.0**

**IMPORTANT** - this version of the ConfigASDK.ps1 script has been tested with ASDK build 1808, with Azure Stack PowerShell 1.5.0. A version that supports the older ASDK builds (1803 etc) can be found in the archive folder, however this will not be maintained. You should upgrade to a later ASDK.
**IMPORTANT** - this version of the ConfigASDK.ps1 script has been tested with ASDK build 1808, with Azure Stack PowerShell 1.4.0. Incompatibility with PowerShell 1.5.0 and the new AzureRMProfile 2018-03-01-hybrid, with the MySQL/SQL RP installation prevents the script from working fully. A version that supports the older ASDK builds (1803 etc) can be found in the archive folder, however this will not be maintained. You should upgrade to a later ASDK.

Description
-----------
Expand Down
7 changes: 3 additions & 4 deletions deployment/ConfigASDK.ps1
Expand Up @@ -40,8 +40,7 @@
.VERSION
1808.1 Updated to support PowerShell 1.5.0 and AzureRmProfile 2018-03-01-hybrid
Added fix for BITS issues with MySQL/SQL RP installations
1808.1 Added fix for BITS issues with MySQL/SQL RP installations
1808 No longer adds VMSS gallery item as this is built in.
Updated to support ASDK build 1.1808.0.97
1807.1 Updated to support automatic downloading of Microsoft VM Extensions for registered ASDKs
Expand Down Expand Up @@ -473,7 +472,7 @@ if ($VMpwd -cmatch $regex -eq $true) {
elseif ($VMpwd -cmatch $regex -eq $false) {
Write-CustomVerbose -Message "Virtual Machine password doesn't meet complexity requirements, it needs to be at least 12 characters in length."
Write-CustomVerbose -Message "Your password should also have at least 3 of the following 4 options: 1 upper case, 1 lower case, 1 number, 1 special character."
Write-CustomVerbose -Message "The App Service installation requires a password of this strength. An Example would be p@ssw0rd123!"
Write-CustomVerbose -Message 'The App Service installation requires a password of this strength. An Example would be p@ssw0rd123!'
# Obtain new password and store as a secure string
$secureVMpwd = Read-Host -AsSecureString "Enter VM password again"
# Convert to plain text to test regex complexity
Expand Down Expand Up @@ -949,7 +948,7 @@ if (($progress[$RowIndex].Status -eq "Incomplete") -or ($progress[$RowIndex].Sta
Get-PSRepository -Name "PSGallery"
Install-Module -Name AzureRm.BootStrapper -Force -ErrorAction Stop
Use-AzureRmProfile -Profile 2017-03-09-profile -Force -ErrorAction Stop
Install-Module -Name AzureStack -RequiredVersion 1.5.0 -Force -ErrorAction Stop
Install-Module -Name AzureStack -RequiredVersion 1.4.0 -Force -ErrorAction Stop
}
elseif (($deploymentMode -eq "PartialOnline") -or ($deploymentMode -eq "Offline")) {
# If this is a PartialOnline or Offline deployment, pull from the extracted zip file
Expand Down

0 comments on commit fb4ad03

Please sign in to comment.