Solved

How can i fill a variable with data from another variable (which has a xml part)

Posted on 2014-12-04
5
71 Views
Last Modified: 2014-12-09
Hello,

I have a variable filled with an sharepoint item.

Now this item array has an xml field. In this XML field I have certain fields I need

so I have
$item.xml

and I need in $invoice a number which is in that xml in the following text:
ows_Factuurnummer_x0020_Leverancier='12345678' o
ws_totaal_x0020_bedrag

the invoicenumber is 12345678

thanks!
0
Comment
Question by:Hans de Jongh
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Montoya
ID: 40481141
you can create a calculated column that extracts the value that exists between the quotes, for example.
0
 
LVL 19

Expert Comment

by:Montoya
ID: 40481149
0
 

Author Comment

by:Hans de Jongh
ID: 40481472
im sorry I should have said I need something for powershell..
0
 

Accepted Solution

by:
Hans de Jongh earned 0 total points
ID: 40481654
$item["Factuurnummer Leverancier"]

oh that was simple:)
0
 

Author Closing Comment

by:Hans de Jongh
ID: 40488441
i found a solution online
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question