Monday, April 25, 2016

Create installation media for IFM

There are times, when installing domain controller, you may want to choose install from media option to start with, remote sites Domain Controllers installation. Perhaps bandwidth is the concern. In similar situations we will prepare IFM to use. Log into your domain controller as an administrator. Open Command prompt with your administrator credentials. Click start on the run menu type cmd.exe and press enter and accept any UAC prompt. At the Administrator command prompt Type:

  1. Ntdsutil
  2. activate instance ntds
  3. IFM
  4. create sysvol full <Drive>:\<InstallationMediaFolder>

image

image

You can use Robocopy to move IFM media to destination server to prepare install from media on windows 2012 R2 environment.

image

You can download Robocopy script from TechNet Library

Oz Casey, Dedeal (MVP North America)
MCITP (EMA), MCITP (SA)
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)
https://twitter.com/Message_Talk (Twitter)

Wednesday, April 6, 2016

Create Virtual Host via PowerShell

This simple PowerShell script will assist you to configure virtual machines on your HyperV Server. Script will create virtual host , create virtual hard disks and mount the ISO file. All you have to do is , start the VM and follow install wizard to complete the settings.

image

image

 

image

image

 

<#    
.NOTES
#==============================================
# Script: Create_VM_App_Server_NR.ps1 
# Created With:ISE 3.0 
# Author: Casey Dedeal 
# Date: 04/06/2016 22:58:41 
# Organization:  ETC SOLUTIONS
# File Name: Create_VM_App_Server_NR.ps1 
# Comments:  First Version
#=============================================
.DESCRIPTION
        Create_VM_App_Server_NR.ps1
==============================================
Change these variables
$path = "A:\HyperV_" ( Change the Path )
$ISOPath = "A:\ISO\en_windows_server_2012_r2_x64_dvd_2707946.ISO"
==============================================

image

https://gallery.technet.microsoft.com/scriptcenter/PowerShell-createHyperV-59fe68cd

Oz Casey, Dedeal (MVP North America)
MCITP (EMA), MCITP (SA)
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)
https://twitter.com/Message_Talk (Twitter)