I'm trying to launch Chrome in PowerShell with a specific user profile (--profile-directory parameter), but it creates a new profile instead.
I've tried:
& "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory=Foobar
& "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --profile-directory=Foobar"
& "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --profile-directory='Foobar'"
Start-Process "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory=Foobar
Start-Process "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --profile-directory=Foobar"
etc....