Menu

Virtual Geek

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

Stuffs from real IT system ADMINISTRATORS world and my LAB

Passed Architecting Microsoft Azure Solutions 70-535 Exam and Preparation guide

I passed Architecting Microsoft Azure Solutions 70-535 Exam recently. Earlier 70-534 Architecting Microsoft Azure Solutions exam was no longer exist and it was been withdrawn by Microsoft. In my first attempt I had failed exam, and understood my weaker areas and where I need to work upon. Below is the official blueprint of the exam, I went thoroughly and had went through for each point on my Azure…

Read more

Add a vCenter Single Sign On Identity Source Active Directory (Windows Integrated Authentication)

This is a second part of my article How to join vCenter Server appliance to Active Directory, and here I am configuring Identity source on Single sign on. In my one of the previous article ADDING AND CONFIGURING VMWARE VSPHERE VCENTER SSO ACTIVE DIRECTORY AS LDAP SERVER  I used AD as ldap server, contrary here I am trying Windows Integrated Authentication as identity source.

Before process…

Read more

How to join vCenter Server appliance to Active Directory

I just finished deploying new VCSA 6.7 in my office for a new project, In this article I am showing procedure to join VCSA to active directory, and wanted to assign permissions to AD accounts but Active directory was not visible in permissions. For the same follow below steps on vCenter web client to configure.

Click Home icon button on top, and from drop down menu select Home. Under Admin…

Read more

Powershell GUI format text on TextBox and RichTextBox

I was preparing some auditing and reporting tools for some of newly received projects and wanted a way to formatting representation of data on my GUI form in nice way. To show this nice formatting you can use tags inside TextBlock and RichTextBox inside xaml code and binding can be used.These tags are as same as html tags. below examples are used on TextBlocks. For more on tagging you can check th…

Read more

Powershell GUI encode decode images

Recently I was working on the one of my project, In the same I required to add few images to GUI, and needed to encode and decode images in the script so no external file is required to port incase if I want to share and there will be only sole ps1 script. Here in below video not a single external picture image is used. They are for onetime encoded with powershell as base64 string and then same st…

Read more

Powershell WPF Charts dashboard demo

I was preparing for some dashboards using Powershell WPF GUI and was looking for some charts and graph to show on my GUI, I tried utilizing data visualization charts but I was looking for more cooler ways to show them and was looking for interactive ones which can complement my dashboards. To achieve this I have created html files using chart.js and bootstrap html codes and used WPF webbrowser …

Read more

Installing VMware.Powercli latest version and Error Invalid server certificate Set-PowerCLIConfiguration

Way long back, After writing my my article VMWARE VSPHERE POWERCLI INSTALLATION AND CONFIGURATION STEP BY STEP, I decided today to upgrade my vSphere PowerCLI to newer version 10 in the office, I am choosing little bit different installation method instead of using exe installer, PowerCLI can be downloaded from Microsoft Powershell PSGallary instead from VMware.com site. Before installation that …

Read more

Using PowerCLI to Increase VMDK (Virtual disk) in VMware Virtual Machine

Below oneliner commands I recently used to configure multiple VMware Virtual Machines Hard disk, Task was to grow/extend VMDK virtual disk on more than hundreds of the virtual machine. Below is the main techniques and gist of the article and scripts. These one-liner commands also include the commands to get the disk related inventory so I can gather in the excel file, If I need bulk operations. He…

Read more

Part 3: Powershell wpf MahApps.Metro theme step by step

Part 1: Basic Powershell WPF Themes guide step by step
Part 2: Powershell WPF Themes guide step by step
Part 3: Powershell wpf MahApps.Metro theme step by step

As shown in my previous articles using sample xaml as style and themes, here I am using community popular MahApps.Metro wpf theme, This is a royal theme and looks very very cool. Implementation is bit different from the previous step …

Read more

Part 2: Powershell WPF Themes guide step by step

Part 1: Basic Powershell WPF Themes guide step by step
Part 2: Powershell WPF Themes guide step by step
Part 3: Powershell wpf MahApps.Metro theme step by step

Theme 2

I found few nice themes online for my Powershell WPF gui scripts, I was looking for simple and nice themes to implement, although there is already available theme called MahApp.Metro is very popular among community. But I w…

Read more

View older posts »

Page Views

1650373

Could anyone help me out please .....
New-WPFMessageBox : The term 'New-WPFMessageBox' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

virgin online casino tropicana online casino casino online casino games slots free | https://onlinecasinodd.com/ - online casino slots https://onlinecasinodd.com/ - free online casino games

Hi Hektor, thanks, I use Greenshot and Ms Powerpoint.

Exactly what I was looking for. Thanks!

BTW, the flow of the screenshots made it very clear. What do you use to add the arrows and numbers so as to make the very clear. It would be time consuming using MS Paint : ) lol Any given tips or app name used would be appreciated.

Great script. Saved me loads of time in creating a standard switch on all my hosts to match the distributed switch.
One error I ran into though was if I already had an existing standard switch (vswitch0) and this switch already had a Port Group with a matching name and vlan ID, it would trigger the following error:
New-VirtualPortGroup : 8/25/2018 11:30:49 PM New-VirtualPortGroup The specified key,
name, or identifier 'pgName' already exists.
At D:\scripts\vmware\CopyDvsToStandardSwitch.ps1:91 char:47
+ $NewPortGroup = $vSwitch100 | New-VirtualPortGroup -Name $DvPort ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-VirtualPortGroup], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Com
mands.Host.NewVirtualPortGroup

Then right after the error it would still report as if it had successfully created the port group on the new SvSwitch100:
Created New PortGroup Production With vLanID 20

But in fact it had not.

If I deleted both of the vSwitches and ran it again it would go through and create all the vlans successfully.

Easy enough workaround. Thanks for putting this out there.

Follow me on Blogarama