Skip to content

Commit 3104b3e

Browse files
committed
Update InstallerToken validity patterns
1 parent b21d037 commit 3104b3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LabTech.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ Function Install-LTService{
10231023
[Alias("Password")]
10241024
[string]$ServerPassword,
10251025
[Parameter(ParameterSetName = 'installertoken')]
1026-
[ValidatePattern('(?s-i:^[0-9a-f]+$)')]
1026+
[ValidatePattern('(?s:^[0-9a-z]+$)')]
10271027
[string]$InstallerToken,
10281028
[Parameter(ValueFromPipelineByPropertyName = $True)]
10291029
[AllowNull()]
@@ -1508,7 +1508,7 @@ Function Redo-LTService{
15081508
[Alias("Password")]
15091509
[string]$ServerPassword,
15101510
[Parameter(ParameterSetName = 'installertoken')]
1511-
[ValidatePattern('(?s-i:^[0-9a-f]+$)')]
1511+
[ValidatePattern('(?s:^[0-9a-z]+$)')]
15121512
[string]$InstallerToken,
15131513
[Parameter(ValueFromPipelineByPropertyName = $True)]
15141514
[AllowNull()]

0 commit comments

Comments
 (0)