...
The latest documentation for installation and upgrading can always be found here:
https://github.com/fedtools/adfstoolkit
Update Procedure
Get-ADFSTkHealth -HealthCheckMode Full
https://release-check.swamid.se
Copy-Item -Path C:\ADFSToolkit -Destination "C:\ADFSToolkit - 2.2.1 before upgrade 2.3.0" -Recurse
Update-Module ADFSToolkit
Get-InstalledModule ADFSToolkit -AllVersions
Uninstall-Module ADFSToolkit -RequiredVersion 2.2.1
Disable-ADFSTkInstitutionConfiguration
We do this so no imports are run untill we’re certain that everything looks good
Get-ADFSTkFederationDefaults -URL https://mds.swamid.se/qa/entity-configurations/ADFSToolkit/v2.3.0/SWAMID_FederationDefaults.zip -InstallDefaultsUpdate-ADFSTk
This new cmdlet will take care of all configuration updates, including Federation Defaults, ADFSTk Config and ADFSTk Institution config(s)
If you have ADFSTkStore or ADFSTkRefedsMFA/ADFSTkRefedsSFA installed, you will be asked to upgrade them if needed.
If you don’t have F-ticks installed you will be asked to install it.$ReleaseCheckSPs = Get-ADFSTkToolEntityId -Search release-check.swamid.se | Select -ExpandProperty Identifier
$i = 0
foreach ($ReleaseCheckSP in $ReleaseCheckSPs) {
$i++
Write-Host "Importing '$ReleaseCheckSP'... ($i/$($ReleaseCheckSPs.Count))" -ForegroundColor Yellow
Import-ADFSTkMetadata -ConfigFile C:\ADFSToolkit\config\institution\config.Swamid.xml -EntityId $ReleaseCheckSP -ForceUpdate
}Register-ADFSTkFTicksScheduledTask
Enable-ADFSTkInstitutionConfiguration
Installation Procedure
Downloading the ADFS Toolkit uses Microsoft’s PowerShellGallery.com service as the official primary distribution channel of ADFS Toolkit as a PowerShell Module. This allows us to rely on Microsoft’s approach to managing distribution and updated PowerShell Modules for the life cycle of ADFS Toolkit.
...