PoshGram Logo
Development

PoshGram – a PowerShell Module for Telegram

PoshGram Overview PoshGram is a PowerShell module that enables you to send messages via the Telegram Bot API. It is written for PowerShell 6.1, which natively supports the form parameter for Invoke-WebRequest and Invoke-RestMethod. The Telegram bot API requires local […]

Example of sending messages via Telegram Bot
Development
One MOF in Azure Automation DSC configuring both onprem and Azure devices
System Administrator

Using One MOF to dynamically DSC your environment

One MOF Overview Desired State Configuration (DSC) is a powerful DevOps tool enabling you to provide a consistent, standardized configuration throughout your environment. DSC is typically node specific, requiring you to author many Management Object Format (MOF) files, or get […]

Home lab video walkthrough and rack diagram
Hardware

Home Lab setup for Virtualization, Hyper-V, and MCSE

Virtualization Home Lab Guide When it comes to home labs each of us is constrained by size, power, heat, noise, performance, and budget factors.  On top of that the IT field encompasses a host of various technologies and many of […]

HP iLO RESTful API manged with PowerShell
Development

Mange HP Servers with iLO RESTful API via PowerShell

Using PowerShell to manage HP servers via the iLO RESTful API If your environment contains HPE Gen9 Servers running iLO 4 2.00 you can leverage PowerShell to interact with the iLO RESTful API of these devices. Why should I care […]

Hyper-V Automatic Stop Action Settings
System Administrator

Hyper-V VM BIN file and AutomaticStopAction

What is a Hyper-V VM BIN file? The .bin file is a Hyper-V VM associated file located inside the GUID folder of a VM. If a VM’s AutomaticStopAction is set to: Save the virtual machine state then Hyper-V will reserve […]

Diag-V GUI selection menu
System Administrator

Diag-V – A Hyper-V Diagnostic Utility

Diag-V Diag-V is a PowerShell module that contains a collection of various Hyper-V diagnostics. With the module imported diagnostics can be run via the desired function name, alternatively, Diag-V can also present a simple choice menu that enables you to […]

Hyper-V Resource Allocation Check - Test-HyperVAllocation - Overprovisioning diagnostic for Hyper-V
System Administrator

Hyper-V resource allocation check

Using PowerShell to perform a Hyper-V resource allocation check This Powershell script determines the current resource allocation health of a Hyper-V server or nodes in a Hyper-V Cluster.  The script will automatically scan the physical resources of each Hyper-V node […]

System Administrator

Transfer all FSMO roles via PowerShell

PowerShell Automation Script: Transfer all FSMO roles from one DC to another DC If you prefer video over written format the corresponding video for this write-up can be viewed below: I came across an excellent write-up the other day on […]

Hyper-V Manager - VM Settings - New Virtual Hard Disk Wizard - Disk Type
System Administrator

Create New-VHD via PowerShell or GUI

How To: Create New-VHD via PowerShell or GUI and attach to existing VM If you prefer video over written format the corresponding video for this write-up can be viewed below: Here is all the PowerShell code required for the creation […]