Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Rémi
Rémi
8 years ago

Hello Jos and thank you for this script.
I’m not using ADFS and autodetect was not working well for me (aborting with “waited for more than 5 to get redirected to ADFS, aborting script)
Setting $adfsWaitTime to 0 as suggested in the parameter comment did not help too.
So I add these few lines on line 398 of your script.
Now it works perfectly !

if($adfsWaitTime -eq 0){
ac $logfile “ADFS not in use”
$useADFS = $False
$redirecting = $False
}
elseif($redirWaited -ge $adfsWaitTime){