MCSA Windows Server 2012 R2: Difference between revisions
mNo edit summary |
|||
Line 68: | Line 68: | ||
You could try directly the powershell cmdlet without the -Source param. | You could try directly the powershell cmdlet without the -Source param. | ||
Also, other interesting cmdlets are ''Uninstall-WindowsFeature'' and ''Remove-WindowsFeature'' | Also, other interesting cmdlets are ''Uninstall-WindowsFeature'' ( with -Remove ) and ''Remove-WindowsFeature'' | ||
The nice thing is that you can even do this to vhd ( Hyper-V VirtualHardDisk files ). | |||
<source lang="powershell"> | |||
# This will remove Group Policy Management Console | |||
Uninstall-WindowsFeature -name gpmc -vhd "Path\to\file.vhdx" -Remove | |||
# The remove flag will actually remove the binaries ( payload ) from the disk, not only disable them. | |||
</source> |
Revision as of 19:46, 13 July 2014
EXAMS
As you can see on the page above, there are multiple paths you can take. I choose the WS2K12R2 one.
It is composed of 3 exams.
Installing and Configuring Windows Server 2012 Exam: 70-410
Administering Windows Server 2012 Exam: 70-411
Configuring Advanced Windows Server 2012 Services Exam 70-412
Books are available at microsoftpressstore.com
I'm using en_windows_server_2012_r2_with_update_x64_dvd_4065220.iso in a virtualbox/vmware environment.
I'm also watching CBTNuggets video training
The guys at Infiniteskills, VTC and Pluralsight have nice video trainings too.
The guys at examcollection provide a big test base. Also Microsoft points to Transcender and others to test your skills before the exam.
Steps
After installing it in a virtualbox environment .. The process was easy. Just *click click*. I started with the Standard core edition.
Check and enable remote desktop
cd c:\windows\system32
cscript scregedit.wsf /AR /v
Will yell 1 by default ( which means disabled. )
Enabled the remote desktop:
cd c:\windows\system32
cscript scregedit.wsf /AR 0
Running the cscript scregedit.wsf file without any params will yell other stuff you can do like:
/AU - Manage Automatic Windows Updates
/AR - Allow Remote Administration Connections
/CS - Allow connections from previous versions of Windows
/IM - IPSec monitor
/DP - DNS SRV Priority
/DW - DNS SRV Weight
/CLI - CLI reference
After a while looking at the videos, I decided there was some need for the full desktop. So, mounted the iso again .. I had to use DISM (Deployment Image Servicing and Management Tool) because of a problem I seemed to have not finding the source. More info of my problem here
Import-Module ServerManager
mkdir c:\mountdir
Dism /get-wiminfo /wimfile:<drive>:sources\install.wim # I used drive d
Dism /mount-wim /WimFile:<drive>:\sources\install.wim /Index:<ID_from_step_2> /MountDir:c:\mountdir /readonly # my index was 2 for the standard installation, datacenter was also an option there ..
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell –Restart –Source c:\mountdir\windows\winsxs
The reason I had to use dism was because for some reason, it couldn't find the source to download it ( altough I had net access ). You could try directly the powershell cmdlet without the -Source param.
Also, other interesting cmdlets are Uninstall-WindowsFeature ( with -Remove ) and Remove-WindowsFeature
The nice thing is that you can even do this to vhd ( Hyper-V VirtualHardDisk files ).
# This will remove Group Policy Management Console
Uninstall-WindowsFeature -name gpmc -vhd "Path\to\file.vhdx" -Remove
# The remove flag will actually remove the binaries ( payload ) from the disk, not only disable them.