The problem I am having is making sense of the response. I can see the information I want is there and It looks like it's in XML but I can't get anything in PowerShell to do anything with it. 'select-xml' can't parse it and I cant convert it to JSON either. It's like the response is malformed in some way, which I'm sure it isn't. I could just use something like "-match" to get the results I want but I would rather do it properly.
Can anyone point me in the right direction please.
Hmm, if backup server is added to Enteprise Manager, why not to interact with it directly via PowerShell, instead of doing it with rather complicated approach (PowerShell invocation of RESTful API)? Thanks.
The problem I am having is making sense of the response. I can see the information I want is there and It looks like it's in XML but I can't get anything in PowerShell to do anything with it. 'select-xml' can't parse it and I cant convert it to JSON either. It's like the response is malformed in some way, which I'm sure it isn't. I could just use something like "-match" to get the results I want but I would rather do it properly.
Can anyone point me in the right direction please.
you will need to drill in the Content and the XML file