-
Notifications
You must be signed in to change notification settings - Fork 0
New UniversalAutomationRepositoryPackage
Creates an offline PowerShell Universal automation repository package.
New-UniversalAutomationRepositoryPackage [-BuiltModuleManifest] <String> [-OutputDirectory] <String>
[-ModuleVersion] <String> [[-StagingDirectoryName] <String>] [[-ZipName] <String>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Stages the built module and its required modules using the PowerShell Universal repository layout, creates repository.psd1, and compresses it.
New-UniversalAutomationRepositoryPackage @packageParameters -Confirm:$false
Path to the manifest of the built project module.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseBuilt module version used for the repository manifest and default zip name.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDirectory where the staging folder and zip package are created.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseName of the temporary repository staging directory.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: PsuRepository
Accept pipeline input: False
Accept wildcard characters: FalseOptional explicit name for the generated zip package.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
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.