How to run a command from being in a directory in D drive in Powershell RRS feed

  • Question

  • I am trying to run a powershell command from below in section b. The Provisioning services console is in D:\ drive as the software is installed in D drive. But, I need to run the Citrix.PVS.snapin.dll which is in C drive Windows location. How will I run this from D drive. I have attached the screenshot

    For PVS 7.7 and later:

    1. Navigate to:

      C:\program files\citrix\provisioning services console

    2. Run the command:

      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe Citrix.PVS.snapin.dll


    Friday, April 5, 2019 2:37 PM

All replies

  • You do not have the Net 4.0 framework installed.

    Do this:

    Test-Path C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe

    If it is false then you need to I stall Net 4.0

    If you are on a 32 bit system then this will not be installed.

    Try this too:

    Test-Path C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe

    This will test for the 32 bit version

    Contact Citrix for help installing this code.  The issue has nothing to do with PowerShell.


    Friday, April 5, 2019 2:51 PM
  • You misspelled the folder name. You entered "Microsof.NET".
    Friday, April 5, 2019 2:52 PM
  • You misspelled the folder name. You entered "Microsof.NET".

    Good catch.  This is why posting images of errors is a bad idea.


    • Edited by jrv Friday, April 5, 2019 2:59 PM
    Friday, April 5, 2019 2:58 PM