Sicherung der Favoriten vom Edge Browser
Dieses Skript funktioniert nur mit dem alten Edge Browser.
# Backup Edge Favoriten
$name = [Environment]::UserName
$EdgeFavPath = “C:\Users\$name\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\User\Default\DataStore\Data\nouser1\120712-0049\”
$Backup = “C:\Users\$name\AppData\Local\Temp\”
Copy-Item -Path $EdgeFavPath -Recurse -Destination $Backup -ErrorAction SilentlyContinue
Write-Host Backup Edge Favoriten. -ForegroundColor Green
# Restore Edge Favoriten
$name = [Environment]::UserName
$Restore = “C:\Users\$name\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\User\Default\DataStore\Data\nouser1\”
$EdgeFavPath = “C:\Users\$name\AppData\Local\Temp\120712-0049\”
Copy-Item -Path $EdgeFavPath -recurse -Destination $Restore -Force
Write-Host Restore Edge Favoriten. -ForegroundColor Green
Sicherung der Favoriten vom Chromium Edge
# Backup Chromium Edge Favoriten
$name = [Environment]::UserName
$EdgeFavPath = “C:\Users\$name\AppData\Local\Microsoft\Edge\User Data\Default\Bookmarks”
$Backup = “C:\Temp\”
Copy-Item -Path $EdgeFavPath -Recurse -Destination $Backup -ErrorAction SilentlyContinue
Write-Host Backup Edge Favoriten. -ForegroundColor Green