Author Archives: Lars

Some more Powershell Commands




Adds a member to one or more Active Directory groups.



Adds an IPv6 Reservation to an IPv6 prefix or scope.


Configure-SMRemoting.exe -enable

Enable Server Manager remote management by using Windows PowerShell


“To enable Server Manager remote management by using Windows PowerShell

On the computer that you want to manage remotely, do one of the following
to open a Windows PowerShell session with elevated user rights.

  • On the Windows desktop, right-click Windows PowerShell on the
    taskbar, and then click Run as Administrator.
  • On the Windows Start screen, right-click Windows PowerShell, and
    then on the app bar, click Run as Administrator.

Type the following, and then press Enter to enable all required firewall
rule exceptions.

Configure-SMRemoting.exe -enable



Enables a binding to a network adapter. Can be used to enable Windows Network
Virtualization Filter Driver in Hyper-V server 2012.



Enables a previously disabled firewall rule. Can be used to enable the
view of the event logs on another server.



Collects resource utilization data for a virtual machine or resource pool.



Installs a new Active Directory domain configuration.



Installs a domain controller in Active Directory.



Installs one or more roles, role services, or features on either the local or a specified remote server that is running Windows Server 2012 R2. It replaces Add-WindowsFeature on former OS.



Changes the name of an Active Directory object.



Modifies user account control (UAC) values for an Active Directory account.
Can also be used to disable a computer account, prevent a user from changing his password.



Modifies an Active Directory group. Can modify certain parameters, such as ManagedBy and others.



Sets the AppLocker policy for the specified Group Policy object (GPO). With
the merge parameter other policys can be merged.



Sets DNS server addresses associated with the TCP/IP properties on an



Grants a level of permissions to a security principal (i.e. User) for one GPO
or all the GPOs in a domain.



Modifies existing firewall rules.



Use the Set-User cmdlet to modify user attributes in Active Directory.

Powershell and background jobs


manage scheduled jobs


start background jobs


pause background jobs


delete background jobs

Did you like the article? Then I'm happy if you like and share it.
Thank you!

Microsoft Exam 70-410 – Installing and Configuring Windows Server 2012

Go here to the original Microsoft Description of this exam.

Here is a short abstract of what you schould now for this exam taken from the above mentioned site-

Install and configure servers (15–20%)

  • Install servers
  • Configure Servers, Server Core
  • Configure local storage

Configure server roles and features (15–20%)

  • Configure file and share access
  • Configure print and document services (Easy print driver!)
  • Configure servers for remote management (WinRM, server management)

Configure Hyper-V (15–20%)

  • Create and configure virtual machine settings
  • Create and configure virtual machine storage
  • Create and configure virtual networks

Deploy and configure core network services (15–20%)

  • Configure IPv4 and IPv6 addressing (DHCP)
  • Deploy and configure DNS service

Install and administer Active Directory (15–20%)

  • Install domain controllers
  • Create and manage Active Directory users and computers
  • Create and manage Active Directory groups and organizational units (OUs)

Create and manage Group Policy (15–20%)

  • Create Group Policy objects (GPOs)
  • Configure security policies
  • Configure application restriction policies
  • Configure rules for multiple profiles using Group Policy

Wondering which questions may come?

There are a lot of example questions in the official training books. Normally
they have not much to do with the question that have to be answered in reality.
remember, only real knowledege will help you in work.


A good posibility are the microsoft books.

Here the newer:

Did you like the article? Then I'm happy if you like and share it.
Thank you!

Windows Server 2012 R2 basic configuration

start sconfig
Windows Server 2012 R2 basic configuration
  • Configure  Computer Name with Option 2
  • Configure Network Adapter with Option 8

Windows Server 2012 R2 basic configuration

  • You have to choose the correct NIC-adapter

  • Follow the displayed options to change the necessary options

For NIC-Settings via CLI you could also use the command


Do not mix it up with net (i. e. connect shares) ore netdom
(Domain Join). This could be a 70-410 topic.



  • Choose the correct Domain with Option 1

For joining a server into a Domain you could also use the


Do not mix it up with net (i. e. connect shares) ore netsh (nic-settings).
This could be a 70-410 topic.


  • If anything goes wrong you can have a look at the eventlogs


Did you like the article? Then I'm happy if you like and share it.
Thank you!

Windows Azure

Some very basic thoughts to Windows Azure…

Windows Azure is

  • SAAS – Software in cloud – i. e. Office 365
  • PAAS – Platform in cloud – for developer Application
  • IAAS – Infrastructure as a service – AD, DNS, IIS, …


Considerations must be made of the sync. Dirsync.exe can be used to sync the local environment with Azure and copy user, groups and passwords. But you should prefer to establish a real real DC in Azure and do regulary synchronisation. Your local environment will be connected to Azure via VPN.

  • Set up Azzure Account
  • Configure Network
  • Add VMS
  • Configure sites
  • Use DHCP (Azure has very long lease-times)
  • Add VMS (DC, DNS – point to corporate DNS – take care to use non cached Disk for NTDS)
