• PVS V3 Documentation Script and Support for PVS 7.1

    October 25, 2013

    PowerShell, PVS

    The PVS V3 documentation script has been tested with Provisioning Services 7.1 running on Windows Server 2012 R2 and ran with no issues.  Since Server 2012 R2 comes with PowerShell V4, that means that script ran with no issues with PowerShell V4.

    PS C:\webster> (Get-WmiObject -class Win32_OperatingSystem).Caption
    Microsoft Windows Server 2012 R2 Datacenter
    PS C:\webster> $host.version.major
    4
    PS C:\webster> .\pvs_inventory_v3.ps1 -verbose
    VERBOSE: checking for McliPSSnapin
    Loading Windows PowerShell snap-in: McliPSSnapIn
    VERBOSE: Getting PVS version info
    VERBOSE: Build PVS farm values
    VERBOSE: Setting up Word
    VERBOSE: Create Word comObject.  If you are not running Word 2007, ignore the next message.
    VERBOSE: The object written to the pipeline is an instance of the type “Microsoft.Office.Interop.Word.ApplicationClass”
    from the component’s primary interoperability assembly. If this type exposes different members than the IDispatch
    members, scripts that are written to work with this object might not work if the primary interoperability assembly is
    not installed.
    VERBOSE: Running Microsoft Word 2013
    VERBOSE: Validate company name
    VERBOSE: Validate cover page
    VERBOSE: Company Name: The Accidental Citrix Admin
    VERBOSE: Cover Page  : Motion
    VERBOSE: User Name   : Administrator
    VERBOSE: Farm Name   : PVS71Farm
    VERBOSE: Title       : Inventory Report for the PVS71Farm Farm
    VERBOSE: Filename    : C:\webster\PVS71Farm.docx
    VERBOSE: Script version: 3.0
    VERBOSE: Load Word Templates
    VERBOSE: Create empty word doc
    VERBOSE: disable spell checking
    VERBOSE: insert new page, getting ready for table of contents
    VERBOSE: table of contents
    VERBOSE: set the footer
    VERBOSE: get the footer and format font
    VERBOSE: Footer text
    VERBOSE: add page numbering
    VERBOSE: return focus to main document
    VERBOSE: move to the end of the current document
    VERBOSE: Processing PVS Farm Information
    VERBOSE: Processing Security Tab
    VERBOSE: Processing Groups Tab
    VERBOSE: Processing Licensing Tab
    VERBOSE: Processing Options Tab
    VERBOSE: Processing vDisk Version Tab
    VERBOSE: Processing Status Tab
    VERBOSE: Processing Sites
    VERBOSE: Processing Site PVS71Site
    VERBOSE: Processing Security Tab
    VERBOSE: Processing Options Tab
    VERBOSE: Processing vDisk Update Tab
    VERBOSE: Processing Servers in Site PVS71Site
    VERBOSE: Processing Server PVS71
    VERBOSE: Processing General Tab
    VERBOSE: Processing Network Tab
    VERBOSE: Processing Stores Tab
    VERBOSE: Processing Stores for server
    VERBOSE: Processing Store PVS71Store
    VERBOSE: Processing Options Tab
    VERBOSE: Processing Server Tab on Advanced button
    VERBOSE: Processing Network Tab on Advanced button
    VERBOSE: Processing Pacing Tab on Advanced button
    VERBOSE: Processing Device Tab on Advanced button
    VERBOSE: Processing Bootstrap files
    VERBOSE: Processing Bootstrap files for Server PVS71
    VERBOSE: Processing General Tab
    VERBOSE: Processing Options Tab
    VERBOSE: Processing all vDisks in site
    VERBOSE: Processing vDisk test
    VERBOSE: Processing Properties General Tab
    VERBOSE: Processing Identification Tab
    VERBOSE: Processing Auto Update Tab
    VERBOSE: Processing vDisk Load Balancing Menu
    VERBOSE: Processing vDisk Update Management
    VERBOSE: Processing all device collections in site
    VERBOSE: Processing Collection PVS71Collection
    VERBOSE: Processing General Tab
    VERBOSE: Processing Security Tab
    VERBOSE: Processing Auto-Add Tab
    VERBOSE: Processing each collection process for each device
    VERBOSE: Processing Device testdevice
    VERBOSE: Processing General Tab
    VERBOSE: Processing vDisks Tab
    VERBOSE: Processing all bootstrap files for this device
    VERBOSE: Processing Authentication Tab
    VERBOSE: Processing Personality Tab
    VERBOSE: Processing all site views in site
    VERBOSE: Processing virtual hosts (PVS7)
    VERBOSE: Processing all PVS Farm Views
    VERBOSE: Processing Stores
    VERBOSE: Processing Store PVS71Store
    VERBOSE: Processing General Tab
    VERBOSE: Processing Servers Tab
    VERBOSE: Processing Server PVS71
    VERBOSE: Processing Paths Tab
    VERBOSE: Finishing up Word document
    VERBOSE: Set Cover Page Properties
    VERBOSE: Update the Table of Contents
    VERBOSE: Save and Close document and Shutdown Word
    PS C:\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

    No comments yet.

    Leave a Reply