Powershell klick Web Button

Donnerstag, 30. Januar 2020

14:10

 

\$ie = New-Object -ComObject \'internetExplorer.Application\'

\$ie.Visible= \$true

 

\$ie.Navigate(\"https://wizdom-spp.bkk-mobiloil.de/Base/Pages/Configuration.aspx?SPHostUrl=https://workplace.bkk-mobiloil.de/test/06rkotestpro3&SPLanguage=de%2DDE&SPClientTag=0&SPProductNumber=16%2E0%2E10343%2E20000#!?configurationRoot=Administration.html&selectedModule=Installation&selectedPage=Installation\")

 

\$Button = \$ie.Document.getElementsByTagName(\"button\") \|?{\$\_.outerhtml -like \"\*Install\*\"}

 

\$Button.click()

 

\$ie.quit()