0

I am trying to open chrome with custom zoom size using powershell using following command

& 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'  http://www.gnu.org/ /force-device-scale-factor=1.5  /incognito

Command opens the site in incognito mode. However, the zoom scale is still 100%. What could be going wrong?

LogicIO
  • 627
  • 7
  • 15

1 Answers1

1

This was already half answered here

I changed the code to be:

$pathToChrome = 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
$tempFolder = '--user-data-dir=c:\temp' 
$zoomScale = "--force-device-scale-factor=1.5"
$startPage = 'https://stackoverflow.com'

Start-Process -FilePath $pathToChrome -ArgumentList $tempFolder, $startPage, $zoomScale
I.T Delinquent
  • 2,305
  • 2
  • 16
  • 33