-WindowsStyle隐藏在Powershell上不起作用
所以我对PowerShell几乎一无所知,但我一直在努力慢慢学习 最终目标是让PowerShell打开一个不可见的Internet Explorer实例,该实例使用参数导航到“Google.com” -noframemerging-private 到目前为止-WindowsStyle隐藏在Powershell上不起作用,powershell,internet-explorer,Powershell,Internet Explorer,所以我对PowerShell几乎一无所知,但我一直在努力慢慢学习 最终目标是让PowerShell打开一个不可见的Internet Explorer实例,该实例使用参数导航到“Google.com” -noframemerging-private 到目前为止 Start-Process -FilePath 'C:\Program Files\Internet Explorer\iexplore.exe' 'google.com -noframemerging -private' 用于创建IE,
Start-Process -FilePath 'C:\Program Files\Internet Explorer\iexplore.exe' 'google.com -noframemerging -private'
用于创建IE,但不隐藏
我还尝试了另一段代码
Start-Process -WindowStyle Hidden -FilePath 'C:\Program Files\Internet Explorer\iexplore.exe' 'google.com -noframemerging -private'
但IE窗口仍然可见。我怎样才能解决这个问题
而且
-WindowStyle最小化了的效果。这只是您尝试过的另一段代码吗?还是这对你有用?请编辑你的答案,并描述你文章的目的。
Start-Process -WindowStyle Hidden iexplore.exe
-ArgumentList "google.com -noframemerging -private"