external help file | Module Name | online version | schema |
---|---|---|---|
DevOpsKitDsc-help.xml |
DevOpsKitDsc |
2.0.0 |
Add a module dependency to the workspace.
Add-DOKDscModule [-WorkspacePath <String>] -ModuleName <String> -ModuleVersion <String> [-Repository <String>]
[-Type <String>] [<CommonParameters>]
Add-DOKDscModule [-WorkspacePath <String>] -Path <String> [-Type <String>] [<CommonParameters>]
Add a module dependency to the workspace.
PS C:\> Add-DOKDscModule -ModuleName 'SharePointDsc' -ModuleVersion '1.8.0.0';
Add version 1.8.0.0 of the SharePointDsc module to the workspace.
The name of the module.
Type: String
Parameter Sets: Module
Aliases: Name
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The version of the module.
Type: String
Parameter Sets: Module
Aliases: Version
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to the module.
Type: String
Parameter Sets: Path
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the repository to use when restoring the module.
Type: String
Parameter Sets: Module
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If the module is from this workspace or a repository.
When Workspace type is used no attempt will be made to download the module from an external repository.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Workspace, Repository
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to an existing workspace. If no value is specified the current working path is used.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).