How is metadata defined in ISHRemote

In the API it is defined in an ishfields string...

<ishfields>
  <ishfield name="VERSION" level="version">3</ishfield>
</ishfields>

 

In powershell how is -Metadata added. I am trying to update the ishdata field with a file in filepath, but am not sure what the -Metadata argument below takes.

 

Set-IshDocumentObj -IshSession $ishSession -Lng en-US -Metadata $ishfields -Version 1 -Edt EDTXML -FilePath .c:\sdl\data\=GUID-123...

 

Thanks

Parents Reply Children