Installing XenApp 6 PowerShell SDK

Download source for v6 here, for updated versions refer to Citrix Developer Network. Once downloaded, installing the SDK is simply invoking the installer as local admin.  A successful installation looks like below: As shown above, the installer installs below snap-ins for Powershell: Citrix Common Commands Citrix XenApp server SDK Citrix Group Policy Management The exact snap-in names are as below: Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. Loading Citrix.Common.Commands snapin… Loading Citrix.Common.GroupPolicy snapin… Loading Citrix.XenApp.Commands.Remoting module… To list all the Citrix commands: Get-CtxCommand To list the Citrix commands related to a specific topic: Get-CtxCommand *topic* To display […]

Read more

PS: Manage User Desktop Settings

PS Command to query user desktop background/wallpaper setting value [1]: Get-itemproperty -path "HKCU:Control PanelDesktop" -name WallPaper PSPath       : Microsoft.PowerShell.CoreRegistry::HKEY_CURRENT_USERControl PanelDesktop PSParentPath : Microsoft.PowerShell.CoreRegistry::HKEY_CURRENT_USERControl Panel PSChildName  : Desktop PSDrive      : HKCU PSProvider   : Microsoft.PowerShell.CoreRegistry Wallpaper    : C:Downloadsdesktop-paper_007.jpg [2]: PS Command to query user desktop background/wallpaper setting value [2]: set-itemproperty -path "HKCU:Control PanelDesktop" -name WallPaper -value "C:Downloadsdesktop-paper_new.jpg" [3]: PS Command to enforce the user desktop setting changes $(c:windowsSystem32RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters)     .

Read more

Rich GUI tools to ease working in PowerShell

Here a re list of various tools, utilities and options that can make you feel more happier working with PowerShell PoshConsole: is a modern graphical PowerShell Console. Interesting to view results in UI on cmd. Powershell Glass: makes your powershell and cmd windows transparent. PowerGUI: is one of the best and free IDE for PS scripting.  

Read more