Migrating an old VMWare Vcenter environment to newer vcsa 6.5 can be challenging. In the process I found myself doing other tasks like converting RDMs (Mapped Raw LUN) to .vmdk files.
Migrating RDMs attached to virtual machines on my Vcenter 5.5 environment to .vmdk disk files appeared like a tedious handy task especially when you have these LUNs attached to many ESXi hosts. With the help of powershell and Powercli the task becomes much easier.
Continue reading Detach LUNs from Multiple ESXi Hosts Using Powercli →
Many times It happens that we need to check if a list of computers is active, so how do you ping multiple computers at once?
Use this Powershell script to test connectivity to your list of computers. it will produce two lists of Bad (unresponsive) and Good(Responsive) computers.
You need to change “D:\scripts\list.txt” to the path where your saved your computers list file(.txt).
Also, you can un-comment #Write-Host $name… to view the list of computers with different colors Continue reading How to Ping a List of Computers →
How to Configure Notepad++ to run a python script via python IDLE
If you are learning python and want to use notepad++ as a free as well as simple and easy to use editor, follow these simple steps:
Install python (2.x/3.x)
(this example was made for python 2.7)
First thing: Download the python 2.x/3.x windows installer from http://www.python.org/download/ using the default settings. It should install python in the folder: C:\Python27. You can use a different version of python, just substitute out the version number wherever you see 27. Continue reading How to run python script on notepad++ →
You need to create multiple SCCM 2012 Distribution points fast and accurate!
Maybe you decided on upgrading your environment to SCCM 2012 or your company purchased another organisation. In any case,
The reasonable way will be to use a script, and not use the GUI to do the task over and over.
The preferred scripting environment is Powershell, since it already has many Configuration Manager commandlets that can be helpful.
You do have to work with at least SCCM 2012 sp1 version for the following script to work.
The below Powershell script will read the names of the Distribution points servers from a file. See example for the file Here
Continue reading Create SCCM Distribution Point with Powershell →
Did you ever wonder how SCCM 2012 install a DP remotely from the CM console?
DISM.exe (Deployment Image Servicing and Management tool) is a command line tool that you can use to enable or disable Windows features.
In this case we use it to install all the necessary IIS features for a SCCM 2012 DP.
Command line to install IIS on DPs:
Continue reading How to install IIS features on SCCM 2012 Distribution Point with command line →