Skip to content

Instantly share code, notes, and snippets.

# This is the cmdlet you'll need to edit with your own domain name or email address
if(Get-Module MSOnline){
write-host "Module already installed."
}else{
Install-Module -Force MSOnline
}
$ScriptBlock = {Get-AntiPhishPolicy | Set-AntiPhishPolicy -ExcludedDomains "feedback.smileback.io"}
$data = ConvertFrom-StringData((racadm getniccfg | Select-String "IP Address" ) -join "`n")
return $data."IP Address"
<#
Adam Hancock - Added VM's in job.
.SYNOPSIS
Gather Veeam Backup Job Details
.DESCRIPTION
This script will create a csv file that contains details about each Veeam backup job.
This is helpful when you want to ensure consistency when, for example multiple people are creating multiple jobs.
@adamhancock
adamhancock / ..Instructions
Created March 21, 2019 07:36 — forked from benmccallum/..Instructions
Hosting Nuxt on Azure App Service (iisnode) with custom Git based deployment (kudu)
0. Setup Azure git deployments.
1. Add .deployment in root.
2. Create directory "deployment" and put build-nuxt.cmd in there.
3. Add server.js in root. (Note: this will cause Azure to auto-generate you an IISNode web.config, woot!)
4. Change start task to `node server.js` or remove it and let Azure do the same automatically.