PowerShell script to query a given Microsoft DNS server for all available primary zones and list all records defined within of types:
- A
- AAAA
- CNAME
- MX
- NS
- PTR
- TXT
Python script to clone an existing VPC route table. Script output is a series of AWS CLI calls to create the route table and assign routes.
Update AWS_TARGET_REGION
and SOURCE_ROUTE_TABLE_ID
to suit.
Note: does not currently support NAT Gateways routes due to Boto 2 API limitation.
Set-StrictMode -Version Latest | |
$PASSWORD = "mypassword" | |
# create secure string from plain-text string | |
$secureString = ConvertTo-SecureString -AsPlainText -Force -String $PASSWORD | |
Write-Host "Secure string:",$secureString | |
Write-Host |
Set-StrictMode -Version Latest | |
$payload = @{ | |
"channel" = "#my-channel" | |
"icon_emoji" = ":bomb:" | |
"text" = "This is my message. Hello there!" | |
"username" = "Mr. Robot" | |
} | |
Invoke-WebRequest ` |
#!/bin/bash | |
cat /dev/urandom | tr -dc A-Za-z0-9- | head -c 512 |
How:
npm
)handles semver range definitions.
Based on the properties (and ordering) outlined in the NPM docs.