Skip to content

Instantly share code, notes, and snippets.

Avatar

Jörgen Bergström bejo73

View GitHub Profile
@bejo73
bejo73 / Get-ServersFromApiConnections.ps1
Created Mar 18, 2018
Get-ServersFromApiConnections.ps1
View Get-ServersFromApiConnections.ps1
<#
# Get-ServersFromApiConnections.ps1
#
# This script prints out a list of the servers from the API Connecitons in the acutal Azure Subscription.
#
# Usage: .\Get-ServersFromApiConnections.ps1
#
#>
$uniqueEndpoints = @{}
@bejo73
bejo73 / search_for_runs_in_logic_apps_with_powershell.html
Created Jan 28, 2018
Search for runs in Logic Apps with PowerShell
View search_for_runs_in_logic_apps_with_powershell.html
param ([Parameter(Mandatory=$true)][string] $ResourceGroup,
[Parameter(Mandatory=$true)][string] $Workspace,
[Parameter(Mandatory=$true)][string] $Workflow,
[Parameter(Mandatory=$true)][string] $Action,
[Parameter()][int] $Top = 1000,
[Parameter()][int] $To = 0,
[Parameter()][int] $From = -31
)
$query = "Type=AzureDiagnostics And resource_workflowName_s=$Workflow And resource_actionName_s=$Action And status_s=Succeeded"