Citrix XenApp 6.5 Bulk Re-Assign of WorkerGroup

We need to adjust the worker group assignment for about 100+ Appsz.. good luck tomorrow… have fun.. (right… time for some scripting with powershell… you need to┬áhave Citrix.XenApp.Commands installed!)

write-host “Loading Citrix Powershell Module: ” -fore yellow -nonewline
Add-PSSnapin Citrix*
write-host “Complete.” -fore green

Write-host “Loading Citrix Applications: ” -fore yellow -nonewline
$apps = Get-XAApplication
write-host $apps.count found -fore green

Foreach ($app in $apps)
$appName = $app.Browsername
Write-Host “$appName” -fore yellow -nonewline

If ($app.Enabled)
Write-Host “: Processing” -fore green
$app | Set-XAApplication -Enabled $False
$app | Set-XAApplication -WorkerGroupNames “The new WorkerGroup goes here (Get-XAWorkerGroup)”
$app | Set-XAApplication -Enabled $True
write-host “: Previously disabled, skipping” -fore red

Bootmgr missing (Win2K8R2)

Time for a server reboot, Microsoft updates, ah, that figures…. reboot.
Black screen saying it it missing it’s Boot Manager… right.. ueh…

This happened on a Windows Server 2008 R2 server that was updated.

Resolution as follows,

  • Input Windows Server 2008 R2 CD.
  • Restart server, and startup from CD.
  • Select language, next.
  • Choose system restore and open a command prompt.
  • navigate to CDDRIVE:\support\recovery\
  • Run StartRep.exe
  • Reboot Server.

No more BootMgr nagging… but nice Windows Logo showing up.