Set-ChromeDeveloperTools
SYNOPSIS
Will enable or disable Chrome Developer tools.
SYNTAX
Set-ChromeDeveloperTools [-Disable] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Sets the registry entry HKLM:\SOFTWARE\Policies\Google\Chrome\DeveloperToolsDisabled to 1 (Disabled) or 0 (Enabled)
EXAMPLES
EXAMPLE 1
Set-ChromeDeveloperTools
Runs Set-ChromeDeveloperTools to enable Chrome Developer Tools.
EXAMPLE 2
Set-ChromeDeveloperTools -Disable
Runs Set-ChromeDeveloperTools to disable Chrome Developer Tools.
PARAMETERS
-Disable
Will Disable Chrome Developer Tools.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
System.Management.Automation.PSCustomObject
NOTES
ALIASES
None.
PLATFORM APPLICABILITY
Windows only. The platform-aware loader does not export this command on Linux or macOS.
POWERSHELL COMPATIBILITY
See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.
RELATED LINKS
https://docs.keldor.dev/powershell/keldor/Set-ChromeDeveloperTools