This file contains hidden or 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
| $apimName = "" | |
| $apimSresourceGroup = "" | |
| $outFile = "apim-routes-policies.csv" | |
| $apim_context = New-AzApiManagementContext -ResourceGroupName $apimSresourceGroup -ServiceName $apimName | |
| $APIs = Get-AzApiManagementApi -Context $apim_context | |
| foreach ($sceapi in $APIs) { | |
| $operations = Get-AzApiManagementOperation -Context $apim_context -ApiId $sceapi.ApiId |
This file contains hidden or 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
| New-Item c:\test.txt |
This file contains hidden or 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
| param ( | |
| [Parameter(Mandatory = $true)] | |
| [string[]]$Certificates | |
| ) | |
| if ($Certificates.count -eq 1) { | |
| foreach ($item in $Certificates.split(' ')) { | |
| $guid = New-Guid | |
| Invoke-WebRequest -UseBasicParsing -Uri $item -OutFile $guid-cer.cer | |
| Import-Certificate -FilePath $guid-cer.cer -CertStoreLocation Cert:\\LocalMachine\\TrustedPublisher\\ |
This file contains hidden or 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
| # Add connect-azAccount | |
| param ( | |
| [string]$VhdPath = "e:\vhd-dsc-iis.vhdx", | |
| [string]$UnattendTemplate = "C:\Users\azureadmin\Desktop\vhd-prep\unattend.xml", | |
| [string]$MetaMOFTemplate = "C:\Users\azureadmin\Desktop\dsc\local-config-manager.ps1", | |
| [string]$SignCertPath = "C:\Users\azureadmin\Desktop\dsc\DSCCodeSigning.cer", | |
| [string]$VMPath = "z:\", | |
| [string]$VMName = "", | |
| [string]$VMIPAddress = "", |
This file contains hidden or 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
| <# | |
| .SYNOPSIS | |
| Runs several network tests from TIP servers and logs results. | |
| .NOTES | |
| Testing to ensure desired results are met from Azure Automation Runbooks. | |
| .COMPONENT | |
| No non-standrad components at this time. |
This file contains hidden or 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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "adminUserName": { | |
| "type": "string", | |
| "metadata": { | |
| "description": "The admin user name for the Azure SQL instance." | |
| } | |
| }, |
This file contains hidden or 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
| param( | |
| [string] [Parameter(Mandatory=$true)] $sqlServer, | |
| [string] [Parameter(Mandatory=$true)] $sqlAdmin, | |
| [string] [Parameter(Mandatory=$true)] $sqlPassword, | |
| [string] [Parameter(Mandatory=$true)] $aksCluster, | |
| [string] [Parameter(Mandatory=$true)] $aksResourceGroup, | |
| [string] [Parameter(Mandatory=$true)] $aksNodeResourceGroup | |
| ) | |
| # Install SQL Tools |
This file contains hidden or 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
| param( | |
| [string] [Parameter(Mandatory=$true)] $sqlServer, | |
| [string] [Parameter(Mandatory=$true)] $sqlAdmin, | |
| [string] [Parameter(Mandatory=$true)] $sqlPassword, | |
| [string] [Parameter(Mandatory=$true)] $aksCluster, | |
| [string] [Parameter(Mandatory=$true)] $aksResourceGroup, | |
| [string] [Parameter(Mandatory=$true)] $aksNodeResourceGroup | |
| ) | |
| # Install SQL Tools |
This file contains hidden or 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
| param( | |
| [string] [Parameter(Mandatory=$true)] $sqlServer, | |
| [string] [Parameter(Mandatory=$true)] $sqlAdmin, | |
| [string] [Parameter(Mandatory=$true)] $sqlPassword, | |
| [string] [Parameter(Mandatory=$true)] $aksCluster, | |
| [string] [Parameter(Mandatory=$true)] $aksResourceGroup, | |
| [string] [Parameter(Mandatory=$true)] $subscriptionId, | |
| [string] [Parameter(Mandatory=$true)] $applicationGatewayName, | |
| [string] [Parameter(Mandatory=$true)] $identityResourceID, | |
| [string] [Parameter(Mandatory=$true)] $identityClientID |
This file contains hidden or 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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "unique-prefix": { | |
| "type": "string", | |
| "defaultValue": "coffe001" | |
| }, | |
| "videoindexerkey": { | |
| "type": "string" |
NewerOlder