View Automation.yaml
This file contains 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
alias: 'Family - James - Track Medicine' | |
id: '4df574c4-bb48-4108-b679-76a47966af92' | |
description: 'Track medicine and order more when low.' | |
initial_state: true | |
mode: 'single' | |
max_exceeded: silent | |
trigger: | |
# Let's keep this simple and assume the medicine was taken each day. |
View automation-remote_on.yaml
This file contains 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
alias: 'Remote - Next scene' | |
id: '6999bb6f-2240-4351-8713-9b5ff51ae34d' | |
description: '' | |
initial_state: true | |
# mode: queued | |
trigger: | |
- platform: device | |
domain: zha |
View PowerPlatform-GetFlowConnections.ps1
This file contains 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-PowerAppsAccount | |
Get-AdminPowerAppEnvironment | |
#Get-AdminPowerAppConnection | Where-Object {$_.ConnectionName -like "shared-sharepointonl*" -and $_.DisplayName -notlike "*tenantname*" }| format-table ConnectionName, DisplayName | |
Get-AdminPowerAppConnection| Select-Object * | Where-Object {$_.ConnectionName -like "shared-sharepointonl*" } | Export-Csv .\FlowConnections.csv -NoTypeInformation | |
Get-AdminPowerAppConnection| Select-Object * | Export-Csv .\FlowConnections.csv -NoTypeInformation | |
View PowerPlatform-Commands.ps1
This file contains 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
Install-Module -Name Microsoft.PowerApps.Administration.PowerShell | |
Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber | |
# This call opens prompt to collect credentials (Azure Active Directory account and password) used by the commands | |
Add-PowerAppsAccount | |
# Here is how you can pass in credentials (avoiding opening a prompt) | |
$pass = ConvertTo-SecureString "password" -AsPlainText -Force | |
Add-PowerAppsAccount -Username foo@bar.com -Password $pass |
View TeamsCacheClear.ps1
This file contains 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 Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. | |
THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, | |
INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant | |
You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code | |
form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software | |
product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the | |
Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims | |
or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code. | |
Please note: None of the conditions |
NewerOlder