Hey everyone, I need some guidance on how to accomplish something.
I want to write a script that will check to see if my laptop can see the NAS (my NAS on my local/home network), and if so, map the drives. Otherwise (ie: I’m not at home), I don’t want Windows to bother trying to map the drives.
My idea was to run a test-connection script that would go out and try to find the NAS. The following powershell command:
Test-connection –Computername NAS01 –Buffersize 16 –Count 1 –Quiet...
Help writing script to check for NAS availability
I want to write a script that will check to see if my laptop can see the NAS (my NAS on my local/home network), and if so, map the drives. Otherwise (ie: I’m not at home), I don’t want Windows to bother trying to map the drives.
My idea was to run a test-connection script that would go out and try to find the NAS. The following powershell command:
Test-connection –Computername NAS01 –Buffersize 16 –Count 1 –Quiet...
Help writing script to check for NAS availability