Category: Powershell

Experiment with PowerShell and ServiceNow using ServiceNow free Developer Instance

Problem Statement: If the company you work for doesn’t use ServiceNow, or perhaps it does but you are unable to get the needed privilege’s to access it using the SNOW REST API. What to do? Solution: The ServiceNow Developer program. Through this program you are given full access to a ServiceNow instance at no cost. […]

Using Azure Role-Based Access Control for individual Key Vault Secrets

In this blog I describe my experience experimenting with the Azure Key Vault service RBAC support for implementing access control on individual Secrets. Problem Statement: Today Key Vault does not provide fine grained access control for individual secrets. The access control is at the Key Vault level. All users that have read access to the […]

Generating The CMDB True Up Report

Required PowerShell Modules: ImportExcel: Douglas Finke has created an amazing module for creating Excel workbooks, even when Excel is not installed on the system you run the script from. This is a must have for your pragmatic PowerShell tool box. I use it all the time. I’ve linked to it’s page on the PowerShell gallery. […]

Merge CMDB Data with AD Data

Required PowerShell Modules: ImportExcel: Douglas Finke has created an amazing module for creating Excel workbooks, even when Excel is not installed on the system you run the script from. This is a must have for your pragmatic PowerShell tool box. I use it all the time. I’ve linked to it’s page on the PowerShell gallery. […]

Gather AD Data For CMDB True Up

Required PowerShell Modules: ActiveDirectory: This module is installed when you install the Remote Server Administration Tools (RSAT). As of Windows 10 RSAT is installed as a optional feature. How you go about selecting computer objects from AD for inclusion in your CMDB true up activity is dependent on what your AD architecture is and what […]

Gathering Nutanix VM Inventory

The next step for performing a true-up of the ServiceNow server CMDB is to identify a source of truth for deployed servers. This could be VMware or some other virtualization platform, or maybe physical servers. In my environment I’m dealing with multiple Nutanix clusters, some foundation as Nutanix AHV and some with VMware installed. Required […]