Skip to content

Commit

Permalink
Suppress Write-Host checks
Browse files Browse the repository at this point in the history
  • Loading branch information
SamErde committed Jun 27, 2024
1 parent 7fb8343 commit 7e73dc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Exchange Server/Rename-RecipientByCsv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function Rename-RecipientByCsv {
function Write-Log {
# Write a string of text to the host and a log file simultaneously.
[CmdletBinding()]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingWriteHost', '', Justification = 'Support logging to host')]
[OutputType([string])]
param (
# The message to display and write to a log
Expand Down

0 comments on commit 7e73dc5

Please sign in to comment.