Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login

Site Notices
Posted: 3/18/2013 7:36:42 AM EDT
I'm trying to learn powershell and I need some help. I'm making a call with an SDK and it returns:

<?xml version="1.0" encoding="utf-16"?>...

How do I get the rest of the ServiceResponse after the ellipsis?
Link Posted: 3/18/2013 11:23:30 AM EDT
Getting the XML and displaying the XML are two different things. Data is often truncated when displayed on the screen in its default way.

What does this section of code look like?
Link Posted: 3/18/2013 11:54:56 AM EDT
I'm using the Powershell SDK for Amazon Web Services. Here is the command I issue and the response:

PS C:\Users\Mike\Desktop> Grant-EC2SecurityGroupIngress -GroupId sg-c15b42ad -IpProtocol udp -FromPort 22 -ToPort 22 -CidrIp

<?xml version="1.0" encoding="utf-16"?>...

Link Posted: 3/18/2013 12:12:21 PM EDT
Figured out that I could pipe it to write-host and get everything. Thanks you
Top Top