diff --git a/PSGSuite/Public/Users/Invoke-GSUserOffboarding.ps1 b/PSGSuite/Public/Users/Invoke-GSUserOffboarding.ps1 index 39dd452b..d16573e9 100644 --- a/PSGSuite/Public/Users/Invoke-GSUserOffboarding.ps1 +++ b/PSGSuite/Public/Users/Invoke-GSUserOffboarding.ps1 @@ -65,10 +65,10 @@ function Invoke-GSUserOffboarding { $Length = 15 ) $ascii = $null - for ($a = 33;$a –le 126;$a++) { + for ($a = 33;$a -le 126;$a++) { $ascii += ,[char][byte]$a } - for ($loop = 1; $loop –le $length; $loop++) { + for ($loop = 1; $loop -le $length; $loop++) { $randomPassword += ($ascii | Get-Random) } return ([String]$randomPassword)