Hi,
I am using the abc.ps1 file to convert the shared mailbox to user mailbox
abc.ps1 consists of below command
Get-Content C:\temp\movemailbox.txt |
foreach {Set-Mailbox –Identity $_ -Type regular}
My requirement here is the output log file of this ps1 file to check whether the mailbox is coverted successfully or not, please help me to modify the script in order to take the output of the same