Use the -Full parameter to
get the additional information such as IPAddress. It doesn't populate
by default to save on the amount of time it takes to return the data.
Figured as much. ÂIssue I am having
is that the the get-xasession does not contain IPAddress info for active
sessions.
Aaron J Mason
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.
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.
Â
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.
|