Did you like the article? Then I'm happy if you like and share it.
Thank you!

What’s new in Windows Server 2012 R2?

The days are over when a server operating system lasts four years (and more).But a new release just nine months after the old is challenging me. OK I am one of the older IT pros.  

Prerelease versions can be downloaded here at Microsoft.

At the first glance not much has changed – except for the start button.As with Windows 8.1 it doesnt lead to the start menu. Sorry 😉 The only thing you get is the mordern ui.

Windows Server 2012 R2 surface

Much new regards the cloud. Access to cloud services is easier and safer. Work Folders promise a central repository for a variety of devices to be.

What is new for the non cloud user like me?

  • NIC teaming has been improved and now works at the packet level
  • Message Analyzer provides a graphical interface for analysis of network traffic
  • Automated tiering storage move frequently needed data independently on faster memory such as SSD
  • Mobile device management with Microsoft System Center Configuration Manager 2012 R2 and Windows Intune
  • Office 365 connectivity with Windows Azure Active Directory
  • Automatic activation possible (interesting with the use of Datacenter Edition)
Did you like the article? Then I'm happy if you like and share it.
Thank you!

What’s new in Windows Server 2012 R2 Hyper-V?

What is new in Windows Server 2012 R2 concerning to Hyper-V?

  • New VMs of the second generation, called Gen2 VM. Gen1 VM actually have a very old hardware.Gen2 VMs booting faster, and the operating systems can install quicker. You use UEFI boot from virtual SCSI drives or network. Posssible guest operating systems are only Windows Server 2012 and Windows 8 or higher (64 bits each). A change or a migration from Gen1 to Gen2 VM-VM is not possible. Gen1 VM are still supported in Windows Server 2012 R2.
  • Access to machines is now also possible without a network connection (Enhanced VM Interaction), clipboard, file exchange
  • Live migration has been significantly accelerated by different techniques (data compression, RDMA and SMB Multichannel)
  • VMs in VHDX format allow you to change the size now in operation. This only works for drives that are attached to a virtual SCSI controller.
  • A VM can be exported without shutdown
  • Hyper-V Replica (running machine in duplicate external data center) now offers three different intervals: 30 seconds, 5 minutes or 15 minutes. In addition, several replications can be set (eg host 1 to host 2 to host 3 – so-called extended replication).
  • Shared noting live migration from 2012-2012 R2 is possible (for migration scenarios)
  • Linux gets dynamic  memory, online memory, online VHDX resize and new graphics drivers
  • Storage QOS: bandwidth for storage is more effectively distributed. VMs that require a lot of bandwidth, can not consume the whole bandwidth with Storage QOS enabled. A minimum bandwidth can be defined. Basic unit in MS is IOPS. IOPS are 8K by default.
  • Guest clustering with shared virtualDisk: eg SQL hereby can get access to the same cluster VHDx. Both machines can obtain the VHDX via a virtual SAS interface connected.
  • SMB direct: Machine data can be transmitted via SMB. Several NICs may be used simultaneously. SMB Direct cards are also supported . SMB over RDMA provides high performance.
  • Snapshots are now called checkpoints
  • Virtual machines can be migrated to Azure
  • A newly installed server with normal GUI and the Hyper-V role requires approximately 12 GB of space
  • Nested Virtualization – eg Hyper-V Server on Hyper-V server is still not working. I would love to have it for lab or demo. But there aren not enough requests for it that Microsoft will implement it.
  • An ISO file can not still integrate over the network. Why not? Wan’t to have all my isos in one place on a server!

The VM-generation selection in Windows Server 2012 R2

The VM-generation selection in Windows Server 2012 R2

Memory choices in Windows Server 2012 R2

Dynamic or static RAM allocation? Windows Server 2012 R2

Display the VM generation in Hyper-V Manager

Display the VM generation in Hyper-V Manager

Features a Gen1 VM Hyper-V Manager

A Gen1 VM in Hyper-V Manager – looks familiar

Properties of a Gen2 VM in Hyper-V Manager

Properties of a Gen2 VM in Hyper-V Manager – not quite as before – IDE, legacy, legacy BIOS completely missing…

Did you like the article? Then I'm happy if you like and share it.
Thank you!

What is iSCSICLI?

iSCSICLI is the command line interface for the Microsoft iSCSI Software
Initiator. The msiscsi service must be started, before you can use it.


1. Set the iSCSI Initiator service to start automatically

sc \localhost config msiscsi start=auto

2. start the iSCSI Initiator service

sc start msiscsi

3. Add the target portal

iscsicli QAddTargetPortal <IP adress of portal>

4. Add the target

iscsicli QAddTarget <iqn adress of target>

5. Log in to the target

iscsicli QloginTarget <iqn adress of target>

More information in this article:

If you have some general questions to iSCSI maybe my video for the GUI helps
you a bit. Comments in the video are on german.

Watch this video on YouTube.


Did you like the article? Then I'm happy if you like and share it.
Thank you!