View New-SelfSignedCert.ps1
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", |
View readme.md
Issue a manual certificate on Windows PKI and use it on an Audiocodes Gateway
Issue a manual certificate on Windows PKI and use it on an Audiocodes Gateway
certreq.exe -attrib "CertificateTemplate:webserver" -submit ssl.req
View new-adforest.md
New AdForest
$servername = "dc01"
$domainname = "example.com"
$netbios = "example"
$ipaddress = "192.168.10.248"
$prefixlenght = "24"
$defaultgateway = "192.168.10.254"
View github.http
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 |
View directrouting.ps1
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 | |
View brandX.md
brand[x].Yaml Syntax
layout: &layout
body:
class: # class
style: # style
header:
class: # class