Microsoft_Press_ebook_Introducing_Windows_Server_2012_R2_PDF.pdf

Here is an example ps c repair scopeid 1010100

This preview shows page 202 - 204 out of 242 pages.

Here is an example: PS C:\> Repair-DhcpServerv4IPRecord -ScopeId 10.10.10.0 -ReportOnly This command gets inconsistent DHCP client records for the scope 10.10.10.0. The command specifies the ReportOnly parameter. Unlike the previous example, this command makes no changes to inconsistent records. DNS server cmdlets Windows Server 2012 added extensive Windows PowerShell support for configuring and managing DNS servers. Several new cmdlets have been added to the DNS Server module in Windows Server 2012 R2. These new cmdlets are designed to help you configure and manage DNSSEC in your DNS server environment. The new cmdlets for this functionality include: Add-DnsServerSigningKey Disable-DnsServerSigningKeyRollover Enable-DnsServerSigningKeyRollover Get-DnsServerSigningKey Invoke-DnsServerSigningKeyRollover Remove-DnsServerSigningKey Set-DnsServerSigningKey Step-DnsServerSigningKeyRollover You can use the Get-Help cmdlet on Windows Server 2012 R2 to display additional information about these new cmdlets.
Image of page 202

Subscribe to view the full document.

Yet more new cmdlets CHAPTER 10 191 Hardware certification cmdlets New in Windows PowerShell 4.0 are cmdlets relating to the Windows Hardware Certification Kit (HCK). These cmdlets can be used to create HCK project definition files and test collection files, create test summary reports, merge test results in different ways, and export/import test collections in XML format. The new cmdlets for this functionality include: Export-HwCertTestCollectionToXml Import-HwCertTestCollectionFromXml Merge-HwCertTestCollectionFromHckx Merge-HwCertTestCollectionFromXml New-HwCertProjectDefinitionFile New-HwCertTestCollection New-HwCertTestCollectionExcelReport You can search Microsoft TechNet if you need more information about these cmdlets. Hyper-V cmdlets There are several new cmdlets you can use for managing various aspects of a Hyper-V environment running on Windows Server 2012 R2. The sections that follow include descriptions of some of the new cmdlets you might find useful for your environment along with some usage examples. Test-VMNetworkAdapter The Test-VMNetworkAdapter cmdlet tests connectivity between virtual machines by using Internet Control Message Protocol (ICMP) Ping packets. Ping verifies IP-level connectivity to another TCP/IP computer by sending ICMP Echo Request messages. Here is an example: PS C:\> Test-VMNetworkAdapter –VMName "ContosoVM01" –Receiver –SenderIPAddress "10.20.20.5" –ReceiverIPAddress "10.20.20.6" –VMNetworkAdapterName "ContosoNic01" This command tests connectivity by using the virtual network adapter named ContosoNic01. The command targets the receiver virtual machine. Virtual machine firmware cmdlets The following cmdlets can be used to view or modify the firmware configuration of virtual machines: Get-VMFirmware Set-VMFirmware
Image of page 203
192 CHAPTER 10 Windows PowerShell Virtual network adapter isolation cmdlets
Image of page 204
You've reached the end of this preview.
  • Spring '16

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern