Powershell execution

Discussion in 'Windows Virtual Machine' started by RussB2, Dec 17, 2019.

  1. RussB2

    RussB2 Bit poster

    Messages:
    1
    I've searched for this and have come up empty. I have a PS1 file on my mac that I am attempting to execute via an association in Powershell on the Windows 10 Guest. I can launch powershell in the guest manually and execute the script using the shared folder (\\Mac\Home\etc...) and it runs as expected, but when I have the ps1 associated with Powershell in my Guest on the host mac, and I launch it, I see the powershell window pop up for a split second and go away. It's almost like the guest cannot find the script file or something. Is there a trick to doing this type of association/execution or will I just have to run powershell myself and just reference the script from the host os?
     

Share This Page