Skip to content

Update-GitLabPSModuleMarvin

SYNOPSIS

Update a PowerShell module on a remote Marvin server.

SYNTAX

Update-GitLabPSModuleMarvin [-HostName] <String> [[-Port] <Int32>] [<CommonParameters>]

DESCRIPTION

This function automates the process of updating a PowerShell module on a remote Marvin server. It validates the module manifest, retrieves the module version, and sends an update request to the specified server and port.

EXAMPLES

EXAMPLE 1

Update-GitLabPSModuleMarvin -HostName "marvin.example.com" -Port 443

Updates the PowerShell module on the Marvin server at "marvin.example.com" using port 443.

EXAMPLE 2

Update-GitLabPSModuleMarvin -HostName "marvin.local"

Updates the PowerShell module on the Marvin server at "marvin.local" using the default port 443.

PARAMETERS

-HostName

The hostname of the Marvin server where the module will be updated.

Type: String
Parameter Sets: (All)
Aliases:

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

-Port

The port number to connect to on the Marvin server. Default is 443.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 443
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