Skip to main content

Add-UserJavaException

SYNOPSIS

Adds Java exception.

SYNTAX

Add-UserJavaException [-URI] <String> [<CommonParameters>]

DESCRIPTION

Will add a website entry to $env:USERPROFILE\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites.

EXAMPLES

EXAMPLE 1

Add-UserJavaException https://docs.keldor.dev/powershell/keldor/Add-UserJavaException

Runs Add-UserJavaException

PARAMETERS

-URI

Specifies the URI of the website you want to add to the exception.sites file. Must be in the format https://docs.keldor.dev/powershell/keldor/Add-UserJavaException.

Type: String
Parameter Sets: (All)
Aliases: Site, URL, Address, Website

Required: True
Position: 1
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

No output

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.

https://docs.keldor.dev/powershell/keldor/Add-UserJavaException