o To ADD : Set-Item WSman:\LocalHost\TrustedHosts (PC Name) – Concatenate –Force
· Show All Modules for Hyper -V & Get Help
o Show : GCM -Module Hyper-V
o Try Help: Help (Module Name)
o Try Full Help: Help (Module Name) –Full
o Get-Command *Part of Command*
· Install Active Directory with All Features
o Install-WindowsFeature –Name AD-Domain-Services –IncludeManagementTools
· IFM : Install Domain Controller From Media Using PowerShell
Exporting
o NTDSUtill
o IFM >> For Help?
o Create Sysvol Full E:\IFM
Importing
o Install-ADDsDomainController –InstallationMediaPath E:\IFM –Credential (Get-Credential DS\Admin)
· Resolve DNS Srv Issues
o DCDiag /Fix
o OR : Net Stop Net Logon & Net Start Net Logon
o Or : Replicate From Other DC using AD Service
· Adding Machine to Event Log Reader
o Net LocalGroup “Event Log Readers” (PC NAME)$ /add
The Rubik’s Cube makes a perfect gift for any occasion. Learn how to solve the cube on Ruwix.
Mahmoud A. ATALLAH
Microsoft MVP | Speaker | Azure Service Delivery Lead at Bespin Global MEA, helping customers build successful Azure practices. Talks about #AzureCloud and #AI