Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Cannot set properties on variables after using escape in PowerShell

$
0
0

Environment: Win 7, IE11, PowerShell 3

I have a setup that involves 2 large panel screens driven from a computer. I'm attempting to use PowerShell to display 2 different webpages, one on each screen in fullscreen mode.

Testing with two generic webpages works just fine:

Powershell
FunctionMultiScreen{$ie1=New-Object-ComObjectInternetExplorer.Application$ie1.navigate("http://google.com")$ie1.top=0$ie1.left=0$ie1.width=1920$ie1.height=1080$ie1.fullscreen=$true$ie1.visible=$true$ie2=New-Object-ComObjectInternetExplorer.Application$ie2.navigate("http://bing.com")$ie2.top=0$ie2.left=$ie1.left+$ie1.width$ie2.width=1920$ie2.height=1080$ie2.fullscreen=$true$ie2.visible=$true}MultiScreen

The problem comes with the actual webpages I wish to use, the urls for which are mildlycomplex and involve...


Viewing all articles
Browse latest Browse all 15370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>