function Install-AlkamiDeveloperPowershellTools { <# .SYNOPSIS This function is a thin shim of how to update the modules. #> # TODO: REMOVE ME [CmdletBinding()] [OutputType([void])] param( [switch]$IncludeInstallers, [switch]$All ) Write-Warning "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" Write-Warning "!! THIS FEATURE WILL BE DEPRECATED. PLEASE USE Update-DeveloperModules !!" Write-Warning "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" if ($All) { $IncludeInstallers = $true } $knownModuleList = @( 'Alkami.PowerShell.Common' 'Alkami.PowerShell.AD' 'Alkami.PowerShell.Configuration' 'Alkami.PowerShell.Services' 'Alkami.PowerShell.Database' 'Alkami.PowerShell.ServerManagement' 'Alkami.PowerShell.Choco' 'Alkami.PowerShell.ServiceFabric' 'Alkami.PowerShell.IIS' ) if ($IncludeInstallers) { $knownModuleList += @( 'Alkami.Installer.Widget' 'Alkami.Installer.Provider' 'Alkami.Installer.WebExtension' 'Alkami.Installer.WebApplication' 'Alkami.Installer.Services' 'Alkami.Installer.WebSite' 'Alkami.Installer.LegacyUtility' 'Alkami.Installer.Hotfix' 'Alkami.Installer.Migration' 'Alkami.SRE.MigrationUtility' ) } choco upgrade ($knownModuleList -join ';') -fy Get-Module Alkami* | Remove-Module -Force }