You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the Script runs (offline, or with no active VPN connection) the Script does not retrieve the GroupMemberships and unmapp all drives
with active GroupFilter.
Hello,
if the Script runs (offline, or with no active VPN connection) the Script does not retrieve the GroupMemberships and unmapp all drives
with active GroupFilter.
this will return nothing
for me i changed it to
if(!$groupMemberships)
{
Write-Output "No GroupMemberships, exit Script"
exit
}
so if no GroupMemberships can be retrieved it stops the processing and does not unmapp my Drives.
ps. failure handling in this part is also important
catch {
#nothing we can do
exit
}
Thank you
The text was updated successfully, but these errors were encountered: