Set-LSUClientConfiguration

Set-LSUClientConfiguration #

SYNOPSIS #

SYNTAX #

Whole (Default) #

Set-LSUClientConfiguration [-InputObject] <LSUClientConfiguration> [<CommonParameters>]

Individual #

Set-LSUClientConfiguration [-Proxy <Uri>] [-ProxyCredential <PSCredential>]
 [-ProxyUseDefaultCredential <Boolean>] [-MaxExternalDetectionRuntime <TimeSpan>]
 [-MaxExtractRuntime <TimeSpan>] [-MaxInstallerRuntime <TimeSpan>] [<CommonParameters>]

DESCRIPTION #

Sets global configuration options for LSUClient that may affect multiple cmdlets.

EXAMPLES #

EXAMPLE 1 #

# Disable the default MaxExternalDetectionRuntime
PS> Set-LSUClientConfiguration -MaxExternalDetectionRuntime ([TimeSpan]::Zero)

EXAMPLE 2 #

# Set a maximum allowed installer runtime of 20 minutes
PS> Set-LSUClientConfiguration -MaxInstallerRuntime (New-TimeSpan -Minutes 20)

EXAMPLE 3 #

# Disable a previously configured Proxy
PS> Set-LSUClientConfiguration -Proxy $null

EXAMPLE 4 #

# Apply a previously saved or edited configuration
PS> $config = Get-LSUClientConfiguration
PS> # ...
PS> $config | Set-LSUClientConfiguration

PARAMETERS #

-InputObject #

Import and set all configuration options from an LSUClientConfiguration object.

Type: LSUClientConfiguration
Parameter Sets: Whole
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-MaxExternalDetectionRuntime #

Sets a time limit for how long external detection processes can run before they’re forcefully stopped.

Type: TimeSpan
Parameter Sets: Individual
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MaxExtractRuntime #

Sets a time limit for how long package extractions can run before they’re forcefully stopped.

Type: TimeSpan
Parameter Sets: Individual
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MaxInstallerRuntime #

Sets a time limit for how long package installers can run before they’re forcefully stopped. As a safety measure this limit is not applied for installers of firmware or BIOS/UEFI updates.

Type: TimeSpan
Parameter Sets: Individual
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Proxy #

Set the default Proxy URL for all cmdlets to use.

Type: Uri
Parameter Sets: Individual
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProxyCredential #

Specifies the default Proxy user account for all cmdlets to use.

Type: PSCredential
Parameter Sets: Individual
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProxyUseDefaultCredential #

{{ Fill ProxyUseDefaultCredential Description }}

Type: Boolean
Parameter Sets: Individual
Aliases:

Required: False
Position: Named
Default value: False
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 #

NOTES #