layout: &layout
body:
class: # class
style: # style
header:
class: # class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Display | |
Get-CsOnlinePSTNGateway | Select-Object * | Format-list | |
Get-CsOnlinePstnUsage | Select-Object * | Format-list | |
Get-CsOnlineVoiceRoute | Select-Object * | Format-list | |
Get-CsOnlineVoiceRoutingPolicy| Select-Object * | Format-list | |
Get-CsVoiceRoutingPolicy | Select-Object * | Format-list | |
Get-CsTenantDialPlan | Select-Object * | Format-list | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@owner = shanehoey | |
@repository = shanehoey | |
@token = {{ $processEnv GITHUBtoken }} | |
### Check rate limit | |
get https://api.github.com/rate_limit | |
Accept: application/vnd.github+json | |
Authorization: token {{token}} | |
### get user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding()] | |
param ( | |
[Parameter(mandatory=$true)] | |
[string]$cn, | |
[Parameter(mandatory=$false)] | |
[string]$san, | |
[Parameter(mandatory=$false)] | |
[string]$ip, | |
[Parameter(mandatory=$false)] | |
[string]$pfx = ".\cert.pfx", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 1, | |
"name": "Australia Central", | |
"shortName": "auc" | |
}, | |
{ | |
"id": 2, | |
"name": "Australia Central 2", | |
"shortName": "auc2" |