Skip to main content

All Questions

0 votes
0 answers
57 views

Conversion of url to pdf using chrome command line

I am using this code in powershell to convert url to pdf start chrome -ArgumentList "--headless --print-to-pdf=C:\Users\user\Desktop\file1.pdf link but it is not providing any css. Is there any ...
xmsk's user avatar
  • 1
0 votes
1 answer
136 views

How to find the lowest "latest version" of Google Chrome

Before 2023, this was an easy question to answer. Google hosted a JSON at Omahaproxy (https://omahaproxy.appspot.com/json) which would give a simple response when queried. Asking... (Invoke-WebRequest ...
seagull's user avatar
  • 5,594
0 votes
0 answers
52 views

How can I block these Edge and Chrome settings?

https://imgur.com/a/fVPo4DV It says: "Your Privacy is important for Microsoft Edge... bla bla bla... " I can either click on Accept or Deny All. This always pops up when Edge is opened for ...
ProprietaryCloudGaming's user avatar
4 votes
3 answers
11k views

Downloading Google Chrome using Powershell

Is it possible to download the latest version of Google Chrome using Powershell. I'm an IT Admin looking at putting a script together for our field techs. Since upgrading our client machines to ...
uberdude's user avatar
0 votes
0 answers
21 views

Why are my cookies empty with Invoke-WebRequest? [duplicate]

I am trying to open a webpage with Invoke-WebRequest and when I use the -Session parameter, it is empty, am I using it correctly? I've noticed the page does not display to Invoke-WebRequest unless I ...
Bbb's user avatar
  • 111
0 votes
1 answer
88 views

How to solve chrome opening old tab

Chrome is driving me crazy today, I use a powershell script top open different tab for certain of our software. But for some reaosn, chrome decide to open multiple Tab with all the different previous ...
Maslie's user avatar
  • 114
0 votes
1 answer
148 views

Automating image compression in Chrome with PowerShell and AutoHotkey

I want to automatically compress images I download through Chrome. As a superuser-in-training, I have tried using PowerShell but need further guidance. Additionally, I almost got AutoHotkey to work ...
JohnTry's user avatar
0 votes
1 answer
614 views

Add a new cookie from outside of chrome

I have this command which enters the user in a chrome window to my site. chrome.exe --incognito --app="https://www.example.com/home" I want the user to log into their account once (both the ...
user17293366's user avatar
0 votes
1 answer
440 views

How can I add a new cookie to chrome using powershell [closed]

How do I add a new cookie to chrome using powershell I searched for this topic and couldn't find anyone talking about it before
A7ec's user avatar
  • 1
0 votes
0 answers
198 views

Programmatically accept all cookies in a Windows browser

How can I get Windows to confirm / OK all cookies in all sites in a Windows browser? I don't mind if the language is PowerShell or AutoHotkey or similar, and I don't mind if the browser is Edge or ...
YorSubs's user avatar
  • 949
1 vote
1 answer
1k views

How can I batch download multiple dropbox links from a website?

I'm browsing a site whose author includes multiple links to files on Dropbox. I want to download all of them without clicking each individual link. I have several Chrome extensions that batch download ...
theycallmevirgo's user avatar
0 votes
0 answers
4k views

Google Chrome Removal and Installation

I am working on a script to uninstall Google Chrome and Reinstall it via Intune (Microsoft Endpoint Manager). Recently, we've had so many problems getting Chrome updated as it keeps producing errors. ...
daaqis's user avatar
  • 1
0 votes
1 answer
763 views

Relative path when opening a file in Chrome via PowerShell

I'm on Windows 10, and I'm trying to open a file with Chrome, however, PS always ends up sending it the relative path. I'm running commands inside a directory called phy, and here is it's structure (...
eccentricOrange's user avatar
7 votes
1 answer
38k views

Launch Chrome full screen to a specific URL using PowerShell?

How do I launch a Chrome browser in a full screen window with a specific URL as the webpage to open using PowerShell? start "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --...
Jaymes's user avatar
  • 73
0 votes
1 answer
120 views

Is there a way to do some action if a specific website is visited?

I want to make something in cmd/powershell/vbs that monitors your browser activity and if a specific website is visited do something . Powershell Example: function Infinite-Detect { while($true) { ...
TheCodeExpert's user avatar

15 30 50 per page