upgrade to 7.4.5 / prerequisite software

Hi all,

I try to upgrade from 7.4.4 to 7.5.5 but failing on the prerequisite software installation.
Upgrade from 7.4.3 to 7.4.4, I did a /quiet install therefore I've skipped the prerequisite installation, but now I need the azure stuff in ARS, so I want to do it the right way.

As the server doesn't have any internet connectivity, I've downloaded the nupkg packages and unzipped them to the modules folder of PowerShell, that worked so far for MS Teams etc.
The only two remaining packages are: Exchange Online PowerShell V2 module and AZ (azure az) module, although I did the same as for all the others above, it stills shows as "please install prereq software" when starting the ARS install/upgrade.

I've used the following nupkg packages:

(took the v.2.0.5)
PowerShell Gallery | ExchangeOnlineManagement 2.0.6-Preview3

(took 6.6.0)
PowerShell Gallery | Az 6.6.0

PSVersion: 5.1.14393.4583  
Windows Server 2016 Datacenter

I've installed the package with this steps:
Manually install a module from the PowerShell Gallery – PowerSQL – Bringing PowerShell and SQL together for the best of both worlds. (randomnote1.github.io)


Thanks for your support,
Micha

Parents
  •   

    Where the module is not packaged (so just downloadable), and therefore you need to get it via a PSProvider, the below might help.

    This post by on "sqlrambling.net"

    INSTALLING POWERSHELL MODULE WITHOUT INTERNET ACCESS

    In essence you'd download them from the appropriate PSProvider, save them to file, transport, the import.

    Hope this helps

    The below is in essence the save of the powershell modules, as mentioned in the above article.

    $SaveTo = "C:\Temp\Modules"
    $Modules = ('ExchangeOnlineManagement','AzureAD','PartnerCenter','MicrosoftTeams')
    
    
    clear-host
    
    If(Test-Path($SaveTo))
    {
    
        ForEach($Module in $Modules)
        {
            Write-Output "$Module"
    
            If(Test-Path("$($SaveTo)\$($Module).zip"))
            {
                Rename-Item -Path "$($SaveTo)\$($Module).zip" -NewName "$($Module) $(Get-date -Format "yyyymmddhhmss")-old.zip"
                Write-Output "Renamed existing ZIP File for $($Module)"
            }
    
            $Result = Save-Module -Name $Module -Path $SaveTo
    
            If(Test-Path("$($SaveTo)\$($Module)"))
            {
                Write-Output "`t$($Module) downloaded, begin zipping"
                Compress-Archive -Path "$($SaveTo)\$($Module)" -DestinationPath "$($SaveTo)\$($Module).zip"
                
                If(Test-Path("$($SaveTo)\$($Module).zip"))
                {
                    Write-Output "`t$($Module).zip created, removing download folder"
                    Remove-Item -Path "$($SaveTo)\$($Module)" -Recurse -Force
    
                    If(Test-Path("$($SaveTo)\$($Module)"))
                    {
                        Write-Output "`tFailed to remove $Module download folder"
                    }
                    Else
                    {
                        Write-Output "$($Module) folder removed"
                    }
                }
            }
            Else
            {
                Write-Output "Failed to download $Module"
            }
    
        }
    }
    Else
    {
        Write-Output "$SaveTo does not exist"
    }

Reply
  •   

    Where the module is not packaged (so just downloadable), and therefore you need to get it via a PSProvider, the below might help.

    This post by on "sqlrambling.net"

    INSTALLING POWERSHELL MODULE WITHOUT INTERNET ACCESS

    In essence you'd download them from the appropriate PSProvider, save them to file, transport, the import.

    Hope this helps

    The below is in essence the save of the powershell modules, as mentioned in the above article.

    $SaveTo = "C:\Temp\Modules"
    $Modules = ('ExchangeOnlineManagement','AzureAD','PartnerCenter','MicrosoftTeams')
    
    
    clear-host
    
    If(Test-Path($SaveTo))
    {
    
        ForEach($Module in $Modules)
        {
            Write-Output "$Module"
    
            If(Test-Path("$($SaveTo)\$($Module).zip"))
            {
                Rename-Item -Path "$($SaveTo)\$($Module).zip" -NewName "$($Module) $(Get-date -Format "yyyymmddhhmss")-old.zip"
                Write-Output "Renamed existing ZIP File for $($Module)"
            }
    
            $Result = Save-Module -Name $Module -Path $SaveTo
    
            If(Test-Path("$($SaveTo)\$($Module)"))
            {
                Write-Output "`t$($Module) downloaded, begin zipping"
                Compress-Archive -Path "$($SaveTo)\$($Module)" -DestinationPath "$($SaveTo)\$($Module).zip"
                
                If(Test-Path("$($SaveTo)\$($Module).zip"))
                {
                    Write-Output "`t$($Module).zip created, removing download folder"
                    Remove-Item -Path "$($SaveTo)\$($Module)" -Recurse -Force
    
                    If(Test-Path("$($SaveTo)\$($Module)"))
                    {
                        Write-Output "`tFailed to remove $Module download folder"
                    }
                    Else
                    {
                        Write-Output "$($Module) folder removed"
                    }
                }
            }
            Else
            {
                Write-Output "Failed to download $Module"
            }
    
        }
    }
    Else
    {
        Write-Output "$SaveTo does not exist"
    }

Children
No Data