1. What is the PS cmdlet to change the IP address? 2. What is the PS cmdlet to find the index of the active network adaptor? 3. What are some of the variables that need to be defined when
Please do not give solution in image formate thanku.
Chapter 17
1. What is the PS cmdlet to change the IP address?
2. What is the PS cmdlet to find the index of the active network adaptor?
3. What are some of the variables that need to be defined when setting the IP address of a server through PowerShell?
4. What is the PS cmdlet to rename a computer?
5. What is the PS cmdlet to restart a computer?
6. What does the below PS script achieve? $featureLogPath = "c:\poshlog\featurelog.txt" start-job -Name addFeature -ScriptBlock { Add-WindowsFeature -Name "ad-domain-services" -IncludeAllSubFeature -IncludeManagementTools Add-WindowsFeature -Name "dns" -IncludeAllSubFeature -IncludeManagementTools Add-WindowsFeature -Name "gpmc" -IncludeAllSubFeature -IncludeManagementTools } Wait-Job -Name addFeature Get-WindowsFeature | Where installed >> $featureLogPath
7. What does the Wait-Job -Name addFeature achieve? $featureLogPath = "c:\poshlog\featurelog.txt" start-job -Name addFeature -ScriptBlock { Add-WindowsFeature -Name "ad-domain-services" -IncludeAllSubFeature -IncludeManagementTools Add-WindowsFeature -Name "dns" -IncludeAllSubFeature -IncludeManagementTools Add-WindowsFeature -Name "gpmc" -IncludeAllSubFeature -IncludeManagementTools } Wait-Job -Name addFeature Get-WindowsFeature | Where installed >> $featureLogPath
8. What are the three types of domain-controllers that can be installed through PS?
9. What Additional configuration options are available through PS concerning AD domain controllers?
Step by step
Solved in 5 steps