Automated SQL installation for SharePoint server (Using PowerShell or Batch)

As we all know that SharePoint needs SQL server in background one of the important topic is what we need to install it and how. Especially if we have more than one farm intention is to install all SQL with same configuration. Best way to do it by using configuration file.

First we need to copy all installation binaries to location on a local or a network hard drive. Then you need to put configuration file to same location as well. And for a final step you need to run setup.exe with config file parameters.

Continue reading

CM 12 R2 Prerequisites on Server 2012 R2

In a next couple of posts I will try to share automated scripts for various installations. First of them will be for installing all prerequisites for installation of System Center Configuration Manager 2012 R2 on Windows Server 2012 R2

Script is simple and code will be shown here, but at the bottom of this post you can find download link so you don’t need to type script.

NOTE: In this script you need to be adjust path to configuration file and name of configuration file if you will use other than this

Open PowerShell and type:

Install-WindowsFeature –ConfigurationFilePath <CM12Prereqs.xml>

(mine is looking like this:

Install-WindowsFeature -ConfigurationFilePath ./CM12Prereqs.xml)

Here you can find .ps1 and .xml file for download as a .zip file CM12Prereqs.zip
More about this can be foud here

How to manage virtual machines on your Windows Server 2012 Core with Hyper-V role.

If you install Windows Server 2012 Core, when you log on to server you will have only command prompt. Difference after you log on between Hyper-V 2012 and Windows Server 2012 Core with Hyper-V role is sconfig (so called blue) window. You can always start sconfig window by typing sconfig to your command prompt.

Hyper-V role by default does not install Hyper-V management console. If you try to run it you will receive error “c:\Windows\System32\virtmgmt.msc” does not exist. To install it you must use PowerShell

PowerShell give us possibility to install different Windows Features. To install Hyper-V management console you will use syntax: Add-WindowsFeature –name RSAT-Hyper-V-Tools

If you want to install other RSAT tools you can type Get-WindowsFeature to see names of available features and then type Add-WindowsFeature –name Name_Of_The_feature