Skip to content

Instantly share code, notes, and snippets.

View AntonyNolan's full-sized avatar
🎯
Focusing

Antony Nolan AntonyNolan

🎯
Focusing
  • Vertech Solution Group
  • Denver, Colorado
View GitHub Profile
@jdhitsolutions
jdhitsolutions / Get-Something.ps1
Last active November 13, 2020 18:07
My PowerShell function template for getting information from remote computers. The file also contains a json entry for a PowerShell snippet in VSCode.
Function Get-Something {
<#
.SYNOPSIS
Get something
.DESCRIPTION
Describe what this does.
Many of the parameters are the same as in Invoke-Command.
@davoodharun
davoodharun / runbookAzureAutomation.ps1
Last active July 29, 2018 10:08
Sample PowerShell Runbook for Azure deployment
#The following is an Azure Automation PowerShell runbook.
#Uses a preconfigured AutomationConnection object (AzureRunAsConnection) for authentication
#This object must be in place in your tenant with the appropriate role(s), and added as a connection asset in the
#Azure Automation account being used.
Param(
[string]$environmentName = "AzureUSGovernment",
[Parameter(Mandatory=$true)]
[string]$subscriptionId,
[string]$location = "USGov Virginia",