Archive | April, 2014

Finding Domain Trusts in an Active Directory Forest using Microsoft PowerShell

April 21, 2014

11 Comments

For my Active Directory (AD) documentation script, I needed to enumerate all Trusts for a Domain. I found a script on TechNet but it had issues. I fixed the issues but I cannot post it as a solution on TechNet because my script is longer than 2000 characters.

Continue reading...

Checking if User has Admin Rights When Running a PowerShell Script

April 16, 2014

2 Comments

For my Active Directory documentation script, if the user requests hardware inventory for the domain controllers, the user must run the script with domain administrator credentials.  How do you determine if a script is being run with Domain Admin rights?

Continue reading...

XenApp 6 V4.1 Documentation Script Has Been Updated 14-Apr-2014

April 14, 2014

0 Comments

I received an email from Lee Dehmer that he was getting a Divide by Zero error in the XenApp 6.5 script. This same bug was in the XenApp 6.0 script. When processing Worker Groups, I set a maximum table width of 60 columns. The table is indented 36 pixels (or .5 inches/12.7 mm). The two […]

Continue reading...

XenApp 5 V4.1 Documentation Script Has Been Updated 14-Apr-2014

April 14, 2014

0 Comments

I recently had to fix a bug in the XenApp 6.5 and XenApp 6.0 scripts. After fixing that bug I took the time to add a few user requests into the scripts. Since two of the user requests also affected the XenApp 5 script, I thought I might as well update that script also.

Continue reading...

XenApp 6.5 V4.1 Documentation Script Has Been Updated 14-Apr-2014

April 14, 2014

0 Comments

Citrix Policies

I received an email from Lee Dehmer that he was getting a Divide by Zero error in the XenApp 6.5 script.  This same bug was in the XenApp 6.0 script.  When processing Worker Groups, I set a maximum table width of 60 columns.  The table is indented 36 pixels (or .5 inches/12.7 mm).  The two combined should […]

Continue reading...