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 domainNames array | |
| param appServicePlanName string | |
| param location string = resourceGroup().location | |
| resource certificates 'Microsoft.Web/certificates@2020-06-01' = [for domainName in domainNames: { | |
| name: domainName | |
| location: location | |
| properties: { | |
| canonicalName: domainName |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| { | |
| "proxies": { | |
| "ListAll": { | |
| "desc": [ | |
| "This is the index of examples." | |
| ], | |
| "matchCondition": { | |
| "methods": [ | |
| "GET" | |
| ], |
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
| function Get-FileEncoding | |
| { | |
| [CmdletBinding()] Param ( | |
| [Parameter(Mandatory = $True, ValueFromPipelineByPropertyName = $True)] [string]$Path | |
| ) | |
| [byte[]]$byte = get-content -Encoding byte -ReadCount 4 -TotalCount 4 -Path $Path | |
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 | |
| Posts an action card to Office Group using the WebHook Connector | |
| .DESCRIPTION | |
| . | |
| .PARAMETER url | |
| The url to the web hook connector as registered in the Office 365 Group. | |
| .PARAMETER title | |
| The title to show on the action card. | |
| .PARAMETER message |
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
| https://intranet.contoso.com/_vti_bin/exportwp.aspx?pageurl=https://intranet.contoso.com/Pages/default.aspx&guidstring=0c3adfe9-8f5d-4432-918a-42410e4e324d |
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, HelpMessage="Enter Azure Subscription name. You need to be Subscription Admin to execute the script")] | |
| [string] $subscriptionName, | |
| [Parameter(Mandatory=$true, HelpMessage="Provide a password for SPN application that you would create")] | |
| [string] $password, | |
| [Parameter(Mandatory=$false, HelpMessage="Provide a SPN role assignment")] | |
| [string] $spnRole = "owner" |
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
| Id : /Subscriptions/cd0d7179-80a0-47e6-a201-9c12de0bbd37/Providers/Microsoft.Compute/Locations/westeurope | |
| /Publishers/alertlogic/ArtifactTypes/VMExtension/Types/AlertLogicLM/Versions/1.3.0.1 | |
| Location : westeurope | |
| PublisherName : alertlogic | |
| Type : AlertLogicLM | |
| Version : 1.3.0.1 | |
| FilterExpression : | |
| Id : /Subscriptions/cd0d7179-80a0-47e6-a201-9c12de0bbd37/Providers/Microsoft.Compute/Locations/westeurope | |
| /Publishers/AlertLogic.Extension/ArtifactTypes/VMExtension/Types/AlertLogicLM/Versions/1.3.0.0 |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0] | |
| "SharePoint"="Installed" | |
| "Location"="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\15\\" |
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 -path 'C:\Azure\arm-Templates\' -type directory -Force | |
| $microsoftTemplates = Get-AzureResourceGroupGalleryTemplate -Publisher 'Microsoft' | |
| foreach ($item in $microsoftTemplates) | |
| { | |
| $identity = $item.'Identity' | |
| Save-AzureResourceGroupGalleryTemplate -Identity $identity ` | |
| -Path C:\Azure\arm-Templates\ ` |