Skip to content

Commit c7cebfe

Browse files
better descriptions
1 parent 53db433 commit c7cebfe

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

Modules/CIPPHTTP/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ListCalendarPermissions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Function Invoke-ListCalendarPermissions {
1+
function Invoke-ListCalendarPermissions {
22
<#
33
.FUNCTIONALITY
44
Entrypoint

Modules/CIPPHTTP/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ListHVEAccounts.ps1

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function Invoke-ListHVEAccounts {
1919
if ($ListBillingPolicies -eq 'true') {
2020
# Return available HVE billing policies for the tenant
2121
$GraphRequest = @(New-ExoRequest -tenantid $TenantFilter -cmdlet 'Get-BillingPolicy' -cmdParams @{
22-
ResourceType = 'HVE'
23-
})
22+
ResourceType = 'HVE'
23+
})
2424

2525
return ([HttpResponseContext]@{
2626
StatusCode = [HttpStatusCode]::OK
@@ -106,17 +106,17 @@ function Invoke-ListHVEAccounts {
106106

107107
# Live EXO query
108108
$GraphRequest = (New-ExoRequest -tenantid $TenantFilter -cmdlet 'Get-MailUser' -cmdParams @{
109-
HVEAccount = $true
110-
} -Select 'DisplayName,PrimarySmtpAddress,ExternalDirectoryObjectId,Alias,WhenCreated,EmailAddresses,HiddenFromAddressListsEnabled') | Select-Object `
111-
@{ Name = 'displayName'; Expression = { $_.DisplayName } },
112-
@{ Name = 'primarySmtpAddress'; Expression = { $_.PrimarySmtpAddress } },
113-
@{ Name = 'recipientType'; Expression = { 'MailUser' } },
114-
@{ Name = 'recipientTypeDetails'; Expression = { 'HVEAccount' } },
115-
ExternalDirectoryObjectId,
116-
Alias,
117-
WhenCreated,
118-
@{ Name = 'AdditionalEmailAddresses'; Expression = { ($_.'EmailAddresses' | Where-Object { $_ -clike 'smtp:*' }).Replace('smtp:', '') -join ', ' } },
119-
HiddenFromAddressListsEnabled
109+
HVEAccount = $true
110+
} -Select 'DisplayName,PrimarySmtpAddress,ExternalDirectoryObjectId,Alias,WhenCreated,EmailAddresses,HiddenFromAddressListsEnabled') | Select-Object `
111+
@{ Name = 'displayName'; Expression = { $_.DisplayName } },
112+
@{ Name = 'primarySmtpAddress'; Expression = { $_.PrimarySmtpAddress } },
113+
@{ Name = 'recipientType'; Expression = { 'MailUser' } },
114+
@{ Name = 'recipientTypeDetails'; Expression = { 'HVEAccount' } },
115+
ExternalDirectoryObjectId,
116+
Alias,
117+
WhenCreated,
118+
@{ Name = 'AdditionalEmailAddresses'; Expression = { ($_.'EmailAddresses' | Where-Object { $_ -clike 'smtp:*' }).Replace('smtp:', '') -join ', ' } },
119+
HiddenFromAddressListsEnabled
120120

121121
$StatusCode = [HttpStatusCode]::OK
122122
} catch {

Modules/CIPPHTTP/Public/Entrypoints/HTTP Functions/Tenant/Reports/Invoke-ListOAuthApps.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Function Invoke-ListOAuthApps {
1+
function Invoke-ListOAuthApps {
22
<#
33
.FUNCTIONALITY
44
Entrypoint

0 commit comments

Comments
 (0)