Reusable sources for build, test, release automation of PowerShell modules, written in DotNet/C# or PowerShell.
Install PsBuildTasks task file.
Install-PsBuildTask [-Path] <DirectoryInfo> [-Task] <String> [[-Commit] <String>] [<CommonParameters>]
Downloads a task file and saves it to the tasks directory.
PS C:\>
Path to the tasks directory.
Type: DirectoryInfo
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the task file to install.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a revision by commit id.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: Main
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.