Link to home
Start Free TrialLog in
Avatar of mail2clk
mail2clk

asked on

Remove signed in accounts in chrome using powershell.

I need assistance in trying to remove all gmail accounts signed into chrome on a public computer using powershell. I tried the following and substituted the parameter "USERNAME" with the real username.

Remove-Item -path "C:\Users\$env:USERNAME\AppData\Local\Google\Chrome\User Data\Default\Cache\*" -Recurse -Force -EA SilentlyContinue -Verbose
Write-Host -ForegroundColor yellow "Google Chrome Cache Removal - COMPLETE"

Open in new window


Can someone be able to provide some guidance on this?

Many thanks in advance.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.