Invoke-ReinstallModule¶
SYNOPSIS¶
Reinstalls module into a given scope.
SYNTAX¶
__AllParameterSets¶
Invoke-ReinstallModule [[-Name] <string[]>] [[-Scope] <string[]>] [<CommonParameters>]
ALIASES¶
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION¶
Reinstalls module into a given scope. This is useful when you want to reinstall or clean up your module versions. With this command you always get the newest available version of the module and all the previous version wiped out.
EXAMPLES¶
EXAMPLE 1¶
Reinstall-Module -Name Pester -Scope CurrentUser
Reinstall Pester module for the current user.
EXAMPLE 2¶
Reinstall-Module -Scope CurrentUser
Reinstall all reinstallable modules into the current user.
PARAMETERS¶
-Name¶
The name of the module to be reinstalled. Wildcards are supported.
Type: System.String[]
DefaultValue: '*'
SupportsWildcards: true
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Scope¶
The scope of the module to will be reinstalled to.
Type: System.String[]
DefaultValue: CurrentUser
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
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¶
OUTPUTS¶
NOTES¶
RELATED LINKS¶
{{ Fill in the related links here }}