You are here:-2018

CentOS | Redhat – Assigning a Static IP address and network using NMCLI

The quickest and the best way to configure a brand new installation of Redhat/CentOs operating system using nmcli command line tool. Here are the steps we need to take in order to change network configurations: Check current network configuration Identify network adapter Configure network using nmcli tool Restart network services Verify new configurations

By |2018-12-29T14:18:08+00:00December 17th, 2018|Categories: Linux|Tags: , |0 Comments

VMware Independent Persistent Vs. Independent Non-Persistent Disk Mode | MVSourceCode

Recently I had a query about VMware virtual Disk Modes and for somebody who never came across these types it can be confusing. If we look at virtual machine setting and expand Disk Modes we can see three following option:  Dependent Independent -Persistent Independent - Nonpersistent All these three modes basically different behaviors of virtual

By |2018-12-29T16:50:53+00:00December 6th, 2018|Categories: VMware|0 Comments

PowerShell import static DNS records from Excel into remote DNS server | MVSourceCode

Sometimes you might need to load multiple static DNS records into your DNS server, especially when you have to add multiple new servers into your environment. You can do it manually, but it can take a long time and it would be very boring repetitive task, not to mention key-in errors. With PowerShell the

By |2018-11-26T10:32:56+00:00November 26th, 2018|Categories: PowerShell|Tags: , , |0 Comments

VMware vSphere ESX 6.7 | No network adapters were detected. Either no network adaptters are physically connected to the system ..

Typical scenario, you download the VMware ISO file, then you burn to USB and in your mind you're thinking, it will take me few minutes to install and configure the system and then I will be doing other stuff and then BAMMM ERROR: No network adapters  were detected. Either no network adapters are

By |2018-11-21T16:29:26+00:00November 21st, 2018|Categories: PowerCLI|Tags: , , , |0 Comments

VMware vcenter 6.7 | 503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007fb6cc081b80] _serverNamespace = /ui action = Allow _port = 5090)

After playing around for a few days in my lab with vCenter 6.7 I had to reboot my vCenter appliance. After reboot when I was trying connect back to HTML5 web client I received an error: 503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007fb6cc081b80] _serverNamespace = /ui action = Allow _port = 5090)

By |2018-12-29T14:08:18+00:00November 17th, 2018|Categories: vCenter|Tags: , , |1 Comment

POWERCLI | PowerCLIEnvironment.ps1 cannot be loaded because running scripts is disabled on this system.

When you run PowerCLI for the first time after fresh install you might get an error similar to this one. This is because your computer Powershell policy is set to restricted. You can check your current execution policy by running Get-ExecutionPolicy command. . : File C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1 cannot be loaded because running

By |2018-11-17T16:56:27+00:00November 17th, 2018|Categories: PowerCLI|Tags: , , |0 Comments

Powershell | ActiveDirectory module on Windows 10

1. Check if ActiveDirecory module is installed on Windows 10 First we need to check if ActiveDirectory module is already installed on a computer or not by running Get-Module PS command. From the output we can see that is not listed. 2. Install (RSAT) Remote Server Administration Tools on Windows 10

By |2018-11-15T08:06:29+00:00November 12th, 2018|Categories: PowerShell|Tags: , , |0 Comments

PowerShell ps1 is not digitally signed. You cannot run this script

By default Powershell execution policy is set to restricted, which prevents execution PowerShell scripts and protects from running malicious scripts. 1) Check Current PowerShell Execution Policy You can verity your execution policy by running the following command You can also list all Powershell execution policies by running the following command: [crayon-5c9d8434402bf939479215/] [crayon-5c9d8434402cc529844679/] 2)  Set PowerShell

By |2018-11-15T08:09:56+00:00March 15th, 2018|Categories: PowerShell|Tags: |0 Comments