This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Set variables to indicate value and key to set | |
| $RegistryPath = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge' | |
| $Name = 'HideFirstRunExperience' | |
| $Value = '00000001' | |
| # Create the key if it does not exist | |
| If (-NOT (Test-Path $RegistryPath)) { | |
| New-Item -Path $RegistryPath -Force | Out-Null | |
| } | |
| # Now set the value | |
| New-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -PropertyType DWORD -Force |
OlderNewer