Link to home
Start Free TrialLog in
Avatar of Hans de Jongh
Hans de JonghFlag for Netherlands

asked on

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

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!
Avatar of Montoya
Montoya

you can create a calculated column that extracts the value that exists between the quotes, for example.
Avatar of Hans de Jongh

ASKER

im sorry I should have said I need something for powershell..
ASKER CERTIFIED SOLUTION
Avatar of Hans de Jongh
Hans de Jongh
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i found a solution online