1 2 3 4 5 6 7 8 |
$ie = New-Object -com "InternetExplorer.Application" $ie.Navigate("about:blank") $ie.visible = $true $ie.document.write("<button onclic="" getelementbyid('date').innerhtml="Date()""">¿Qué fecha y hora es?</button> ") $doc = $ie.Document |