<# Basic Web form filling in PowerShell and IE you need to start power shell like this: PowerShell -ExecutionPolicy Bypass #> $Browser = New-Object -COM "InternetExplorer.Application" $URL = "http://filmsbykris.com/v6/index.php" $Browser.visible = $true $Browser.Navigate($URL) While ($Browser.ReadyState -ne 4) { Start-Sleep -Seconds 1 } $Inputs = $Browser.Document.getElementsByTagName("input") ($Inputs |select -first 1).value = "metal"