Skip to content

Commit

Permalink
More replaces
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Oct 24, 2023
1 parent 7d31060 commit 40e3cdf
Show file tree
Hide file tree
Showing 111 changed files with 223 additions and 204 deletions.
2 changes: 1 addition & 1 deletion Activity_GetAllTableRows/run.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param($name)

$Table = Get-CippTable -tablename $name
$Rows = Get-AzDataTableEntity @Table
$Rows = Get-CIPPAzDataTableEntity @Table

Write-Output $Rows
2 changes: 1 addition & 1 deletion Applications_GetQueue/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ param($name)

$Table = Get-CippTable -tablename 'apps'

$Object = (Get-AzDataTableEntity @Table).RowKey
$Object = (Get-CIPPAzDataTableEntity @Table).RowKey
$object
4 changes: 2 additions & 2 deletions Applications_Upload/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ param($name)
$Table = Get-CippTable -tablename 'apps'
$Filter = "PartitionKey eq 'apps' and RowKey eq '$name'"
Set-Location (Get-Item $PSScriptRoot).Parent.FullName
$ChocoApp = (Get-AzDataTableEntity @Table -filter $Filter).JSON | ConvertFrom-Json
$ChocoApp = (Get-CIPPAzDataTableEntity @Table -filter $Filter).JSON | ConvertFrom-Json
$intuneBody = $ChocoApp.IntuneBody
$tenants = if ($chocoapp.Tenant -eq "AllTenants") {
(Get-tenants).defaultDomainName
Expand All @@ -28,7 +28,7 @@ $ContentBody = ConvertTo-Json @{
size = [int64]$intunexml.ApplicationInfo.UnencryptedContentSize
sizeEncrypted = [int64]($intunewinFilesize).length
}
$ClearRow = Get-AzDataTableEntity @Table -Filter $Filter
$ClearRow = Get-CIPPAzDataTableEntity @Table -Filter $Filter
$RemoveCacheFile = if ($chocoapp.Tenant -ne "AllTenants") {
Remove-AzDataTableEntity @Table -Entity $clearRow
}
Expand Down
2 changes: 1 addition & 1 deletion BestPracticeAnalyser_List/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -

$Tenants = Get-Tenants
$Table = get-cipptable 'cachebpa'
$Results = (Get-AzDataTableEntity @Table) | ForEach-Object {
$Results = (Get-CIPPAzDataTableEntity @Table) | ForEach-Object {
$_.UnusedLicenseList = @(ConvertFrom-Json -ErrorAction silentlycontinue -InputObject $_.UnusedLicenseList)
$_
}
Expand Down
2 changes: 1 addition & 1 deletion DomainAnalyser_All/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Import-Module DNSHealth
try {
$ConfigTable = Get-CippTable -tablename Config
$Filter = "PartitionKey eq 'Domains' and RowKey eq 'Domains'"
$Config = Get-AzDataTableEntity @ConfigTable -Filter $Filter
$Config = Get-CIPPAzDataTableEntity @ConfigTable -Filter $Filter

$ValidResolvers = @('Google', 'CloudFlare', 'Quad9')
if ($ValidResolvers -contains $Config.Resolver) {
Expand Down
6 changes: 3 additions & 3 deletions DomainAnalyser_GetTenantDomains/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $TenantDomains = $Tenants | ForEach-Object -Parallel {
# Cleanup domains from tenants with errors, skip domains with manually set selectors or mail providers
foreach ($Exclude in $ExcludedTenants) {
$Filter = "PartitionKey eq 'TenantDomains' and TenantId eq '{0}'" -f $Exclude.defaultDomainName
$CleanupRows = Get-AzDataTableEntity @DomainTable -Filter $Filter
$CleanupRows = Get-CIPPAzDataTableEntity @DomainTable -Filter $Filter
$CleanupCount = ($CleanupRows | Measure-Object).Count
if ($CleanupCount -gt 0) {
Write-LogMessage -API 'DomainAnalyser' -tenant $Exclude.defaultDomainName -message "Cleaning up $CleanupCount domain(s) for excluded tenant" -sev Info
Expand All @@ -48,14 +48,14 @@ if ($TenantCount -gt 0) {
$TenantDomainObjects = foreach ($Tenant in $TenantDomains) {
$TenantDetails = ($Tenant | ConvertTo-Json -Compress).ToString()
$Filter = "PartitionKey eq '{0}' and RowKey eq '{1}'" -f $Tenant.Tenant, $Tenant.Domain
$OldDomain = Get-AzDataTableEntity @DomainTable -Filter $Filter
$OldDomain = Get-CIPPAzDataTableEntity @DomainTable -Filter $Filter

if ($OldDomain) {
Remove-AzDataTableEntity @DomainTable -Entity $OldDomain | Out-Null
}

$Filter = "PartitionKey eq 'TenantDomains' and RowKey eq '{0}'" -f $Tenant.Domain
$Domain = Get-AzDataTableEntity @DomainTable -Filter $Filter
$Domain = Get-CIPPAzDataTableEntity @DomainTable -Filter $Filter

if (!$Domain) {
$DomainObject = [pscustomobject]@{
Expand Down
2 changes: 1 addition & 1 deletion DomainAnalyser_List/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if ($Request.Query.tenantFilter -ne 'AllTenants') {

try {
# Extract json from table results
$Results = foreach ($DomainAnalyserResult in (Get-AzDataTableEntity @DomainTable).DomainAnalyser) {
$Results = foreach ($DomainAnalyserResult in (Get-CIPPAzDataTableEntity @DomainTable).DomainAnalyser) {
try {
if (![string]::IsNullOrEmpty($DomainAnalyserResult)) {
$Object = $DomainAnalyserResult | ConvertFrom-Json
Expand Down
2 changes: 1 addition & 1 deletion EditTenant/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if ($tenantObjectId) {
$Filter = "PartitionKey eq 'Tenants' and defaultDomainName eq '{0}'" -f $tenantDefaultDomainName
try {
$TenantsTable = Get-CippTable -tablename Tenants
$Tenant = Get-AzDataTableEntity @TenantsTable -Filter $Filter
$Tenant = Get-CIPPAzDataTableEntity @TenantsTable -Filter $Filter
$Tenant.displayName = $tenantDisplayName
Update-AzDataTableEntity @TenantsTable -Entity $Tenant
}
Expand Down
2 changes: 1 addition & 1 deletion ExecAlertsList/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ try {
else {
$Table = Get-CIPPTable -TableName cachealertsandincidents
$Filter = "PartitionKey eq 'alert'"
$Rows = Get-AzDataTableEntity @Table -filter $Filter | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)
$Rows = Get-CIPPAzDataTableEntity @Table -filter $Filter | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)
if (!$Rows) {
Push-OutputBinding -Name Msg -Value (Get-Date).ToString()
[PSCustomObject]@{
Expand Down
2 changes: 1 addition & 1 deletion ExecBECCheck/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param($Request, $TriggerMetadata)
$body = if ($request.query.GUID) {
$Table = Get-CippTable -tablename 'cachebec'
$Filter = "PartitionKey eq 'bec' and RowKey eq '$($request.query.GUID)'"
$JSONOutput = Get-AzDataTableEntity @Table -Filter $Filter
$JSONOutput = Get-CIPPAzDataTableEntity @Table -Filter $Filter
if (!$JSONOutput) {
@{ Waiting = $true }
}
Expand Down
2 changes: 1 addition & 1 deletion ExecDeleteGDAPRoleMapping/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $Table = Get-CIPPTable -TableName 'GDAPRoles'
Write-Host $Table
try {
$Filter = "PartitionKey eq 'Roles' and RowKey eq '{0}'" -f $Request.Query.GroupId
$Entity = Get-AzDataTableEntity @Table -Filter $Filter
$Entity = Get-CIPPAzDataTableEntity @Table -Filter $Filter
Remove-AzDataTableEntity @Table -Entity $Entity
$Results = [pscustomobject]@{'Results' = 'Success. GDAP relationship mapping deleted' }
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -message "GDAP relationship mapping deleted for $($Request.Query.GroupId)" -Sev 'Info'
Expand Down
6 changes: 3 additions & 3 deletions ExecDnsConfig/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $StatusCode = [HttpStatusCode]::OK
try {
$ConfigTable = Get-CippTable -tablename Config
$Filter = "PartitionKey eq 'Domains' and RowKey eq 'Domains'"
$Config = Get-AzDataTableEntity @ConfigTable -Filter $Filter
$Config = Get-CIPPAzDataTableEntity @ConfigTable -Filter $Filter

$DomainTable = Get-CippTable -tablename 'Domains'

Expand Down Expand Up @@ -64,7 +64,7 @@ try {
$Selector = ($Request.Query.Selector).trim() -split '\s*,\s*'
$DomainTable = Get-CIPPTable -Table 'Domains'
$Filter = "RowKey eq '{0}'" -f $Domain
$DomainInfo = Get-AzDataTableEntity @DomainTable -Filter $Filter
$DomainInfo = Get-CIPPAzDataTableEntity @DomainTable -Filter $Filter
$DkimSelectors = [string]($Selector | ConvertTo-Json -Compress)
if ($DomainInfo) {
$DomainInfo.DkimSelectors = $DkimSelectors
Expand All @@ -87,7 +87,7 @@ try {
}
'RemoveDomain' {
$Filter = "RowKey eq '{0}'" -f $Request.Query.Domain
$DomainRow = Get-AzDataTableEntity @DomainTable -Filter $Filter
$DomainRow = Get-CIPPAzDataTableEntity @DomainTable -Filter $Filter
Remove-AzDataTableEntity @DomainTable -Entity $DomainRow
Write-LogMessage -API $APINAME -tenant 'Global' -user $request.headers.'x-ms-client-principal' -message "Removed Domain - $($Request.Query.Domain) " -Sev 'Info'
$body = [pscustomobject]@{ 'Results' = "Domain removed - $($Request.Query.Domain)" }
Expand Down
6 changes: 3 additions & 3 deletions ExecExcludeLicenses/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $Table = Get-CIPPTable -TableName ExcludedLicenses
try {

if ($Request.Query.List) {
$Rows = Get-AzDataTableEntity @Table
$Rows = Get-CIPPAzDataTableEntity @Table
if ($Rows.Count -lt 1) {
$TableBaseData = '[{"GUID":"16ddbbfc-09ea-4de2-b1d7-312db6112d70","Product_Display_Name":"MICROSOFT TEAMS (FREE)"},{"GUID":"1f2f344a-700d-42c9-9427-5cea1d5d7ba6","Product_Display_Name":"MICROSOFT STREAM"},{"GUID":"338148b6-1b11-4102-afb9-f92b6cdc0f8d","Product_Display_Name":"DYNAMICS 365 P1 TRIAL FOR INFORMATION WORKERS"},{"GUID":"606b54a9-78d8-4298-ad8b-df6ef4481c80","Product_Display_Name":"Power Virtual Agents Viral Trial"},{"GUID":"61e6bd70-fbdb-4deb-82ea-912842f39431","Product_Display_Name":"Dynamics 365 Customer Service Insights Trial"},{"GUID":"6470687e-a428-4b7a-bef2-8a291ad947c9","Product_Display_Name":"WINDOWS STORE FOR BUSINESS"},{"GUID":"710779e8-3d4a-4c88-adb9-386c958d1fdf","Product_Display_Name":"MICROSOFT TEAMS EXPLORATORY"},{"GUID":"74fbf1bb-47c6-4796-9623-77dc7371723b","Product_Display_Name":"Microsoft Teams Trial"},{"GUID":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96","Product_Display_Name":"Business Apps (free)"},{"GUID":"a403ebcc-fae0-4ca2-8c8c-7a907fd6c235","Product_Display_Name":"Power BI (free)"},{"GUID":"bc946dac-7877-4271-b2f7-99d2db13cd2c","Product_Display_Name":"Dynamics 365 Customer Voice Trial"},{"GUID":"dcb1a3ae-b33f-4487-846a-a640262fadf4","Product_Display_Name":"Microsoft Power Apps Plan 2 Trial"},{"GUID":"f30db892-07e9-47e9-837c-80727f46fd3d","Product_Display_Name":"MICROSOFT FLOW FREE"},{"GUID":"fcecd1f9-a91e-488d-a918-a96cdb6ce2b0","Product_Display_Name":"Microsoft Dynamics AX7 User Trial"}]' | ConvertFrom-Json -AsHashtable -Depth 10
$TableRows = foreach ($Row in $TableBaseData) {
Expand All @@ -23,7 +23,7 @@ try {
Add-CIPPAzDataTableEntity @Table -Entity ([pscustomobject]$Row) -Force | Out-Null
}

$Rows = Get-AzDataTableEntity @Table
$Rows = Get-CIPPAzDataTableEntity @Table

Write-LogMessage -API $APINAME -user $request.headers.'x-ms-client-principal' -message 'got excluded licenses list' -Sev 'Info'
}
Expand All @@ -47,7 +47,7 @@ try {

if ($Request.Query.RemoveExclusion) {
$Filter = "RowKey eq '{0}' and PartitionKey eq 'License'" -f $Request.Query.Guid
$Entity = Get-AzDataTableEntity @Table -Filter $Filter
$Entity = Get-CIPPAzDataTableEntity @Table -Filter $Filter
Remove-AzDataTableEntity @Table -Entity $Entity
Write-LogMessage -API $APINAME -user $request.headers.'x-ms-client-principal' -message "Removed exclusion $($Request.Query.GUID)" -Sev 'Info'
$body = [pscustomobject]@{'Results' = "Success. We've removed $($Request.query.guid) from the excluded list." }
Expand Down
6 changes: 3 additions & 3 deletions ExecExcludeTenant/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ $TenantsTable = Get-CippTable -tablename Tenants

if ($Request.Query.List) {
$ExcludedFilter = "PartitionKey eq 'Tenants' and Excluded eq true"
$ExcludedTenants = Get-AzDataTableEntity @TenantsTable -Filter $ExcludedFilter
$ExcludedTenants = Get-CIPPAzDataTableEntity @TenantsTable -Filter $ExcludedFilter
Write-LogMessage -API $APINAME -user $request.headers.'x-ms-client-principal' -message 'got excluded tenants list' -Sev 'Info'
$body = @($ExcludedTenants)
}
elseif ($Request.query.ListAll) {
$ExcludedTenants = Get-AzDataTableEntity @TenantsTable -filter "PartitionKey eq 'Tenants'"
$ExcludedTenants = Get-CIPPAzDataTableEntity @TenantsTable -filter "PartitionKey eq 'Tenants'"
Write-LogMessage -API $APINAME -user $request.headers.'x-ms-client-principal' -message 'got excluded tenants list' -Sev 'Info'
$body = @($ExcludedTenants)
}
Expand All @@ -43,7 +43,7 @@ try {

if ($Request.Query.RemoveExclusion) {
$Filter = "PartitionKey eq 'Tenants' and defaultDomainName eq '{0}'" -f $name
$Tenant = Get-AzDataTableEntity @TenantsTable -Filter $Filter
$Tenant = Get-CIPPAzDataTableEntity @TenantsTable -Filter $Filter
$Tenant.Excluded = $false
$Tenant.ExcludeUser = ''
$Tenant.ExcludeDate = ''
Expand Down
2 changes: 1 addition & 1 deletion ExecExtensionSync/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -m
try {
Write-LogMessage -API "Scheduler_Billing" -tenant "none" -message "Starting billing processing." -sev Info
$Table = Get-CIPPTable -TableName Extensionsconfig
$Configuration = (Get-AzDataTableEntity @Table).config | ConvertFrom-Json -Depth 10
$Configuration = (Get-CIPPAzDataTableEntity @Table).config | ConvertFrom-Json -Depth 10
foreach ($ConfigItem in $Configuration.psobject.properties.name) {
switch ($ConfigItem) {
"Gradient" {
Expand Down
2 changes: 1 addition & 1 deletion ExecExtensionTest/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param($Request, $TriggerMetadata)
$APIName = $TriggerMetadata.FunctionName
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -message "Accessed this API" -Sev "Debug"
$Table = Get-CIPPTable -TableName Extensionsconfig
$Configuration = ((Get-AzDataTableEntity @Table).config | ConvertFrom-Json)
$Configuration = ((Get-CIPPAzDataTableEntity @Table).config | ConvertFrom-Json)
# Interact with query parameters or the body of the request.
try {
switch ($Request.query.extensionName) {
Expand Down
2 changes: 1 addition & 1 deletion ExecGDAPInviteQueue/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Write-Host "PowerShell queue trigger function processed work item: $QueueItem"
#$TenantFilter = $env:TenantID

$Table = Get-CIPPTable -TableName 'GDAPInvites'
$Invite = Get-AzDataTableEntity @Table -Filter "RowKey eq '$QueueItem'"
$Invite = Get-CIPPAzDataTableEntity @Table -Filter "RowKey eq '$QueueItem'"

$RoleMappings = $Invite.RoleMappings | ConvertFrom-Json
Write-Host ($Invite | ConvertTo-Json -Compress)
Expand Down
2 changes: 1 addition & 1 deletion ExecIncidentsList/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ try {
else {
$Table = Get-CIPPTable -TableName cachealertsandincidents
$Filter = "PartitionKey eq 'Incident'"
$Rows = Get-AzDataTableEntity @Table -filter $Filter | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)
$Rows = Get-CIPPAzDataTableEntity @Table -filter $Filter | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)
if (!$Rows) {
Push-OutputBinding -Name Msg -Value (Get-Date).ToString()
[PSCustomObject]@{
Expand Down
2 changes: 1 addition & 1 deletion ExecPasswordConfig/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $APIName = $TriggerMetadata.FunctionName
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -message 'Accessed this API' -Sev 'Debug'

$Table = Get-CIPPTable -TableName Settings
$PasswordType = (Get-AzDataTableEntity @Table)
$PasswordType = (Get-CIPPAzDataTableEntity @Table)

# Write to the Azure Functions log stream.
Write-Host 'PowerShell HTTP trigger function processed a request.'
Expand Down
2 changes: 1 addition & 1 deletion ExecRunBackup/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ try {
}
$CSVfile = foreach ($CSVTable in $BackupTables) {
$Table = Get-CippTable -tablename $CSVTable
Get-AzDataTableEntity @Table | Select-Object *, @{l = 'table'; e = { $CSVTable } }
Get-CIPPAzDataTableEntity @Table | Select-Object *, @{l = 'table'; e = { $CSVTable } }
}
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -message "Created backup" -Sev "Debug"

Expand Down
4 changes: 2 additions & 2 deletions ExecSAMSetup/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (!$ENV:SetFromProfile) {

$KV = $ENV:WEBSITE_DEPLOYMENT_ID
$Table = Get-CIPPTable -TableName SAMWizard
$Rows = Get-AzDataTableEntity @Table | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)
$Rows = Get-CIPPAzDataTableEntity @Table | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)

try {
if ($Request.query.count -lt 1 ) { $Results = "No authentication code found. Please go back to the wizard." }
Expand Down Expand Up @@ -83,7 +83,7 @@ try {
tenantid = "NotStarted"
}
Add-CIPPAzDataTableEntity @Table -Entity $Rows -Force | Out-Null
$Rows = Get-AzDataTableEntity @Table | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)
$Rows = Get-CIPPAzDataTableEntity @Table | Where-Object -Property Timestamp -GT (Get-Date).AddMinutes(-10)

if ($Request.query.partnersetup) {
$SetupPhase = $Rows.partnersetup = $true
Expand Down
2 changes: 1 addition & 1 deletion ExecSchedulerBillingRun/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ try {
Write-LogMessage -API "Scheduler_Billing" -tenant "none" -message "Starting billing processing." -sev Info

$Table = Get-CIPPTable -TableName Extensionsconfig
$Configuration = (Get-AzDataTableEntity @Table).config | ConvertFrom-Json -Depth 10
$Configuration = (Get-CIPPAzDataTableEntity @Table).config | ConvertFrom-Json -Depth 10
foreach ($ConfigItem in $Configuration.psobject.properties.name) {
switch ($ConfigItem) {
"Gradient" {
Expand Down
2 changes: 1 addition & 1 deletion GetCippAlerts/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $Alerts = [System.Collections.ArrayList]@()
$Table = Get-CippTable -tablename CippAlerts
$PartitionKey = Get-Date -UFormat '%Y%m%d'
$Filter = "PartitionKey eq '{0}'" -f $PartitionKey
$Rows = Get-AzDataTableEntity @Table -Filter $Filter | Sort-Object TableTimestamp -Descending | Select-Object -First 10
$Rows = Get-CIPPAzDataTableEntity @Table -Filter $Filter | Sort-Object TableTimestamp -Descending | Select-Object -First 10



Expand Down
6 changes: 3 additions & 3 deletions GetDashboard/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ Function Get-CronNextExecutionTime {
$Table = Get-CippTable -tablename CippLogs
$PartitionKey = Get-Date -UFormat '%Y%m%d'
$Filter = "PartitionKey eq '{0}'" -f $PartitionKey
$Rows = Get-AzDataTableEntity @Table -Filter $Filter | Sort-Object TableTimestamp -Descending | Select-Object -First 10
$Rows = Get-CIPPAzDataTableEntity @Table -Filter $Filter | Sort-Object TableTimestamp -Descending | Select-Object -First 10

$Standards = Get-CippTable -tablename standards
$QueuedStandards = (Get-AzDataTableEntity @Standards -Property RowKey | Measure-Object).Count
$QueuedStandards = (Get-CIPPAzDataTableEntity @Standards -Property RowKey | Measure-Object).Count

$Apps = Get-CippTable -tablename apps
$QueuedApps = (Get-AzDataTableEntity @Apps -Property RowKey | Measure-Object).Count
$QueuedApps = (Get-CIPPAzDataTableEntity @Apps -Property RowKey | Measure-Object).Count

$SlimRows = New-Object System.Collections.ArrayList
foreach ($Row in $Rows) {
Expand Down
Loading

0 comments on commit 40e3cdf

Please sign in to comment.