Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "windows server 2012 r2"

Copy Files with PowerShell Remoting WINRM Protocol

January 11, 2018 12:21PM

Microsoft Powershell psremoting is just not limited to remoting into computers, it can also use to copy files over winrm protocol to remote system the same way, you use files are copied on traditional SMB protocol. This requires some psremoting configuration using POWERSHELL PS REMOTING BETWEEN CO…

Read more

Set Powershell execution policy with Group Policy

November 17, 2017 02:45PM

In this article I will be covering configuring Windows PowerShell execution policy using Group Policy, to configure environments properly ahead of time for better management, doing this takes less time to get your work done in timely fashion. For example, I gave few ps1 PowerShell script to some of …

Read more

Find next available free drive letter using PowerShell

October 25, 2017 11:09AM

Below is my one-liner small PowerShell code for finding next available free unassigned first drive letter, I use it frequently for automating mapping shared drives. This is based on Get-PSDrive -PSProvider FileSystem, it shows the all in use drive, Generally A, B (floppy drive not for use as disk or…

Read more

Powershell: Change DNS IP addresses remotely on multiple computers using CIM & WMI

August 2, 2017 08:05PM

Although I had written this script around 4 years back I have again revised it to work it in more better way with status report on console. I used this script again after long time to change/update DNS ip addresses on remote Windows servers, after introducing my new upgraded DNS servers. Same task …

Read more


May 22, 2017 02:45PM

Warning: Windows iSCSI is not listed on VMWare HCL as Esxi iSCSI datastore. I am using it as a demo purpose.

In my previous blog I configured Microsoft iSCSI Target Server using GUI way, Here in this chapter I am utilizing Powershell to do the task. First command is to check the status of FS-iSC…

Read more


December 13, 2016 10:26PM

There might be a chance while installation of Microsoft Windows Server setup, You might have overlooked the operating systems menus while setup installation and selected default Windows Server 2012 R2 standard (Server Core installation), first option from the list and click next or press enter. This…

Read more

6 Blog Posts