Hello guys,
At start I’m new in Powershell and I have a little problem with processing xml file. I try open Virtualbox.xml file
[xml]$xml = Get-Command c:\VirtualBox.xml
and receive that error.
Cannot convert value "VirtualBox.xml" to type "System.Xml.XmlDocument". Error: "Data at the root level is invalid. Line
1, position 1."
At line:1 char:10
+ [xml]$xml <<<< = Get-Command c:\VirtualBox.xml
+ CategoryInfo : MetadataError: (:) [], ArgumentTransformationMetadataException
+ FullyQualifiedErrorId : RuntimeException
Peter