fix: output functions verbosity

This commit is contained in:
DrIOS
2024-06-23 16:51:57 -05:00
parent 6b94ee72a5
commit e60c9855e3
5 changed files with 6 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ function Get-CISAadOutput {
} }
} }
end { end {
Write-Verbose "Retuning data for Rec: $Rec" Write-Verbose "Get-CISAadOutput: Retuning data for Rec: $Rec"
return $users return $users
} }
} # end function Get-CISAadOutput } # end function Get-CISAadOutput

View File

@@ -48,6 +48,7 @@ function Get-CISExoOutput {
#> #>
} }
process { process {
Write-Verbose "Get-CISExoOutput: Retuning data for Rec: $Rec"
switch ($Rec) { switch ($Rec) {
'1.2.2' { '1.2.2' {
# Test-BlockSharedMailboxSignIn.ps1 # Test-BlockSharedMailboxSignIn.ps1

View File

@@ -36,6 +36,7 @@ function Get-CISMSTeamsOutput {
#> #>
} }
process { process {
Write-Verbose "Get-CISMSTeamsOutput: Retuning data for Rec: $Rec"
switch ($Rec) { switch ($Rec) {
'8.1.1' { '8.1.1' {
# Test-TeamsExternalFileSharing.ps1 # Test-TeamsExternalFileSharing.ps1

View File

@@ -38,6 +38,7 @@ function Get-CISMgOutput {
#> #>
} }
process { process {
Write-Verbose "Get-CISMgOutput: Retuning data for Rec: $Rec"
switch ($rec) { switch ($rec) {
'1.1.1' { '1.1.1' {
# 1.1.1 # 1.1.1

View File

@@ -38,6 +38,7 @@ function Get-CISSpoOutput {
#> #>
} }
process { process {
Write-Verbose "Retuning data for Rec: $Rec"
switch ($Rec) { switch ($Rec) {
'7.2.1' { '7.2.1' {
# Test-ModernAuthSharePoint.ps1 # Test-ModernAuthSharePoint.ps1