Execute powershell script in network drive

Answered Execute powershell script in network drive

  • Monday, January 07, 2013 4:11 AM
     
     

    Hi All,

    I have a powershell script saved in a network drive (mapped as W:\abc\def ghi\jkl\mno). How do i execute the ps1 file saved here using VBA or from the command prompt in my PC.

    Thanks in advance for the help.

    Regards,

    Ganesh

All Replies

  • Monday, January 07, 2013 5:56 AM
     
     Answered

    Hi All,

    I have a powershell script saved in a network drive (mapped as W:\abc\def ghi\jkl\mno). How do i execute the ps1 file saved here using VBA or from the command prompt in my PC.

    Thanks in advance for the help.

    Regards,

    Ganesh

    powershell w:\abc\def\myscript.ps1


    Happy New Year ¯\_(ツ)_/¯