Carl Webster Accessibility Statement

Carl Webster is committed to facilitating the accessibility and usability of its website, carlwebster.com, for everyone. Carl Webster aims to comply with all applicable standards, including the World Wide Web Consortium’s Web Content Accessibility Guidelines 2.0 up to Level AA (WCAG 2.0 AA). Carl Webster is proud of the efforts that we have completed and that are in-progress to ensure that our website is accessible to everyone.

If you experience any difficulty in accessing any part of this website, please feel free to email us at info@carlwebster.com and we will work with you to provide the information or service you seek through an alternate communication method that is accessible for you consistent with applicable law (for example, through telephone support).

  • Using the New Citrix Provisioning Services PowerShell with PVS 7.0, 7.1, 7.6 and 7.6 LTSR

    September 12, 2016

    PowerShell, PVS

    I have been told that if you install the Citrix Provisioning Services (PVS) 7.7, or later, console on version 7.0 through 7.6 LTSR that you can use the new Citrix PVS PowerShell. You know, the new, real, object-oriented PowerShell. I decided to test this to see if it was true.

    Before we begin, let’s get the most important question out of the way. “If I install the PVS 7.9 console on my 7.1 PVS farm, is this supported by Citrix?” Yes, it is a supported configuration. The usual warnings apply. Test first. Test in your lab first. Don’t just blindly apply this in production because you read it here without first having database and server backups. Test, test, and then test again.

    If you are still using PVS 7.0 or 7,1, it is about time you upgraded.

    I am going to assume you have PVS version 7.0 or 7.1 or 7.6 or 7.6 LTSR installed along with the console. I am using 7.1 with Hotfix PVS710ServerConsoleWX64004 for PVS Server and Console 7.1 x64 .

    Verify the old POS PVS PowerShell works.

    1. Start a PowerShell session
    2. Type in add-pssnapin *mcli* and press enter
    3. Type in mcli-info version and press enter
    Figure 1
    Figure 1

    Note: Use the following steps ONLY if you want to remove the old crappy, POS PVS PowerShell from the server. If you plan on using the PVS Assessment script, leave the old PVS PowerShell installed.

    Start an elevated PowerShell session.

    Use the following PowerShell commands to uninstall the old PVS PowerShell snapin.

    $installutil = $env:systemroot + '\Microsoft.NET\Framework\v4.0.30319\installutil.exe'
    
    &$installutil -u "$($env:ProgramFiles)\Citrix\Provisioning Services Console\McliPSSnapIn.dll"
    
    $installutil = $env:systemroot + '\Microsoft.NET\Framework64\v4.0.30319\installutil.exe'
    
    &$installutil -u "$($env:ProgramFiles)\Citrix\Provisioning Services Console\McliPSSnapIn.dll"
    
    Figure 2
    Figure 2

    Exit PowerShell.

    Install the PVS 7.7 or later console. I installed 7.9.

    Figure 3
    Figure 3

    Open an elevated command prompt and run the following to register the new, real, object-oriented PVS PowerShell Snapin.

    %systemroot%\Microsoft.NET\Framework\v4.0.30319\installutil.exe "%ProgramFiles%\Citrix\Provisioning Services Console\Citrix.PVS.SnapIn.dll"
    
    %systemroot%\Microsoft.NET\Framework64\v4.0.30319\installutil.exe "%ProgramFiles%\Citrix\Provisioning Services Console\Citrix.PVS.SnapIn.dll"
    
    Figure 4
    Figure 4

    Open a PowerShell session and type in the following:

    Add-pssnapin *citrix*
    
    Get-PVSVersion
    
    Figure 5
    Figure 5

    The new (real) PVS PowerShell is now ready for use.

    To give the new PVS PowerShell a full test, run version 5.xx PVS Documentation Script.

    https://www.carlwebster.com/downloads/download-info/new-provisioning-services-pvs/

    Figure 6
    Figure 6

    There you have it. Fully functional new PVS PowerShell on an old PVS 7.x version AND supported by Citrix.

    Thanks

    Webster







    About Carl Webster

    Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

    View all posts by Carl Webster

    One Response to “Using the New Citrix Provisioning Services PowerShell with PVS 7.0, 7.1, 7.6 and 7.6 LTSR”

    1. Andy Simmons Says:

      This is all kinds of awesome. Thanks for sharing!

      Reply

    Leave a Reply