移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

You have a Windows PowerShell script that contains the following code:   import-csv Accounts.csv | Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword  $_.password}   When you run the script, you receive an error message indicating that the format of the password is  incorrect. The script fails.   You need to run a script that successfully creates the user accounts by using the password contained in  accounts.csv.   Which script should you run()

发布日期:2020-04-10

You have a Windows PowerShell script that contains...
A

import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword convertTo-SecureString Password -AsPlainText -force)}

B

import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword convertTo-SecureString $_.Password -AsPlainText -force)}

C

import-csv Accounts.csv foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword Read-Host -AsSecureString Password)}

D

import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword (Read-Host -AsSecureString $_.Password)}

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

CMS专题

CMS专题

去刷题
热门试题热门资讯 相关试题

暂无相关推荐~