Forum Discussion
Mahmoud_Badran
May 10, 2019Former Employee
60 minutes timeout on MFA Session
Below is the script for a non-ending MFA session, that renews it self ; once you connect to ExO with this script it will stay open.
first Use Internet Explorer to download and install this module h...
bjbakker
Jul 30, 2020Copper Contributor
Following line is a bit slow because of directory traversal:
$PSExoPowershellModuleRoot = (Get-ChildItem -Path $env:userprofile -Filter CreateExoPSSession.ps1 -Recurse -ErrorAction SilentlyContinue -Force | Select -Last 1).DirectoryName
Replacing $env:userprofile with $($env:LOCALAPPDATA+"\Apps\2.0\") helps a lot.