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

Server 2012

Hyper-V & PowerShell – How to create a VM with a differential disk

How many times you have to create a VM to test something? How many times you have to watch OS installation progress. Enough! All you need is to create a differential disk to your golden image and spin it. There is another advantage of differential disk. You can create a pseudo strip and keep master image on one drive (SSD) and differential disks on other hard drives. I like this setup for my R&D games. It saves a lot of storage and improves VMs performance. Ad of course I can repeat something ......

Server 2012 and PowerShell remoting – How to create a failover cluster without leaving your desk(top)

Who's the king? Of course PowerShell. Let's try to use its beauty to create 3 node failover cluster. It's nothing unusual, where is this beauty? In remoting of PowerShell scripts. RDP is for noobs. Geeks(withBlogs) do such tasks this way: # Install Failover Clustering and File Server RolesInvoke-Command -ComputerName Server1, Server2, Server3 -ScriptBlock {Get-WindowsFeature *Cluster* | Add-WindowsFeature –includeManagementToolsGet-... *File-Services* | Add-WindowsFeature –includeManagementToolsGet-... ......

Server 2012 R2 – Storage Spaces – A Software Defined Storage by Microsoft

You know ... when I was young (bear in mountainsJ) the server was meaning a file server and Novell as well. In 2000 Microsoft released Server 2000, Active Directory and have changed the world once forever. We will never forget year 2002 when Windows XP was born and of course Server 2003. It was great time to participate in this revolution. We were so proud doing migrations to XP/2003 world. Once it was done we choose to rest, not we … Microsoft did it. It's funny but what you should be aware in live ......

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.



Full Server 2012 Archive