Automation

An indepth guide to PowerShell

Windows PowerShell is a vast subject, the aim of this guide is to provide system administrators a simple, usable guide to the fundamentals of PowerShell. We will also demonstrate scripts and commands which can be used in typical day-to-day tasks. This guide will give you the basic steps to get...

hashicorp-terraform-banner

Terraform Core Commands

This page is work in progress Thanks Richard 30th November 2018 Terraform commands –help is help Tab completion enabled by terraform -install-autocomplete Subcommands Terraform Syntax The syntax of Terraform configurations is called HashiCorp Configuration Language (HCL). It is meant to strike a balance between human readable and editable as well as being...

http://54.154.77.54/wp-content/uploads/2018/11/word-image-128.png

Installing Terraform on Windows Desktop and Windows Server

Installing Terraform on Windows   Terraform is extremely popular on Linux, but it is now also available on Windows. You need to have PowerShell version 4 or greater installed so it is recommended to install on the following Microsoft Windows products: Windows 10 Desktop Windows Server 2012 Windows Server 2016 It...

Hashicorp Terraform for AWS, Google Cloud, and Azure

This is a Unix focused guide to Terraform. It will work on Linux distributions and macOS X. During this video I will be using a Mac or CentOS 7. What is Terraform? Terraform is an infrastructure tool for Building, changing, and Versioning infrastructure. Often referred to as Infrastructure as Code....

Useful WMI Commands

Useful WMI Commands

Search WMIObjects Get-WmiObject -Namespace Root\cimv2 -list | where {$_.name -like ‘*disk*’} Awesome WMI explorer tool can be found here – https://powershell.org/2013/03/08/wmi-explorer-from-the-powershell-guy/ WMI contains more properties that Standard Powershell commands eg. Get-Service Get-WmiObject -Class Win32_Service | Select-Object * WMI Win32_operatingsystem last boot uptime conversion $os = gwmi win32_operatingsystem $os.ConvertToDateTime($os.LastBootUpTime) EG  -24 October...