Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Update-ChromeStartMenuItems
- {
- del "C:\Program Files (x86)\Google\Chrome\Application\chrome.VisualElementsManifest.xml.renamed" -ErrorAction SilentlyContinue
- rename-item "C:\Program Files (x86)\Google\Chrome\Application\chrome.VisualElementsManifest.xml" "C:\Program Files (x86)\Google\Chrome\Application\chrome.VisualElementsManifest.xml.renamed"
- $files = gci "C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome-appar" -filter *.lnk
- foreach($file in $files)
- {
- $file.LastWriteTime = [datetime]::Now
- }
- }
Add Comment
Please, Sign In to add comment