I've not checked out the XML yet. Maybe you'd consider posting more
details, and maybe someone will see something from your code...
Marco
"Joe Morris" <j.c.morris@newsgroup> wrote in message
news:h8guhf02e3q@newsgroup
> Has anyone successfully built a PowerShell script that can manipulate (as
> an XML file) the AutoUnattend.XML file created by Microsoft's SIM for
> Windows 7 and used to drive its setup process?
>
> I don't have any trouble with a plain-vanilla XML file, but there's
> something about the way that the unattend file is using namespace
> specifications (including multiple namespace specs in a single node)
> that's causing my xpath filter to consistently return a null response.
> (If the unattend.xml file had a single namespace spec my code would work,
> but the multiple specs seem to be confusing both my code and me.)
>
> I'll be happy to accept a response of RTFM if someone can tell me where to
> look in which FM (or which FURL if that's more appropriate...) I'll also
> happily accept a pointer to Google, but so far I've not been able to build
> a search argument that gets me the answer.
>
> This isn't a crisis for now; after spending more time than I care to admit
> trying to find a solution I've changed my build process so that I can do
> the edit by treating autounattend.xml as a flat file, but in the future I
> may need to be able to work with it as a native XML data file.
>
> Incidentally, I'm working with Powershell 2 on the RTM version of Windows
> 7 Enterprise.
>
> Thanks in advance for any help.
>
> Joe Morris
>