使用xml文件作为变量
[xml]$xmlinput = (Get-Content "E:\Alfred WorkSpace\Project\AutoSPInstaller\SP2010\AutoSPInstaller\config.xml")
$xmlinput.Configuration.Farm.Account.Username使用xml文件作为变量
[xml]$xmlinput = (Get-Content "E:\Alfred WorkSpace\Project\AutoSPInstaller\SP2010\AutoSPInstaller\config.xml")
$xmlinput.Configuration.Farm.Account.Username