minor logging update
This commit is contained in:
@@ -6,8 +6,8 @@ param(
|
||||
[Parameter(Mandatory=$true)][string]$FullName,
|
||||
[Parameter(Mandatory=$true)][string]$Description
|
||||
)
|
||||
LogMsg "Create-LocalAdmin.ps1"
|
||||
LogMsg "Securing supplied password"
|
||||
|
||||
## Secure supplied password
|
||||
Try { $SecurePassword = ConvertTo-SecureString $Password -AsPlainText -Force ; $Password = $null }
|
||||
Catch { LogErr $_.Exception.Message ; Exit }
|
||||
If ( IsAdmin )
|
||||
|
||||
Reference in New Issue
Block a user