All Documentation Scripts That Create Microsoft Word Documents Have Been Updated 14-MAR-2013

Two people reported an issue with running the new scripts.  My friend Michael B. Smith helped me find and fix the error.  The PVS, XenApp 5, XenApp 6 and XenApp 6.5 scripts have all been updated.  The XenDesktop 5 script currently in development has the fix.

This code snippet is the problem:

#Find out if winword is running in our session
[bool]$wordrunning = ((Get-Process 'WinWord' -ea 0)|?{?_.SessionId -eq $SessionID}) -ne $null
if ($wordrunning)
{
	Write-Host "Please close all instances of Microsoft Word before running this report."
	exit
}

{?_.SessionId -eq $SessionID}

should be

{$_.SessionId -eq $SessionID}

http://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/

Sorry for the inconvenience.

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 “All Documentation Scripts That Create Microsoft Word Documents Have Been Updated 14-MAR-2013”

  1. Donovan Sobrero Says:

    I use these script weekly to help document customers sites love to see new features all the time. Great job.

    Donovan Sobrero

    Reply

Leave a Reply