From c847dcd9e717907e50029094a237b2e57feecfcf Mon Sep 17 00:00:00 2001 From: Karl Wester-Ebbinghaus <45657752+Karl-WE@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:17:50 +0200 Subject: [PATCH 1/3] Update readme.md replacing nuget with PowerShellGet according to learn.microsoft.com --- lab-guides/01-AzureLocalCloudDeployment/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab-guides/01-AzureLocalCloudDeployment/readme.md b/lab-guides/01-AzureLocalCloudDeployment/readme.md index cdd613d..e6bc71e 100644 --- a/lab-guides/01-AzureLocalCloudDeployment/readme.md +++ b/lab-guides/01-AzureLocalCloudDeployment/readme.md @@ -435,7 +435,7 @@ Since we already have credentials and TrustedHosts configured in Powershell from #install modules (Not needed with latest media <# Invoke-Command -ComputerName $Servers -Scriptblock { - Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force + Install-PackageProvider -Name PowerShellGet -Force Install-Module PowerShellGet -AllowClobber -Force Install-Module -Name AzStackHci.EnvironmentChecker -Force } -Credential $Credentials @@ -501,7 +501,7 @@ $Location="eastus" #list of supported regions: https://learn.microsoft.com/en-us #login to azure #download Azure module - Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force + Install-PackageProvider -Name PowerShellGet -Force if (!(Get-InstalledModule -Name az.accounts -ErrorAction Ignore)){ Install-Module -Name Az.Accounts -Force } From 02389608a4303dda83591b9bd960c97b0d9bea21 Mon Sep 17 00:00:00 2001 From: Karl Wester-Ebbinghaus <45657752+Karl-WE@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:28:32 +0200 Subject: [PATCH 2/3] Update readme.md removed packageprovider --- lab-guides/01-AzureLocalCloudDeployment/readme.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/lab-guides/01-AzureLocalCloudDeployment/readme.md b/lab-guides/01-AzureLocalCloudDeployment/readme.md index e6bc71e..daa40c5 100644 --- a/lab-guides/01-AzureLocalCloudDeployment/readme.md +++ b/lab-guides/01-AzureLocalCloudDeployment/readme.md @@ -435,7 +435,6 @@ Since we already have credentials and TrustedHosts configured in Powershell from #install modules (Not needed with latest media <# Invoke-Command -ComputerName $Servers -Scriptblock { - Install-PackageProvider -Name PowerShellGet -Force Install-Module PowerShellGet -AllowClobber -Force Install-Module -Name AzStackHci.EnvironmentChecker -Force } -Credential $Credentials @@ -501,7 +500,6 @@ $Location="eastus" #list of supported regions: https://learn.microsoft.com/en-us #login to azure #download Azure module - Install-PackageProvider -Name PowerShellGet -Force if (!(Get-InstalledModule -Name az.accounts -ErrorAction Ignore)){ Install-Module -Name Az.Accounts -Force } From fedffc9613fcce64674e684e54bb571cce64084e Mon Sep 17 00:00:00 2001 From: Karl Wester-Ebbinghaus <45657752+Karl-WE@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:46:15 +0200 Subject: [PATCH 3/3] Update readme.md missed to remove one instance of nuget --- lab-guides/01-AzureLocalCloudDeployment/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/lab-guides/01-AzureLocalCloudDeployment/readme.md b/lab-guides/01-AzureLocalCloudDeployment/readme.md index daa40c5..d242964 100644 --- a/lab-guides/01-AzureLocalCloudDeployment/readme.md +++ b/lab-guides/01-AzureLocalCloudDeployment/readme.md @@ -472,7 +472,6 @@ $LCMCredentials= New-Object System.Management.Automation.PSCredential ($LCMUserN #create objects for Azure Local in Active Directory #install posh module for prestaging Active Directory - Install-PackageProvider -Name NuGet -Force Install-Module AsHciADArtifactsPreCreationTool -Repository PSGallery -Force #make sure active directory module and GPMC is installed