Get Package
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Get Package

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of Otter 3.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Get Package

Downloads the contents of a ProGet package to a specified directory.

Script usage:

ProGet::Get-Package(
	[Credentials: <text>],
	Feed: <text>,
	Name: <text>,
	[Version: <text>],
	Directory: <text>,
	[DeleteExtra: <true/false>],
	[Server: <text>],
	[UserName: <text>],
	[Password: <text>],
	[RecordDeployment: <true/false>]
);

Arguments:

NameFormatScript UsageUsage Notes
Credentials
text
Credentials
Feed name
text
Feed
This argument is required.
Package name
text
Name
This argument is required.
Package version
text
Version
Target directory
text
Directory
The directory path on disk of the package contents. This argument is required.
Delete files not in Package
true/false
DeleteExtra
ProGet server URL
text
Server
ProGet user name
text
UserName
The name of a user in ProGet that can access the specified feed.
ProGet password
text
Password
The password of a user in ProGet that can access the specified feed.
Record deployment in ProGet
true/false
RecordDeployment

Was this article helpful?