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
| { | |
| "properties": { | |
| "roleName": "Custom Role - Template", | |
| "description": "This is a Template for creating Custom Roles.", | |
| "IsCustom": true, | |
| "assignableScopes": [ | |
| "/subscriptions/<SubscriptionID>" | |
| ], | |
| "permissions": [ | |
| { |
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
| { | |
| "properties": { | |
| "roleName": "Custom Role - Template", | |
| "IsCustom": true, | |
| "description": "This is a Template for creating Custom Roles.", | |
| "assignableScopes": [ | |
| "/subscriptions/<SubscriptionID>" | |
| ], | |
| "permissions": [ | |
| { |
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
| { | |
| "properties": { | |
| "roleName": "AVD-StartVMOnConnect", | |
| "description": "Custom role, designed to allow 'Windows/Azure Virtual Desktop' rights to Start session hosts.", | |
| "assignableScopes": [ | |
| "/subscriptions/<SubscriptionID>" | |
| ], | |
| "permissions": [ | |
| { | |
| "actions": [ |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <FrxProfileFolderRedirection ExcludeCommonFolders="0"> | |
| <Excludes> | |
| <Exclude>AppData\Local\Google\Chrome\User Data\Default\Cache\</Exclude> | |
| <Exclude>AppData\Local\Google\Chrome\User Data\Default\Cached Theme Images\</Exclude> | |
| <Exclude>AppData\Roaming\Google\Chrome\UserData\Default\Code Cache\js</Exclude> | |
| <Exclude>AppData\Local\Google\Chrome\UserData\Default\Code Cache\js</Exclude> | |
| <Exclude>AppData\Local\Mozilla\Firefox</Exclude> | |
| <Exclude Copy="0">AppData\Local\Microsoft\Terminal Server Client</Exclude> |
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
| <# | |
| Author: Luke Murray (Luke.Geek.NZ) | |
| Version: 0.1 | |
| Version History: | |
| Purpose: Add an MMA agent to a Log Analytics workspace using a proxy with no user authentication. | |
| Notes: | |
| Find more options about the MMA Agent Object: | |
| #$healthServiceSettings = New-Object -ComObject 'AgentConfigManager.MgmtSvcCfg' |
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
| #This is the name of the zip file in the component. Make sure that the PowerShell App Deployment Toolkit is zipped. | |
| $ZipFile = "DesktopSOE.zip" | |
| #This will create a folder called: C:\Temp (these folders can be changed to suit your requirements) | |
| Mkdir c:\Temp -Force | |
| #This will create a folder called: C:\Temp\DesktopSOE\ (these folders can be changed to suit your requirements) | |
| Mkdir C:\Temp\DesktopSOE\ -Force | |
| #This will then copy your PowerShellAppDeployment Toolkit to a folder, outside of the CentraStage Packagestore location. | |
| Copy-Item -Path "$ZipFile" -Destination "C:\Temp\$ZipFile" -Recurse | |
| $DestinationFolder = $ZipFile.Split(".")[0] | |
| #This will then extract your PowerShell App Deployment Toolkit and run it. |
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 | |
| Installs the Az.ResourceGraph Module and has example queries | |
| .NOTES | |
| Version: 1.0 | |
| Author: Luke Murray (Luke.Geek.NZ) | |
| Website: https://luke.geek.nz/azure-resource-graph-explorer-and-the-powershell-azure-resource-graph | |
| Creation Date: 09.04.21 | |
| Change History: | |
| 09.04.21 - Intital script development |
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-AzureBlogUpdates { | |
| <# | |
| .SYNOPSIS | |
| Retrieves the latest Updates of Azure, from the Azure Blog RSS feed. | |
| .DESCRIPTION | |
| Retrieves the latest Updates of Azure, from the Azure Blog RSS feed. | |
| .NOTES | |
| Version: 1.0 | |
| Author: Luke Murray (Luke.Geek.NZ) | |
| Website: https://luke.geek.nz/keep-up-to-date-with-latest-changes-on-azure-using-powershell |
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 ( | |
| ## The directory into which the user wishes to download the files. | |
| [string]$directory = $PSScriptRoot, | |
| ## Optional parameter allowing the user to specifiy the code (or comma seperated codes) of the video(s) they wish to download. | |
| [string]$sessionCodes = "" | |
| ) | |
| ### Variables ### | |
| $api = 'https://api.myignite.microsoft.com/api/session/all' |
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
| #requires -Version 2.0 -Modules Az.Accounts, Az.Resources, CredentialManager | |
| function New-AzureResourceGroup | |
| { | |
| <# | |
| .SYNOPSIS | |
| Creates Azure Resource Group | |
| .DESCRIPTION | |
| Creates Azure Resource Group function, created as a test function for Universal Automation Desktop |