set-snipeitlicence

This commit is contained in:
Petri Asikainen 2021-06-13 18:43:58 +03:00
parent cd86c6749d
commit 528367cbd6

View file

@ -129,6 +129,7 @@ function Set-SnipeitLicense() {
[parameter(mandatory = $true)]
[string]$apiKey
)
begin{
Test-SnipeitAlias -invocationName $MyInvocation.InvocationName -commandName $MyInvocation.MyCommand.Name
@ -148,6 +149,7 @@ function Set-SnipeitLicense() {
$Body = $Values | ConvertTo-Json;
}
process {
foreach($license_id in $id){
$Parameters = @{