Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $url = "http://fakeupdate.net/windows98/index.html"
- $computer = "TargetComputer"
- Invoke-Command -ComputerName $computer -ScriptBlock {
- $ie = New-Object -ComObject "InternetExplorer.Application"
- $ie.Visible = "true"
- $ie.fullscreen = "true"
- $ie.navigate("$url")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement