网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
关于PowerShell,下列说法中正确的是()
- A、PowerShell是一种脚本语言
- B、PowerShell仍然沿用原有的DOS命令
- C、PowerShell支持大量被称为cmdlet的标准工具
- D、通过使用PowerShell可以管理系统功能
- E、PowerShell只能运行在WindowsServer2003/2008上
参考答案
更多 “关于PowerShell,下列说法中正确的是()A、PowerShell是一种脚本语言B、PowerShell仍然沿用原有的DOS命令C、PowerShell支持大量被称为cmdlet的标准工具D、通过使用PowerShell可以管理系统功能E、PowerShell只能运行在WindowsServer2003/2008上” 相关考题
考题
可以使用Windows PowerShell命令行管理磁盘分区和卷,常见的磁盘管理命令包括()。
A.Get-DiskB.Initialize-DiskC.Clear-VolumeD.Get-VolumeE.Format-Volume
考题
您下载一个WindowsPowerShell管理单元。您需要确保打开一个新PowerShell会话时,会自动导入该管理单元。您应该怎么做?()
A.修改PowerShell执行策略B.创建一个新PowerShell清单文件。更新PowerShell快捷方式并指定–file选项C.创建一个新PowerShell控制台文件。更新PowerShell快捷方式并指定–psconsolefile选项D.创建一个新PowerShell格式化和类型文件。将该文件复制到%SystemRoot%\system3\WindowsPowerShell\v1.0文件夹中
考题
关于PowerShell,下列说法中正确的是()A、PowerShell是一个图形化的脚本编程工具B、PowerShell是在原有DOS命令基础上的扩展C、PowerShell脚本只能在WindowsServer系统中运行D、PowerShell是一种脚本语言
考题
You install Windows Server 2008 R2 Enterprise (Full Installation). You need to add the Hyper-V role to the server. What are two possible ways to achieve this goal?()A、Run the start /w hvconfig command.B、Run the start /w ocsetup Microsoft-Hyper-V command.C、Run the Add-WindowsFeature Hyper-V PowerShell cmdlet.D、Run the Add-WindowsFeature RSAT-Hyper-V PowerShell cmdlet.
考题
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.
考题
Which of the following options will allow you to join a server running a Core Installation of Windows Server 2012 R2 to a domain?()A、You should run the Get-ADDomain cmdlet in Windows PowerShell.B、You should run the Add-Computer cmdlet in Windows PowerShell.C、You should run djoin /provision /domain command from an elevated command prompt.D、You should run dsadd computer command from an elevated command prompt.
考题
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
考题
You work as an administrator at ABC.com. The ABC.com network consists of two Active Directory forests, named ABC.com and test.com. There is no trust relationship configured between the forests.A backup of Group Policy object (GPO) from the test.com domain is stored on a domain controller in the ABC.com domain. You are informed that a GPO must be created in the ABC.com domain, and must be based on the settings of the GPO in the test.com domain. You start by creating the new GPO using the New-GPO Windows PowerShell cmdlet.You want to complete the task via a Windows PowerShell cmdlet. Which of the following actions should you take?()A、You should consider making use of the Invoke-GPUpdate Windows PowerShell cmdlet.B、You should consider making use of the Copy-GPO Windows PowerShell cmdlet.C、You should consider making use of the New-GPLink Windows PowerShell cmdlet.D、You should consider making use of the Import-GPO Windows PowerShell cmdlet.
考题
Your network contains a server named Server1 that runs Windows Server 2008 R2. Server1 has Microsoft Exchange Server 2010 deployed. You schedule a backup of the server. You discover that the Exchange Server 2010 transaction log files are purged during the backup. You need to prevent the Exchange Server 2010 transaction log files from being purged. What should you do? ()A、From the properties of the backup, add an exclusion.B、From the properties of the backup, modify the VSS settings.C、From Windows PowerShell, run the New-WBFileSpec cmdlet.D、From Windows PowerShell, run the New-WBBackupTarget cmdlet.
考题
您下载一个 Windows PowerShell 管理单元。您需要确保打开一个新PowerShell 会话时,会自动导入该管理单元。您应该怎么做?()A、修改 PowerShell 执行策略B、创建一个新 PowerShell 清单文件。更新 PowerShell 快捷方式并指定 –file 选项C、创建一个新 PowerShell 控制台文件。更新 PowerShell 快捷方式并指定 –psconsolefile 选项D、创建一个新 PowerShell 格式化和类型文件。将该文件复制到%SystemRoot%/system3/WindowsPowerShell/v1.0 文件夹中
考题
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?()A、Enable-PSRemotingB、Enable-PSSessionConfigurationC、New-PSDriveD、New-PSSession
考题
您有三台运行 Windows 7的计算机。您使用Windows PowerShell 在所有三台计算机上执行远程管理任务。您需要通过使用 PowerShell 来远程管理所有三台计算机。您应该使用哪个 PowerShell cmdlet?()A、EnablePSRemotingB、EnablePSSessionConfigurationC、NewPSDriveD、NewPSSession
考题
You install Windows Server 2008 R2 (Server Core I nstallation) on a server. You install the Hyper-V role and Windows PowerShell 2.0 on the server. When you attempt to run an iscsicli command, the command fails. You need to be able to immediately run the iscsicli command successfully. What should you do?()A、Run the ocsetup MultiPathIo command.B、Run the sc config msiscsi start= auto command.C、Run the start-service msiscsi PowerShell cmdlet.D、Run the set-service msiscsi CstartupType auto PowerShell cmdlet.
考题
Your network contains an Active Directory domain named contoso.com. The contoso.com DNS zone is stored in Active Directory. All domain controllers run Windows Server 2008 R2. You need to identify if all of the DNS records used for Active Directory replication are correctly registered. What should you do()A、From the command prompt, use netsh.exe.B、From the command prompt, use dnslint.exe.C、From the Active Directory Module for Windows PowerShell, run the Get-ADRootDSE cmdlet.D、From the Active Directory Module for Windows PowerShell, run the Get-ADDomainController cmdlet.
考题
Your network contains an Active Directory domain. You need to restore a deleted computer account from the Active Directory Recycle Bin. What should you do()A、From the command prompt, run recover.exe.B、From the command prompt, run ntdsutil.exe.C、From the Active Directory Module for Windows PowerShell, run the Restore-Computer cmdlet.D、From the Active Directory Module for Windows PowerShell, run the Restore-ADObject cmdlet.
考题
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?()A、You should use Windows PowerShell to run the Enable-NetFirewallRule command.B、You should use Windows PowerShell to run the Add-WindowsPackage command.C、You should use Windows PowerShell to run the Install-WindowsFeature command.D、You should use Server Manager console on to add the User Interfaces.E、You should use Server Manager console to add the Infrastructure feature.F、You should use Server Manager console to add the Windows feature.
考题
You work as an administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com.ABC.com has a domain controller, named ABC-DC01, which has Windows Server 2012 R2 installed. Another ABC.com domain controller, named ABC-DC02, has Windows Server 2008 R2 installed.You have deployed a server, named ABC-SR15, on ABC.com’s perimeter network. ABC-SR15 is running a Server Core Installation of Windows Server 2012 R2.You have been instructed to make sure that ABC-SR15 is part of the ABC.com domain. Which of the following actions should you take?()A、You should consider making use of Set-Computer Windows PowerShell cmdlet on ABC-SR15.B、You should consider making use of Get-Computer Windows PowerShell cmdlet on ABC-SR15.C、You should consider making use of Test-Computer Windows PowerShell cmdlet on ABC-SR15.D、You should consider making use of Add-Computer Windows PowerShell cmdlet on ABC-SR15.
考题
单选题You install Windows Server 2008 R2 (Server Core I nstallation) on a server. You install the Hyper-V role and Windows PowerShell 2.0 on the server. When you attempt to run an iscsicli command, the command fails. You need to be able to immediately run the iscsicli command successfully. What should you do?()A
Run the ocsetup MultiPathIo command.B
Run the sc config msiscsi start= auto command.C
Run the start-service msiscsi PowerShell cmdlet.D
Run the set-service msiscsi CstartupType auto PowerShell cmdlet.
考题
多选题You install Windows Server 2008 R2 Enterprise (Full Installation). You need to add the Hyper-V role to the server. What are two possible ways to achieve this goal?()ARun the start /w hvconfig command.BRun the start /w ocsetup Microsoft-Hyper-V command.CRun the Add-WindowsFeature Hyper-V PowerShell cmdlet.DRun the Add-WindowsFeature RSAT-Hyper-V PowerShell cmdlet.
考题
单选题Your network contains an Active Directory domain. You need to restore a deleted computer account from the Active Directory Recycle Bin. What should you do()A
From the command prompt, run recover.exe.B
From the command prompt, run ntdsutil.exe.C
From the Active Directory Module for Windows PowerShell, run the Restore-Computer cmdlet.D
From the Active Directory Module for Windows PowerShell, run the Restore-ADObject cmdlet.
考题
单选题You work as an administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com.ABC.com has a domain controller, named ABC-DC01, which has Windows Server 2012 R2 installed. Another ABC.com domain controller, named ABC-DC02, has Windows Server 2008 R2 installed.You have deployed a server, named ABC-SR15, on ABC.com’s perimeter network. ABC-SR15 is running a Server Core Installation of Windows Server 2012 R2.You have been instructed to make sure that ABC-SR15 is part of the ABC.com domain. Which of the following actions should you take?()A
You should consider making use of Set-Computer Windows PowerShell cmdlet on ABC-SR15.B
You should consider making use of Get-Computer Windows PowerShell cmdlet on ABC-SR15.C
You should consider making use of Test-Computer Windows PowerShell cmdlet on ABC-SR15.D
You should consider making use of Add-Computer Windows PowerShell cmdlet on ABC-SR15.
考题
单选题Your network contains an Active Directory domain named contoso.com. The contoso.com DNS zone is stored in Active Directory. All domain controllers run Windows Server 2008 R2. You need to identify if all of the DNS records used for Active Directory replication are correctly registered. What should you do()A
From the command prompt, use netsh.exe.B
From the command prompt, use dnslint.exe.C
From the Active Directory Module for Windows PowerShell, run the Get-ADRootDSE cmdlet.D
From the Active Directory Module for Windows PowerShell, run the Get-ADDomainController cmdlet.
考题
单选题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?()A
Enable-PSRemotingB
Enable-PSSessionConfigurationC
New-PSDriveD
New-PSSession
考题
单选题您计划在部署Windows 7时使用Windows PowerShell脚本配置系统设置。您需要确保在最初安装过程中,Windows PowerShell脚本将在客户端计算机上运行。您应该怎么做?()A
将脚本执行策略设置为RemoteSignedB
将脚本执行策略设置为AllSignedC
将脚本执行策略设置为RestrictedD
使用组策略首选项
考题
单选题You work as an administrator at ABC.com. The ABC.com network consists of two Active Directory forests, named ABC.com and test.com. There is no trust relationship configured between the forests.A backup of Group Policy object (GPO) from the test.com domain is stored on a domain controller in the ABC.com domain. You are informed that a GPO must be created in the ABC.com domain, and must be based on the settings of the GPO in the test.com domain. You start by creating the new GPO using the New-GPO Windows PowerShell cmdlet.You want to complete the task via a Windows PowerShell cmdlet. Which of the following actions should you take?()A
You should consider making use of the Invoke-GPUpdate Windows PowerShell cmdlet.B
You should consider making use of the Copy-GPO Windows PowerShell cmdlet.C
You should consider making use of the New-GPLink Windows PowerShell cmdlet.D
You should consider making use of the Import-GPO Windows PowerShell cmdlet.
考题
单选题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.
考题
单选题Which of the following options will allow you to join a server running a Core Installation of Windows Server 2012 R2 to a domain?()A
You should run the Get-ADDomain cmdlet in Windows PowerShell.B
You should run the Add-Computer cmdlet in Windows PowerShell.C
You should run djoin /provision /domain command from an elevated command prompt.D
You should run dsadd computer command from an elevated command prompt.
热门标签
最新试卷