Skip to content
VirtuallyMe
  • PowerCLI

Category: Automation

Recent Posts

  • Dnscrypt & piHole on Ubuntu
  • Updating your PowerCLI module
  • Deleting a VSAN diskgroup
  • Decrypting a System.Security.SecureString.
  • Looking up InfoBlox with PowerShell

Recent Comments

    Archives

    • February 2018
    • January 2018
    • December 2017
    • October 2017
    • June 2017
    • May 2017
    • February 2017

    Categories

    • Administration
    • Automation
    • Dell 730xd
    • Dell Perc
    • DnsCrypt
    • Linux
    • Pi
    • PowerCLI
    • PowerShell
    • VSAN

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Automation

    Updating your PowerCLI module


    When updating your PowerCLI module you may find that some modules cant be upgraded if they are in use. This tends to occur if you modify your powershell profile to import the vmware.powercli module when you start powershell. The manul work around for this is Stop all running instances of…
    Posted on 14th February 2018 by Smithers by Smithers
    Administration

    Looking up InfoBlox with PowerShell


    I'm not the administrator for InfoBlox in my organisation. But simply an InfoBlox user. I recently had a requirement to get host details from InfoBlxo for some automation I was writing. So came up with the following function to return a host's ip details.   [crayon-607c44c6ec1bd616458464/]
    Posted on 6th October 2017 by Smithers by Smithers
    Administration

    Resetting ILO Password from ESXi host using PowerCLI


    Occasionally things go wrong and you end up in a situation where the ILO password has been set to somthing unknown or the password has been lost through time. This PowerCLI script utilises Posh-SSH to reset the ILO Administrator Password from the ESXi OS. Dependencies for this script are Posh-SSH…
    Posted on 26th June 201729th June 2017 by Smithers by Smithers
    Automation

    Getting your Asset license Details from vCenter


    I had a requirement to get the asset license information from vcenter. this was to list the license codes by asset rather than by the product registered in vcenter. I also have multiple vcenters to connect to. Here is a script that will get the job done for you. [crayon-607c44c6eca34013371514/]
    Posted on 13th June 201713th June 2017 by Smithers by Smithers
    Automation

    Running Powershell as Admin


    Some times you just need to run powershell as an administrator on your system. For me this was when I wrote a script that creates a WinPE ISO when loading DISM and Imagex I needed to be administrator. I cant take credit for the code, as I found it online.…
    Posted on 11th May 201711th May 2017 by Smithers by Smithers
    Automation

    Install-the-dell-perccli-vib-part-2 Getting a report from it.


    This relates to the post install-the-dell-perccli-vib-part-1 Once the PercCli is installed we may want to actually use it to report back some things about the percCli.  For me the point of installing the PercCLI was to then report on whether this node was ready for vSan with firmware / drivers…
    Posted on 24th February 201727th February 2017 by Smithers by Smithers
    Automation

    Posh-SSH to an ESX Host


    Posh-SSH is a handy way to connect from Powershell to SSH services. I use to use plink for this type of stuff but actually prefer to use a module over calling external exe files. I generally use this for running commands against ESXi servers where the PowerCLI commands either dont…
    Posted on 24th February 201723rd September 2017 by Smithers by Smithers
    Automation

    Install the Dell PercCLI vib – Part 1


    In my workplace we have a few hundred Dell 730XD servers and ESXi 6.0. They require the percli vib from Dell to be installed and have requirements to report on the status of the Perc Hardware/Firmware/Software used for a VSAN requirement. The problem is the VIB supplied from Dell is…
    Posted on 23rd February 20176th April 2017 by Smithers by Smithers
    VirtuallyMe | Designed by Smartcat Smartcat Logo