(view source code of login_connect_network_drives_based_on_group_membership.bat as plain text)
NET GROUP Marketing /DOMAIN | FINDSTR /R /I /B /C:"%UserName%$" >NUL
IF NOT ERRORLEVEL 1 (
NET USE G: \\Server\Marketing /PERSISTENT:No
)
page last modified: 2024-04-16; loaded in 0.0043 seconds