function create-account
([string]$accountName = "testuser")
{
$hostname = hostname
$comp = [adsi] "WinNT://$hostname"
$user = $comp.Create("User", $accountName)
$user.SetPassword("Password1")
$user.SetInfo()
}
创建本地用户脚本
mb60b79a6396b63 博主文章分类:Power Shell ©著作权
function create-account
([string]$accountName = "testuser")
{
$hostname = hostname
$comp = [adsi] "WinNT://$hostname"
$user = $comp.Create("User", $accountName)
$user.SetPassword("Password1")
$user.SetInfo()
}
创建本地用户脚本
Vue3 创建一个应用
Kubernetes为什么会引入service?
AD域服务器中批量创建帐户  
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M