网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

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()

  • A、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertHost-
  • B、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertTo-
  • C、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-To
  • D、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-Host

参考答案

更多 “ 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()A、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertHost-B、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertTo-C、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-ToD、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-Host” 相关考题
考题 You need to create a web share on your Windows 2000 Professional computer named Admin01. You create a folder named reports. Then you configure web sharing on Reports. You name the share WebReports and allow Read permissions on the share.You test the web share by pointing to http://admin01/WebReports from another computer. You receive the following error message, 'You are not authorized to view this page.'You need to be able to access the folder. What must you do?A.Allow write permission on WebReports.B.Allow directory browsing permissions on WebReports.C.In the IIS console, enable anonymous access to WebReports.D.In the IIS console, set the execute permissions option to script. and executables on WebReports.

考题 YouhaveaWindowsPowerShellscriptthatcontainsthefollowingcode:import-csvAccounts.csv|Foreach{New-ADUser-Name$_.Name-Enabled$true-AccountPassword$_.password}Whenyourunthescript,youreceiveanerrormessageindicatingthattheformatofthepasswordisincorrect.Thescriptfails.Youneedtorunascriptthatsuccessfullycreatestheuseraccountsbyusingthepasswordcontainedinaccounts.csv.Whichscriptshouldyourun()A.import-csvAccounts.csv Foreach{New-ADUser-Name$_.Name-Enabled$true-AccountPassword(ConvertHost-B.import-csvAccounts.csv Foreach{New-ADUser-Name$_.Name-Enabled$true-AccountPassword(ConvertTo-C.import-csvAccounts.csv Foreach{New-ADUser-Name$_.Name-Enabled$true-AccountPassword(Read-ToD.import-csvAccounts.csv Foreach{New-ADUser-Name$_.Name-Enabled$true-AccountPassword(Read-Host

考题 When you use Microsoft Windows Media Player to begin playback of a music file, you receive the following error message: You do not have the rights to play this file.” You need to configure Windows Media Player to ensure playback of protected digital media.What should you do?()A.AB.BC.CD.D

考题 You have a computer that runs Windows Vista.You run ipconfig /release from the command prompt and receive the following error message: The requested operation requires elevation.”You need to release the IP address for the computer.What should you do?()A.AB.BC.CD.D

考题 You perform an in-place upgrade on a Microsoft Windows XP Service Pack 2 (SP2) computer to Windows Vista.After the upgrade, you attempt to run a custom application. You receive the following error message: This application is only designed to run on Windows XP or later.”You need to run the application on Windows Vista.What should you do?()A.AB.BC.CD.D

考题 You attempt to upgrade a Microsoft Windows XP computer to Windows Vista.You receive an error message during the upgrade process indicating that the upgrade has failed.You need to view the details of the error message.What should you do?()A.AB.BC.CD.D

考题 You have a DNS server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 is configured to have an IP address of 10.10.0.10.You run the NSLookup command on the server and receive the following error message. You need to ensure that this time-out message does not appear when you run NSLookup.  What should you do?()A、Disable recursion.B、Create a reverse lookup zone for 10.10.0.C、Add the address 10.10.0.10 to the root hints.D、Create a forward lookup zone for contoso.com.

考题 You plan to use Windows PowerShell scripts to configure system settings when you deploy Windows 7.   You need to ensure that Windows PowerShell scripts will run on the client computers during initial setup.   What should you do?()A、Set the script execution policy to RemoteSigned.B、Set the script execution policy to AllSigned.C、Set the script execution policy to Restricted.D、Use Group Policy preferences.

考题 Your network contains an Active Directory forest.   You set the Windows PowerShell execution policy to allow unsigned scripts on a domain   controller in the network. You create a Windows PowerShell script named new-users.ps1 that  contains the following lines:     new-aduser user1  new-aduser user2  new-aduser user3  new-aduser user4  new-aduser user5     On the domain controller, you double-click the script and the script runs. You discover that the  script fails to create the user accounts.     You need to ensure that the script creates the user accounts.     Which cmdlet should you add to the script()A、Import-ModuleB、Register-ObjectEventC、Set-ADDomainD、Set-ADUser

考题 You work as a database administrator for Supportcenter.cn. When you tried to connect to the database, you received the following error:   ERROR:   ORA-12541:TNS:no_listener   You found that the listener is not running on the server, so you issued the following command in the Listener Control utility to start the listener.   lsnrctlSTART   What statement is true?()A、It would attempt to start the default listenerB、It would start the most recently created listener.C、It would display an error with a message asking for the listener name to be specified.D、It would show you a list of listeners and prompts for the listener name that you want to start.

考题 You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()  A、 run { open script backup_database; run script backup_database }B、 run { engage script backup_database; }C、 run { run script backup_database; }D、 Run { execute script backup_database; }E、 The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.

考题 You use Microsoft System Center Virtual Machine Manager (VMM) 2008 R2 to create and manage virtual machines (VMs). You attempt to create the first VM on a Hyper-V host by using Windows PowerShell. You receive an error message stating that the New-VM PowerShell cmdlet is not recognized. You need to be able to create VMs by using PowerShell. What should you do?()A、.Install the VMM Self-Service Portal.B、Enable the Windows PowerShell Integrated Scripting Environment feature.C、In PowerShell, run the Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager cmdlet.D、Run the Create-VM -Name "VM01" -VirtualHardDisk $VHD -VMHost $VMHost -Path "C:///MyVMs" PowerShell cmdlet.

考题 You deploy two Windows Server 2008 R2 Hyper-V servers. You manage the servers by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. You need to ensure that you can restore virtual machines (VMs) in the event of a hardware failure.   What should you do?()A、Use a PowerShell script to create a snapshot of each VM. Run the script every 60 minutes on each Hyper-V serverB、Use a PowerShell script to create a checkpoint of each VM. Run the script every 60 minutes on each Hyper-V serverC、Use a PowerShell script to pause, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V serverD、Use a PowerShell script to shut down, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V server

考题 Your company purchases a new application to deploy on 200 computers. The application requires that  you modify the registry on each target computer before you install the application.    The registry modifications are in a file that has an .adm extension.    You need to prepare the target computers for the application.   What should you do()A、Import the .adm file into a new Group Policy Object (GPO). Edit the GPO and link it to an organizational  unit that contains the target computers.B、Create a Microsoft Windows PowerShell script to copy the .adm file to the startup folder of each target  computer.C、Create a Microsoft Windows PowerShell script to copy the .adm file to each computer. Run the  REDIRUsr CONTAINER-DN command on each target computer.D、Create a Microsoft Windows PowerShell script to copy the .adm file to each computer. Run the  REDIRCmp CONTAINER-DN command on each target computer.

考题 You have a VPN server that runs Windows Server 2003 Service Pack 2 (SP2). The VPN server supports only PPTP connections. A firewall protects the VPN server from the Internet. From a remote computer connected to the Internet, you attempt to connect to the VPN server. During the connection attempt, you receive a message that your user name and password are being verified. You then receive the following error message: “Error 721: The remote computer is not responding.”You need to ensure that you can establish a VPN connection to the VPN server from the Internet.  What should you do?()A、On the VPN server, enable LAN routing.B、On the VPN server, create a demand-dial interface.C、On the firewall, allow inbound connections that use TCP port 1701.D、On the firewall, allow inbound connections that use Generic Route Encapsulation (GRE) protocol 47.

考题 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()?  A、From Windows PowerShell, run the Add-WindowsFeature cmdlet.B、From Windows PowerShell, run the Install-TransportAgent.ps1 script.C、At the command prompt, run Setup.com /M:Install /R:Ht.D、At the command prompt, run ServerManagerCmd.exe -IP Exchange-HUb.xml.

考题 You create 200 new user accounts. The users are located in six different sites. New users report that they receive the following error message when they try to log on: "The username or password is incorrect." You confirm that the user accounts exist and are enabled. You also confirm that the user name and password information supplied are correct. You need to identify the cause of the failure. You also need to ensure that the new users are able to log on Which utility should you run()A、RsdiagB、RstoolsC、RepadminD、Active Directory Domains and Trusts

考题 You are the administrator of a small network supporting Windows NT 4.0 computers. You configure a setup script to automatically upgrade Windows NT Workstation 4.0 computers to Windows 2000 Professional. When you attempt to test the process on a single computer, you receive this error message:  "The specified Setup script file (path:/unattend.txt) is inaccessible or invalid.  Contact your system administrator."    Which action will most likely resolve this error? ()A、Add the UnattendedInstall="Yes" parameter to the [Unattended] section of your Unattend.txt fileB、Add the UnattendMode=FullUnattended parameter to the [Data] section of your Unattend.txt fileC、Add the UnattendedInstall="Yes" parameter to the [GuiUnattended] section   of your Unattend.txt fileD、Add the UnattendMode=FullUnattended parameter to the [Unattended] section of your Unattend.txt file

考题 Your company purchases a new application to deploy on 200 computers. The application requires  that you modify the registry on each target computer before you install the application.     The registry modifications are in a file that has an .adm extension.     You need to prepare the target computers for the application.     What should you do()A、Import the .adm file into a new Group Policy Object (GPO). Edit the GPO and link it to an organizational unit that computer.B、Create a Microsoft Windows PowerShell script to copy the .adm file to the startup folder of each target computer.C、Create a Microsoft Windows PowerShell script to copy the .adm file to each computer. Run the REDIRUsr CONTAID、Create a Microsoft Windows PowerShell script to copy the .adm file to each computer. Run the REDIRCmp CONTA

考题 You are the network administrator for TestKing.com. The network consists of a single Active Directory domain named testking.com. The domain contains Windows Server 2003 computers and Windows XP Professional computers. You use a non-administrative user account named Joseph to log on to a client computer. You need to change the password for a domain user account named Sophia. You open the Active Directory Users and Computers console. When you attempt to change Sophia's password, you receive the following error message: "Access is denied". You need to remain logged on to the client computer as Joseph, and you need to be able to change Sophia's password. What should you do?()A、Add the non-administrative domain user account to the local Administrators group.B、Use the runas command to run Active Directory Users and Computers with domain administrative credentials.C、From a command prompt, run the net user Sophia /add /passwordreq:yes command.D、From a command prompt, run the net accounts /uniquepw: /domain command.

考题 单选题You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()A  run { open script backup_database; run script backup_database }B  run { engage script backup_database; }C  run { run script backup_database; }D  Run { execute script backup_database; }E  The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.

考题 单选题You work as a database administrator for Supportcenter.cn. When you tried to connect to the database, you received the following error:   ERROR:   ORA-12541:TNS:no_listener   You found that the listener is not running on the server, so you issued the following command in the Listener Control utility to start the listener.   lsnrctlSTART   What statement is true?()A It would attempt to start the default listenerB It would start the most recently created listener.C It would display an error with a message asking for the listener name to be specified.D It would show you a list of listeners and prompts for the listener name that you want to start.

考题 单选题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()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)}

考题 单选题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()A import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertHost-B import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertTo-C import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-ToD import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-Host

考题 单选题You have a VPN server that runs Windows Server 2003 Service Pack 2 (SP2). The VPN server supports only PPTP connections. A firewall protects the VPN server from the Internet. From a remote computer connected to the Internet, you attempt to connect to the VPN server. During the connection attempt, you receive a message that your user name and password are being verified. You then receive the following error message: “Error 721: The remote computer is not responding.”You need to ensure that you can establish a VPN connection to the VPN server from the Internet.  What should you do?()A On the VPN server, enable LAN routing.B On the VPN server, create a demand-dial interface.C On the firewall, allow inbound connections that use TCP port 1701.D On the firewall, allow inbound connections that use Generic Route Encapsulation (GRE) protocol 47.

考题 单选题You use Microsoft System Center Virtual Machine Manager (VMM) 2008 R2 to create and manage virtual machines (VMs). You attempt to create the first VM on a Hyper-V host by using Windows PowerShell. You receive an error message stating that the New-VM PowerShell cmdlet is not recognized. You need to be able to create VMs by using PowerShell. What should you do?()A .Install the VMM Self-Service Portal.B Enable the Windows PowerShell Integrated Scripting Environment feature.C In PowerShell, run the Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager cmdlet.D Run the Create-VM -Name VM01 -VirtualHardDisk $VHD -VMHost $VMHost -Path C:///MyVMs PowerShell cmdlet.