Menu

Virtual Geek

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

Blog posts

Using Ansible for Managing VMware vSphere Infrastructure

On this second part article of after How to install Ansible on Linux for vSphere configuration, I have written here 2 Ansible playbook files (play tasks created) to configure VMWare ESXi servers. Language for the ansible playbook files is YAML/YML format. When using Ansible to use on VMware vSph…

Read more

How to sign PowerShell ps1 scripts

By reading the article subject first question rose to the mind why you should sign PowerShell scripts? The answer is whenever we download powershell script or we receive it from another users, The digital signature allows the user to confirm the validity of the certificate used to sign the script.…

Read more

Creating an internal PowerShell module repository

I was at client location and online Microsoft PSGallery was blocked as per company security policy, They wanted to only allow to use local respository which will only have tested and verified PowerShell modules. For this we suggested to configure a solution local PowerShell repository. In the Micros…

Read more

Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send

I was setting up a local on premises PSRepository server for collaboration purpose between my team also future planning is to limit users downloading modules from only from in-house PowerShell repositories. Local repository was setup but while publishing module on the repository I was getting below …

Read more

Get-PSRepository WARNING Unable to find module repositories

I was at one of my client's location and setting up PowerShell enviroment. I was trying to download few PowerShell modules from online PSGallery with below commands, while received the errors. After trying find and install PowerShell module with required parameters, in both the error outputs it was …

Read more

Managing ESXi SSL certificate properties from vCenter server

One of the way to manage esxi certificate properties is using vCenter server, This is good option where you don't have generate a certificate for every indivisual Esxi. You just need to configure valid SSL certificate once on the vCenter VMCA. Improving Esxi security by using vCenter server can ensu…

Read more

Part 3 Git clone version control integration in Visual Studio Code

Part 2 Git master branch source control integration in Visual Studio Code

Part 1 Git version control integration in Visual Studio Code

VS code remote ssh could not establish to host, connecting was canceled

This article is based on one of the issues I was facing while configuring VSCode Remote - SSH. 

Earlier Parts
How to Setup Passwordless SSH Login on Windows
configure remote ssh extension on visual studio code

Here I configured second linux host in ssh config file. This one is not passwor…

Read more

configure remote ssh extension on visual studio code

In my earlier article I wrote How to Setup Passwordless SSH Login on Windows to ease my tasks, to connection between Windows to Linux and this is a second part of the article. I use visual studio code to write my all devops codes, most of the time whenever I want to test the script on linux, free t…

Read more

How to Setup Passwordless SSH Login on Windows

Since I upgraded my laptop to Windows 10, I started using inbuilt tool SSH.exe to connect openssh servers (linux) instead of external tools like putty.exe. Here whenever I want to connect to linux through ssh, it prompts for password each time for new login. To make linux passwordless connection ov…

Read more

Oneliner Powershell How to Add and Remove AD users and Objects in Groups members

This is one-liner simple and small active directory powershell script to add or remove AD groups members from text file or a single user, I have already written another few articles in this regards as you can find below.

Installing, importing and using any module in powershell
Powershell one li…

Read more

Docker Error response from daemon i\o timeout internet proxy

In this article after installing docker (How to install Docker on Linux) and configuring its service (Cannot connect to the Docker daemon at unix:var run docker.sock. Is the docker daemon running) next step is to download docker containers from docker hub (internet) for testing purpose.

My dock…

Read more

Cannot connect to the Docker daemon at unix:var run docker.sock. Is the docker daemon running

After writing article How to install Docker on Linux I tested it with command docker version, everything was good but no docker engine related information was there and on  the last line I saw error Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?,…

Read more

How to install Docker on Linux

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. This is step by step guide …

Read more

How to install Ansible on Linux for vSphere configuration

Part 2: Using Ansible for Managing VMware vsphere Infrastructure

managing-Vmware-vSphere-through-Ansible-devops-automation-tool-api-pyvmomi-780x405.png

Recently I took over a task to evaluate few DevOps configuration, automation and orchestration tools to configure VMware vSphere. There are many tools available in the market for DevOps automation. Personally I like and already…

Read more

Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration

After installation of new version of VMware PowerCli module on one of my deployment at client infrastructure. I tried testing it by using cmdlet connect-viserver to vcenter, which was failing with below error. Reading error carefully on the screen, which was telling me, my vcenter’s SSL certificate…

Read more

PowerShell WPF before and after image slider

While doing a PowerShell GUI project for a one of my client, they wanted to use one of the WPF control – GridSplitter, in such a way that it will switch or show different images while sliding GridSplitter. This cool effect can be easily achieved by using WPF bindings. I am using horizontal grid spli…

Read more

Powershell Azure Inventory GUI Utility

“YOU DON’T HAVE TO BE BIG. YOU HAVE TO BE REMARKABLE.”

JOE PULIZZI

Here I have developed a script using Microsoft Powershell which I was working since last couple of days in my lunch breaks. Just to show my work below is the video, it shows how GUI tool looks like and work, Still there a…

Read more

20 Blog Posts

Blog Search

Page Views

3239977

Follow me on Blogarama