• fsutil file createnew i:\i-test.txt 52428800
• fsutil file createnew j:\j-test.txt 104857600

Invoke-IpamGpoProvisioning –Domain kktest.local –GpoPrefixName IPAM –IpamServerFqdn Server1.kktest.local –DelegatedGpoUser Administrator

• dnscmd ServerDC1 /config /EnableGlobalNamesSupport 1
• dnscmd ServerDC1 /ZoneAdd KKAction.Local /DsPrimary /DP /forest
• dnscmd /RecordAdd KKAction.Local webaction A 192.168.168.192
• dnscmd /RecordAdd GlobalNames web CNAME webaction.kkaction.local
• dnscmd /RecordAdd GlobalNames qwe CNAME serverdc1.kktest.local

  1. Command prompt lange peržiūrėkite dabartinį DNS socket pool dydį dnscmd /info /socketpoolsize
  2. Įveskite sekančias komandas:
    • dnscmd /config /socketpoolsize 3000
    • net stop dns
    • net start dns

dnscmd /info /CacheLockingPercent

  1. Įveskite sekančias komandas:
    • dnscmd /config /CacheLockingPercent 75
    • net stop dns
    • net start dns
  2. Peržiūrėkite pasikeitusią DNS cache lock reikšmę

• GPUpdate /force
• Resolve-DNSName serverdc1.kktest.local –DNSSECOK –Server ServerDC1

  • Install-WindowsFeature -IncludeManagementTools –Name DHCP –ComputerName Server2
  • Invoke-Command –ComputerName Server2 –ScriptBlock {Netsh DHCP Add SecurityGroups}
  • Invoke-Command –ComputerName Server2 –ScriptBlock {Restart-service dhcpserver}
  • Invoke-Command {Add-DhcpServerInDC kktest.local}

s

  1. DHCP konsolėje ant IPv4 paspauskite dešinį pelės klavišą ir sukurkite naują sritį (New Scope):
    • Name: Pagrindinis
    • Start IP: 172.10.0.10
    • End IP: 172.10.0.100
    • Sukurti išimtį 172.10.0.11 – 172.10.0.13
    • Configure DHCP options pasirinkite: Yes, I want configure these options now
    • Router: 172.10.0.1
    • Iš DNS ir WINS sąrašo pašalinkite: 131.107.0.1
    • Activate Scope pasirinkite: No, I will activate this scope later
  2. Sukurkite dar vieną adresų sritį:
    • Name: Papildomas
    • Start IP: 172.20.0.1
    • End IP: 172.20.0.50
    • Configure DHCP options pasirinkite: Yes, I want configure these options now
    • Router: 172.10.0.1
    • Iš DNS ir WINS sąrašo pašalinkite: 131.107.0.1
    • Activate Scope pasirinkite: No, I will activate this scope later

Invoke-Command -ComputerName Win80 -ScriptBlock { cmd /k ‘ipconfig /all | find “DHCP Server”‘}