Skip to content

Instantly share code, notes, and snippets.

@kazuple
kazuple / gist:eb96a856c79f0fc238be310824cf3559
Created April 12, 2018 09:02
Powershell - If web page has been updated? Push notification to webhook URL!
<##############################################################
If webpage has been updated? Push notification to webhook URL!
Created: 17/01/18
By: Karl Smith
Version: 0.1
###############################################################>
# URL to scrape
$url ='URL to scrape'
@kazuple
kazuple / gist:fb2e66782561b6743aa9921d9b8ca799
Created June 25, 2018 09:11
SfBServer - Bulk Migrate Users Online
$creds=Get-Credential
$MigrateToSfBOCSV= Import-Csv #CSV Location#
$MigrateToSfBOCSV | % { Move-CsUser -Identity $_.Identity -Target sipfed.online.lync.com -Credential $creds -HostedMigrationOverrideUrl https://<SfB URL Here>.online.lync.com/HostedMigration/hostedmigrationService.svc -Confirm:$False
Write-host "User " $_.Identity " Migrated OK" -ForegroundColor Green
}
@kazuple
kazuple / gist:38188a26a40fea1201ba42bae49f4365
Last active June 27, 2023 18:15
mkdocs Azure DevOps pipeline
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'windows-latest'