[THIN] Re: Powershell mfcom scripting

  • From: aaron.mason@xxxxxxx
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 31 Oct 2012 14:11:09 -0400

Figured as much.  Issue I am having is that the the get-xasession does not 
contain IPAddress info for active sessions.


Aaron J Mason 




From:
Andrew Wood <andrew.wood@xxxxxxxxxxxxxxxx>
To:
thin@xxxxxxxxxxxxx, 
Date:
10/31/2012 02:06 PM
Subject:
[THIN] Re: Powershell mfcom scripting
Sent by:
thin-bounce@xxxxxxxxxxxxx



No such thing as mfcom in XA6.5 â you need to load the powershell 
components 
 
SDK is here: 
http://community.citrix.com/display/xa/XenApp+6.5+Powershell+SDK
 
Carl Webster did a nice post on documenting XA6.5 using powershell which 
gives a walkthrough of setting stuff up. 
 
http://carlwebster.com/documenting-a-citrix-xenapp-6-5-farm-with-microsoft-powershell/
 
 
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On 
Behalf Of aaron.mason@xxxxxxx
Sent: 31 October 2012 17:41
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Powershell mfcom scripting
 
I am getting this error message when tring to create a farm variable in 
powershell:

New-Object : Retrieving the COM class factory for component with CLSID 
{ED62F4E2-63C2-11D4-94D8-0 
e to the following error: 80040154. 
At line:1 char:17 
+ $farm=New-Object <<<<  -com MetaframeCOM.metaframefarm 
    + CategoryInfo          : ResourceUnavailable: (:) [New-Object], 
COMException 
    + FullyQualifiedErrorId : 
NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand 


Anyone have any ideas.  I am moving to a xenapp6.5 farm and have some task 
that need to be migrated from vbscript to powershell. 


Thanks, 
Aaron J Mason 

The contents of this email are the property of PNC. If it was not 
addressed to you, you have no legal right to read it. If you think you 
received it in error, please notify the sender. Do not forward or copy 
without permission of the sender. This message may contain an 
advertisement of a product or service and thus may constitute a commercial 
electronic mail message under US Law. The postal address for PNC is 249 
Fifth Avenue, Pittsburgh, PA 15222. If you do not wish to receive any 
additional advertising or promotional messages from PNC at this e-mail 
address, click here to unsubscribe. 
https://pnc.p.delivery.net/m/u/pnc/uni/p.asp 
By unsubscribing to this message, you will be unsubscribed from all 
advertising or promotional messages from PNC. Removing your e-mail address 
from this mailing list will not affect your subscription to alerts, 
e-newsletters or account servicing e-mails.
 




The contents of this email are the property of PNC. If it was not addressed to 
you, you have no legal right to read it. If you think you received it in error, 
please notify the sender. Do not forward or copy without permission of the 
sender. This message may contain an advertisement of a product or service and 
thus may constitute a commercial electronic mail message under US Law. The 
postal address for PNC is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not 
wish to receive any additional advertising or promotional messages from PNC at 
this e-mail address, click here to unsubscribe. 
https://pnc.p.delivery.net/m/u/pnc/uni/p.asp 
By unsubscribing to this message, you will be unsubscribed from all advertising 
or promotional messages from PNC. Removing your e-mail address from this 
mailing list will not affect your subscription to alerts, e-newsletters or 
account servicing e-mails.


Other related posts: