Forum Discussion
maikdoebler
Mar 27, 2024Copper Contributor
Problems with Azure Stack HCI 23H2 - add-server error
Hello Community, We have an Azure Stack HCI 23H2 with 2 nodes in operation. One server had hardware problems, so we replaced it. We now want to add the new server as a new node and are following ...
Kidd_Ip
Jul 21, 2025MVP
Not sure you did try this:
1. Verify the Module Exists
Get-Module -ListAvailable ScaleNodeOperations
If it doesn’t show up, manually check:
Get-ChildItem "C:\Program Files\WindowsPowerShell\Modules" -Recurse | Where-Object { $_.Name -like "*ScaleNodeOperations*" }
2. Install NuGet Provider The error suggests NuGet isn’t available, which is needed to fetch modules:
Install-PackageProvider -Name NuGet -Force
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
3. Re-import the Module Once NuGet is installed:
Import-Module ScaleNodeOperations
4. Retry the Command After confirming the module loads, try add-server again. If it still fails, you may need to restart the deployment from scratch, as some users found that a clean setup resolved the issue.
5. Clean Up Deployment Artifacts If you're stuck in a rerun loop, Microsoft recommends deleting:
o C:\ecestore
o C:\CloudDeployment
o C:\nugetstore
o Registry key:
Remove-Item HKLM:\Software\Microsoft\LCMAzureStackStampInformation