param ($RelyingParty)
{
Add-PSSnapin Microsoft.Adfs.PowerShell
Set-ADFSRelyingPartyTrust -TargetName $RelyingParty -TokenLifetime 480
}
If you are not sure what your relying party is called, you can list them with this command:
Get-ADFSRelyingPartyTrust | format-list -Property Name
or from the ADFS MMC ;)
No comments:
Post a Comment