Add chrome popups
###
$urls = @(
"https://<webstite>",
"https://<webstite>",
"https://<webstite>",
"https://<webstite>",
"https://<webstite>"
)
$registryPath = "HKCU:\Software\Policies\Google\Chrome\PopupsAllowedForUrls"
if (!(Test-Path $registryPath)) {
New-Item -Path $registryPath -Force | Out-Null
}
$existingUrls = Get-ItemProperty -Path $registryPath -ErrorAction SilentlyContinue
$nextIndex = ($existingUrls.PSObject.Properties | Where-Object { $_.Name -match '^\d+$' } | Measure-Object).Count
foreach ($url in $urls) {
New-ItemProperty -Path $registryPath -Name $nextIndex -Value $url -PropertyType String -Force | Out-Null
"הכתובת $url נוספה להגדרות החלונות הקופצים של כרום."
$nextIndex++
}
###
Once download complete, import it throw the import option in the Custom command section.
For any additional information, please contact support@eprocsolutions.com
Article ID: 119, Created: 10/20/2024 at 2:15 PM, Modified: 10/20/2024 at 2:15 PM