From 0230e9c97b965fb0a2ae5e84945d26cfd9af55f0 Mon Sep 17 00:00:00 2001 From: Frank Geisler Date: Thu, 29 Jun 2023 11:04:51 +0200 Subject: [PATCH] Set password to mandatory as suggested in issue #287 --- SnipeitPS/Public/New-SnipeitUser.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/SnipeitPS/Public/New-SnipeitUser.ps1 b/SnipeitPS/Public/New-SnipeitUser.ps1 index 822beef..f27e455 100644 --- a/SnipeitPS/Public/New-SnipeitUser.ps1 +++ b/SnipeitPS/Public/New-SnipeitUser.ps1 @@ -86,6 +86,7 @@ function New-SnipeitUser() { [parameter(mandatory = $true)] [string]$username, + [parameter(mandatory = $true)] [string]$password, [bool]$activated = $false,