Hello Tech gurus,
I have a script which disable forwarding applied on users:
Get-mailbox $_.alias | Where {$_.ForwardingAddress -ne $null} | Set-Mailbox -ForwardingAddress $null -DeliverToMailboxAndForward $false }
Can you please help me in extracting actions of script into outfile.log/.txt.
I would like to know if it is disabled for every user.
I thank you in advance for your assistance and guidance.
regards,
Gautam