Waclaw Chrabaszcz
... there is no spoon ...

Server 2012

Server 2012 GUI – to be or not to be …

That's the question J This quick post is inspired by one of feedbacks. To enter into PowerShell just type powershell in CMD To make Server 2012 core server: PowershellUninstall-Windows... Server-Gui-Shell, Server-Gui-Mgmt-InfraShutdown –r To restore server's GUI PowershellInstall-WindowsFe... Server-Gui-Shell, Server-Gui-Mgmt-InfraShutdown –r Voila ! P.S. Of course it not works for 2008 ......

Server 2012R2 – PowerShell Web Access

Haha … Sometimes I'm joking that there is nothing worse than Linux fanboi imprisoned in Windows engineer's body. Maybe someday I will start blogging about my noob's experiences. However let's stick to the point. Sometimes the easiest solutions are the best. After couple of tries how to reach left pocket using right hand I'm going to follow easy path. Today's plan is very easy, I'm going to take advantage of Server 2012 and install Web gateway to PowerShell console. After that I would be able execute ......

Active Directory – How to promote Server 2012 R2 to DC and even more using PowerShell magic

It will be quick post, I have limited access to the Internet. Today we are going to promote Windows 2012 to Domain controller and move some unique roles to it. It can be handy in DR scenario, or when we are going to raise domain functional level. It is very easy task, so to make some fun I'm not going to touch a GUI. Prepare AD forest for Server 2012 if it is needed. Of course as a Schema Admin, of course it is one way ticket, so think twice before you do anything.Don't forget about backing up your ......

How to install Windows Server features using PowerShell – Server 2012 R2 update

I have some feedback that list of roles and features is obsolete in my old post. Let's learn than how to have always up to date list. First things are first, to install some role or feature use followed command: Install-WindowsFeature -Name Web-Server -IncludeAllSubFeature Let's act as TRUE admin: $servers = ('server1', 'server2') foreach ($server in $servers) {Install-WindowsFeature –ConfigurationFilePath D:\ConfigurationFiles\ADCSC... -ComputerName $server} How to generate up to date ......

Shared resources and stopped services

A hypervisor is like a bank. It is offering inexistent CPU cycles and HDD I/Os up to 150% of real capacity. In normal situation VMs consumes about 20% of declared (maximum) RAM, CPU and disk IO, and business is running perfectly … until … Until everyone will come to bank and ask "I want my money back". Good example, short power outage or unexpected hypervisor reboot. Once the hypervisor will start it will try to power on all VM guests, and every of them will want "his money back". As a result we ......

How to install Windows Server 2008/2012 roles/features using PowerShell

Let's make it faster … A simple PowerShell script Import-Module Servermanager Add-WindowsFeature Application-Server,Hyper-V,WAS -norestart And of course shutdown –r at the end List of roles and features: Role/Service or Main Feature R/S/F Name Installatiom command DHCP Server DHCP Server DHCP Print Services Print Server Print-Services Internet Printing Print-Internet LPD Service Print-LPD-Service Terminal Services Terminal Services Terminal-Services Terminal Server TS-Terminal-Server TS Licensing ......

How to install .NET 3.5 on Windows Server 2012

Install it with DISM (run cmd.exe as admin), if the setup fails when you try to enable it under "add, remove features"

dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess

Replace D: with your DVD drive/USB thumb drive or virtual ISO drive.