Hello All,
At the powershell prompt I type these commands and receive this output as below:
****************************************************************************************************************
PS H:\> $PathToXmlDoc ="c:\codesets.xml"
PS H:\> [xml] $XMLDoc = (Get-Content $PathToXmlDoc )
PS H:\> $XMLDoc
codesets
-------------
codesets
PS H:\> $XMLDoc.codesets
previous : previous
finalnsr : finalnsr
***************************************************************************************************************
The output is as expectied
When I add these command to a ps1 script the output is black, and no error messages either.
Please help!
Thanks
Anton