返回列表 发帖
$Password = New-Object Security.SecureString
$a='123456'
0..($a.Length-1)|%{$Password.AppendChar($a[$_])}
New-LocalUser "工程部" -Password $Password -FullName "工程部" -Description "工程部"COPY

TOP

回复 3# jorlaying
powershell "$Password = New-Object Security.SecureString;$a='123456';0..($a.Length-1)|foreach{$Password.AppendChar($a[$_])};New-LocalUser '工程部' -Password $Password -FullName '工程部' -Description '工程部'"COPY
1

评分人数

TOP

返回列表