Skip to content

Update-BrownservePowerShellModule

SYNOPSIS

Updates a given Brownserve PowerShell module to use the latest template.

SYNTAX

Update-BrownservePowerShellModule [-Path] <String> [-Force]
 [<CommonParameters>]

DESCRIPTION

This cmdlet will update a given PowerShell module that uses our standard Brownserve format to use the latest template while attempting to maintain any customisations the user has made.

EXAMPLES

Example 1

PS C:\> Update-BrownservePowerShellModule -Path C:\Brownserve.PSTools.psm1

This would update the module at the given path.

PARAMETERS

-Force

Forcefully overwrite the module even if no changes are detected or if the customisations would be lost.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Path

The path to the module.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES