Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $url = "http://fakeupdate.net/windows98/index.html"
  2. $computer = "TargetComputer"
  3.  
  4. Invoke-Command -ComputerName $computer -ScriptBlock {
  5.  
  6. $ie = New-Object -ComObject "InternetExplorer.Application"
  7. $ie.Visible = "true"
  8. $ie.fullscreen = "true"
  9. $ie.navigate("$url")
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement