Skip to content

Instantly share code, notes, and snippets.

@kazuple
kazuple / gist:38188a26a40fea1201ba42bae49f4365
Last active Aug 21, 2021
mkdocs Azure DevOps pipeline
View gist:38188a26a40fea1201ba42bae49f4365
# 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'
@kazuple
kazuple / gist:fb2e66782561b6743aa9921d9b8ca799
Created Jun 25, 2018
SfBServer - Bulk Migrate Users Online
View gist:fb2e66782561b6743aa9921d9b8ca799
$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:eb96a856c79f0fc238be310824cf3559
Created Apr 12, 2018
Powershell - If web page has been updated? Push notification to webhook URL!
View gist:eb96a856c79f0fc238be310824cf3559
<##############################################################
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'