Powershell

This was something implied by Peter Schulz (but not admitted—oh no, he’s in Marketing!) when Jonathan and I interviewed him on the podcast, and I’ve verified it this morning.  (See the podcast show notes for links to download WFS.)  Have a look-see:

45# Get-PSSnapin -Registered | ? { $_.Vendor -match 'Citrix' }

Name        : ArdencePSSnapIn
PSVersion   : 2.0
Description : This is a PSSnapin for Citrix's Provisioning Server commands.

Name        : NetScalerPSSnapIn
PSVersion   : 2.0
Description : This is a PSSnapin for Citrix's NetScaler commands.

Name        : XenAppPSSnapIn
PSVersion   : 2.0
Description : This is a PSSnapin for Citrix's XenApp commands.

It’s as easy as cake to add these to your session and start messing around.  I’ll leave that to someone like Brandon Shell who actually has some of these products laying around.  :)

 

52# Get-Command -PSSnapin Ard*,NetSc*,Xen* | group pssnapin

Count Name                      Group
----- ----                      -----
   26 XenAppPSSnapIn            {Add-Application, Add-Server, Connect-Farm, Disable-Appli...
   34 ArdencePSSnapIn           {Add-Ardence.Client, Add-Ardence.Server, Add-Ardence.vDis...
   49 NetScalerPSSnapIn         {Add-NetScaler.HTTPService, Add-NetScaler.IP, Add-NetScal...

53# Get-Command -PSSnapin Ard*,NetSc*,Xen* | group verb

Count Name                      Group
----- ----                      -----
   10 Add                       {Add-Application, Add-Ardence.Client, Add-Ardence.Server,...
    2 Bind                      {Bind-NetScaler.LBMonitorToService, Bind-NetScaler.LBVSer...
    1 Boot                      {Boot-Ardence.Client}
    4 Check                     {Check-Ardence.ClientExists, Check-Ardence.ServerExists, ...
    3 Clear                     {Clear-NetScaler.LBMonitorScript, Clear-NetScaler.LBMonit...
    1 Close                     {Close-NetScaler.Connection}
    1 Connect                   {Connect-Farm}
    8 Disable                   {Disable-Application, Disable-NetScaler.IP, Disable-NetSc...
    1 Disconnect                {Disconnect-Session}
    8 Enable                    {Enable-Application, Enable-NetScaler.IP, Enable-NetScale...
   30 Get                       {Get-Application, Get-Ardence.Client, Get-Ardence.ClientC...
    1 Initialize                {Initialize-NetScaler.Connection}
    1 Logoff                    {Logoff-Session}
    1 Map                       {Map-Ardence.vDisk}
    3 Modify                    {Modify-ApplicationGroup, Modify-ApplicationUser, Modify-...
    1 New                       {New-Ardence.vDisk}
    1 Publish                   {Publish-Application}
    1 Reboot                    {Reboot-Ardence.Client}
   10 Remove                    {Remove-Application, Remove-Ardence.Client, Remove-Ardenc...
    2 Restart                   {Restart-Ardence.ServerService, Restart-NetScaler.NS}
    1 Save                      {Save-NetScaler.Config}
    1 Send                      {Send-Ardence.ClientMessage}
   10 Set                       {Set-ApplicationAccount, Set-Ardence.Client, Set-Ardence....
    1 Shutdown                  {Shutdown-Ardence.Client}
    1 Start                     {Start-Ardence.ServerService}
    1 Stop                      {Stop-Ardence.ServerService}
    2 Unbind                    {Unbind-NetScaler.LBMonitorFromService, Unbind-NetScaler....
    1 Unlock                    {Unlock-Ardence.vDisk}
    1 Unmap                     {Unmap-Ardence.vDisk}

Looks pretty tasty!

: http://halr9000.com/article/512

Post a comment now » Sorry, the comments are closed.

No comments yet.

Sorry, the comment form is closed at this time.

  • Microblog

  • Recent Posts

  • Recent Comments

  • meta