TestimoX

API Reference

Command

Get-CxWindowsUpdateClientContext

Namespace ComputerX.PowerShell
Inputs
System.String[]
Outputs
ComputerX.Updates.WindowsUpdateClientContext

Implements the Get-CxWindowsUpdateClientContext cmdlet.

Examples

Authored help example

Example 1


Get-CxWindowsUpdateClientContext
        

Example 2


Get-CxWindowsUpdateClientContext -ComputerName DC01
        

Example 3


Get-CxWindowsUpdateClientContext -ComputerName AD1.ad.evotec.xyz -OpenTimeoutSeconds 8 -OperationTimeoutSeconds 15
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-CxWindowsUpdateClientContext [-ComputerName <string[]>] [-Authentication <Default>] [-ConfigurationName <string>] [-Credential <PSCredential>] [-IdleTimeoutSeconds <int>] [-IncludePortInSpn] [-IncludeTransportDiagnostics] [-NoMachineProfile] [-OpenTimeoutSeconds <int>] [-OperationTimeoutSeconds <int>] [-Port <int>] [-UseSsl] [<CommonParameters>]
#

Parameters

ComputerName string[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)aliases: ServerName
Target computer(s). Use '.' for the local computer or provide DNS names.
Authentication AuthenticationMechanism optionalposition: namedpipeline: falsevalues: 7
Optional authentication mechanism for remote Automatic Updates settings collection. Possible values: Default, Basic, Negotiate, NegotiateWithImplicitCredential, Credssp, Digest, Kerberos
Possible values: Default, Basic, Negotiate, NegotiateWithImplicitCredential, Credssp, Digest, Kerberos
ConfigurationName string optionalposition: namedpipeline: false
Optional PowerShell endpoint configuration name for remote Automatic Updates settings collection.
Credential PSCredential optionalposition: namedpipeline: false
Optional alternate credential for remote Automatic Updates settings collection.
IdleTimeoutSeconds int optionalposition: namedpipeline: false
Optional remote session idle timeout in seconds for remote Windows Update client context collection.
IncludePortInSpn SwitchParameter optionalposition: namedpipeline: false
Includes the port in the WinRM service principal name.
IncludeTransportDiagnostics SwitchParameter optionalposition: namedpipeline: false
Includes shared WinRM transport diagnostics for remote collection.
NoMachineProfile SwitchParameter optionalposition: namedpipeline: false
Requests a WinRM session without loading the remote machine profile.
OpenTimeoutSeconds int optionalposition: namedpipeline: false
Optional remote session open timeout in seconds for remote Automatic Updates settings collection.
OperationTimeoutSeconds int optionalposition: namedpipeline: false
Optional remote operation timeout in seconds for remote Automatic Updates settings collection.
Port int optionalposition: namedpipeline: false
Optional WinRM port override for remote Automatic Updates settings collection.
UseSsl SwitchParameter optionalposition: namedpipeline: false
Uses HTTPS when invoking remote Automatic Updates settings collection.

Outputs

ComputerX.Updates.WindowsUpdateClientContext