Set-JavaException
SYNOPSIS
Sets Java Exception.
SYNTAX
Set-JavaException [[-URL] <String>] [[-ComputerName] <String[]>] [[-MaxThreads] <Int32>]
[[-SleepTimer] <Object>] [[-MaxResultTime] <Object>] [-FromShare]
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Sets Java Exception.
EXAMPLES
EXAMPLE 1
Set-JavaException
Executes Set-JavaException using the arguments shown.
PARAMETERS
-URL
Specifies the URL value.
Type: String
Parameter Sets: (All)
Aliases: URI, Address
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ComputerName
Specifies the computer name to use.
Type: String[]
Parameter Sets: (All)
Aliases: Host, Name, Computer, CN
Required: False
Position: 2
Default value: $env:COMPUTERNAME
Accept pipeline input: False
Accept wildcard characters: False
-MaxThreads
Specifies the Max Threads value.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 5
Accept pipeline input: False
Accept wildcard characters: False
-SleepTimer
Specifies the Sleep Timer value.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: 200
Accept pipeline input: False
Accept wildcard characters: False
-MaxResultTime
Specifies the Max Result Time value.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: 1200
Accept pipeline input: False
Accept wildcard characters: False
-FromShare
Specifies whether to enable the From Share option.
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.Object
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.