ReadXML
$ds=New-Object Data.DataSet
$ds.ReadXml("C:\ZS\powershell\AssignIP.xml")
$ds.Tables[0].Rows[0].Name
$ds.Tables[0].Rows[0].PSBase["ServerBindings"]
$ds=New-Object xml.XmlDocument
$ds.Load("C:\ZS\powershell\AssignIP.xml")
$ds.Sharepoint.WebApplication.ServerBindings.ServerBinding[0]
$ie=New-Object -Com InternetExplorer.Application
Get-Process i*
$ie.Visible=$true
$ie.Visible=$false
$ie.Application
foreach($item in (1,2,3,4)){
if($item -eq 3){
echo "Found"
}
}
new-item -path c:\c.txt -itemType "file"
add-content -path c:\c.txt -value ("1234455667788")