import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword convertTo-SecureString Password -AsPlainText -force)}
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword convertTo-SecureString $_.Password -AsPlainText -force)}
import-csv Accounts.csv foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword Read-Host -AsSecureString Password)}
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword (Read-Host -AsSecureString $_.Password)}
第1题:
You need to design phase one of the new authentication strategy. Your solution must meet business requirements.What should you do?()
第2题:
You work as a network administrator at ABC.com.The ABC.com network consists of a single domain named ABC.com. All servers on the ABC.com network have Windows Server 2012 R2 installed and all client computers have Windows 8 installed.The ABC.com network contains a domain controller named ABC_DC04 and member server named ABC_SR11.ABC_SR11 runs a Core Installation of Windows Server 2012 R2.How would you configure THESABCING_DC04 to remotely view the event log on ABC_SR11?()
第3题:
Your network contains a server that runs Windows Server 2008 R2.You plan to create a custom script.You need to ensure that each time the script runs, an entry is added to the Application event log.Which tool should you use?()
A.Eventcreate
B.Eventvwr
C.Wecutil
D.Wevtutil
第4题:
You have an Exchange Server 2010 organization. You need to install the Hub Transport server role on a new server. You install all the prerequisites for the Hub Transport role on the server. What should you do next()?
第5题:
Your network contains an Active Directory domain. The domain contains two domain controllers named DC1 and DC2. You perform a full backup of the domain controllers every night by using Windows Server Backup. You update a script in the SYSVOL folder. You discover that the new script fails to run properly. You need to restore the previous version of the script in the SYSVOL folder. The solution must minimize the amount of time required to restore the script. What should you do first()
第6题:
Your network contains a server that runs Windows Server 2008 R2.You plan to create a custom script.You need to ensure that each time the script runs, an entry is added to the Application event log.Which tool should you use?()
第7题:
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()
第8题:
You configure and deploy a Group Policy object (GPO) that contains AppLocker settings. You need to identify whether a specific application file is allowed to run on a computer. Which Windows PowerShell cmdlet should you use()
第9题:
You have three computers that run Windows 7. You use Windows PowerShell to perform remote administration tasks on all three computers. You need to remotely administer all three computers by usingPowerShell. Which PowerShell cmdlet should you use?()
第10题:
You have a single server that has a Server Core Installation of Windows Server 2012 R2. How would you install the graphical user interface (GUI) to this server?()