-
Notifications
You must be signed in to change notification settings - Fork 0
Install UniversalModuleFromRepository
Installs a module on PowerShell Universal from a resource repository.
Install-UniversalModuleFromRepository [-ServerUrl] <String> [-AppToken] <String> [-ModuleName] <String>
[-ModuleVersion] <String> [-RepositoryName] <String> [-RepositoryUrl] <String>
[[-RepositoryAutoRemove] <Boolean>] [<CommonParameters>]
Reconciles the requested PowerShell resource repository, triggers a synchronous module deployment, and optionally removes the repository.
Install-UniversalModuleFromRepository @installParameters
Application token used to authenticate API requests.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseName of the module to install.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseVersion of the module to install.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseWhether to remove the repository after the deployment attempt.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: True
Accept pipeline input: False
Accept wildcard characters: FalseName of the PowerShell resource repository on the server.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseURL or local path used by the PowerShell resource repository.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseBase URL of the PowerShell Universal server.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.