trigger: none
is ignored on template files. Must be used on pipeline level.
Untested if true for other CI triggers and filtering.
Get-AzRoleAssignment | Sort-Object { $_.Scope} | Format-Table -Property @{ e='DisplayName'; width=30}, @{ e='SignInName'; width=70}, @{ e='RoleDefinitionName'; width=30}, @{ e='Description'; width=30}, ObjectType -GroupBy Scope | Out-String -Stream -Width 200
Sort-Object { $_.Scope}
ensures correct order for /
and for /subscriptions/abcdefgh-0123-0123-0123-abcdefghijkl
scopesFormat-Table
is used to select required properties and format the outputOut-String -Stream -Width 200
is used to ensure that output is wide enoughFeature | Basic + Policy | Basic + Route | VpnGw1 + Route |
---|---|---|---|
Bandwidth | 100 Mbps | 100 Mbsp | 650 Mbps |
Tunnels | Only one tunnel | max. 10 tunnels | max. 30 tunnels |
IKE for S2S | Only IKEv1 | Only IKEv2(*) | IKEv1 and IKEv2 |
P2S | No | Only SSTP | IKEv2 IPSEC, OpenVPN or SSTP |
P2S auth | - | Certificate | Certificate, RADIUS, AAD |
IPSEC conf | N/A | N/A | Possible to change ciphers |
Basics:
https://learn.microsoft.com/en-us/powershell/azure/active-directory/overview?view=azureadps-1.0
MSOnline is planned for deprecation. For more details on the deprecation plans, see the deprecation update.
Module name: MSOnline
*-MSOL* cmdlets
Synchronized credential information in Azure AD can't be re-used if you later create a managed domain - you must reconfigure the password hash synchronization to store the password hashes again. Previously domain-joined VMs or users won't be able to immediately authenticate - Azure AD needs to generate and store the password hashes in the new managed domain.
The steps to generate and store these password hashes are different for cloud-only user accounts created in Azure AD versus user accounts that are synchronized from your on-premises directory using Azure AD Connect.
# Sqlcmd | |
Sqlcmd is a simple tool for SQL Server automation | |
## The mess | |
### Missing features on Windows | |
Access token based Azure AD authentication is not supported: |
$mma = New-Object -ComObject 'AgentConfigManager.MgmtSvcCfg'
$mma.GetCloudWorkspaces()
$workspaceId = "<Your workspace Id>"
$workspaceKey = "<Your workspace Key>"
$mma = New-Object -ComObject 'AgentConfigManager.MgmtSvcCfg'
$mma.AddCloudWorkspace($workspaceId, $workspaceKey)
fontforge -lang=ff -c 'Open($1);SelectAll();UnlinkReference();Export($2);' "$FONT" "${OUTPUT}/%n_%e.svg"