Skip to content

Commit

Permalink
Merge branch 'main' into AV
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaulson45 authored Aug 4, 2023
2 parents a5391e5 + 9f48e13 commit c6f1837
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Calendar/Get-RBASummary.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ function RBADelegateSettings {
Write-Host "`t ForwardRequestsToDelegates: "$RbaSettings.ForwardRequestsToDelegates
Write-Host

# Check for known configuration issues to warn about:
if ($RbaSettings.ResourceDelegates.Count -gt 0) {
if ($RbaSettings.AddNewRequestsTentatively -eq $true) {
Write-Host "In-policy meetings will be marked tentative and the meeting request will be sent to the Resource Delegates to be accepted or rejected. Default"
Expand Down Expand Up @@ -361,6 +362,11 @@ function RBAPostProcessing {
`t EnableAutoRelease: $($RbaSettings.EnableAutoRelease)
`t AddAdditionalResponse: $($RbaSettings.AddAdditionalResponse)
"@

# Warning about the DeleteComments setting and Teams:
if ($RbaSettings.DeleteComments -eq $true) {
Write-Host -ForegroundColor Yellow "Warning: DeleteComments is set to true. This will remove the Teams information which is in the meeting body."
}
}

# RBA Verbose PostProcessing Steps
Expand Down
4 changes: 2 additions & 2 deletions Diagnostics/HealthChecker/Features/Get-HealthCheckerData.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function Get-HealthCheckerData {
}

Invoke-Command -ComputerName $ComputerName -ScriptBlock { Get-Date } -ErrorAction Stop | Out-Null
$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey(LocalMachine, $ComputerName)
$reg.OpenSubKey(SOFTWARE\Microsoft\Windows NT\CurrentVersion) | Out-Null
$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey("LocalMachine", $ComputerName)
$reg.OpenSubKey("SOFTWARE\Microsoft\Windows NT\CurrentVersion") | Out-Null
Write-Verbose "Returning true back"
return $true
} catch {
Expand Down

0 comments on commit c6f1837

Please sign in to comment.