auto map network drive via powershell script

create a .ps1 script file with entry

“New-PSDrive -Name “S” -Root “\192.168.1.7\scan” -Persist -PSProvider “FileSystem”

setup task schedule to run this mapping script

in Actions tab, create new Action

1: start a program

2: Program/script: powershell

3: Add arguments (optional): -File C:\Users\li_s\Desktop\MapNetworkDrive.ps1