Added mandatory parameters

This commit is contained in:
dfrancis-adm
2019-04-26 11:57:46 -04:00
parent ee8951ba93
commit 27b54aef4e
3 changed files with 8 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ function Push-ChocoIntPackage {
[string]$Path,
[Parameter(Mandatory=$true)]
[string]$RepositoryURL,
[Parameter(Mandatory=$true)]
[ValidateNotNull()]
[System.Management.Automation.PSCredential]$ApiKey
)