PowerShellRepositories allows configuration of the PowerShell repositories.
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Mandatory |
Hashtable[] |
set of Powershell repositories |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name |
Key |
String |
||
SourceLocation |
String |
|||
ScriptSourceLocation |
String |
|||
PublishLocation |
String |
|||
ScriptPublishLocation |
String |
|||
InstallationPolicy |
String |
|
||
PackageManagementProvider |
String |
|||
Ensure |
String |
|
Example
PowerShellRepositories:
Repositories:
- Name: RepoA
SourceLocation: https://somegallery/v2
PublishLocation: https://somegallery/v2
- Name: RepoB
InstallationPolicy: trusted
SourceLocation: https://somegallery/v2