About hanif.sajid@gmail.com

This author has not yet filled in any details.
So far hanif.sajid@gmail.com has created 13 blog entries.

Office 365 Exchange Online Forward email to multiple addresses

In General it is not possible to forward an email to multiple addresses.

This command can be used to set forwarding email by an administrator:

Set-Mailbox -Identity “email@domain.com” -DeliverToMailboxAndForward $true -ForwardingSMTPAddress anotheremail@domain.com

But this command does not accept more than one email so in case of a need to forward to multiple addresses either we need to create a distribution group to use its email as forwarding address or another way is to use inbox rules e.g.

New-InboxRule “Forward to Multiple Emails” -Mailbox email@domain.com -RedirectTo @(‘x@domain.com’,’y@domain.com’)

Useful Links



By |2018-11-26T14:14:15+00:00November 26th, 2018|EXOL, Office 365|0 Comments

Message Tracking by Subject

Message Tracking by Subject

Message tracking by subject is more complicated than expected as there is no switch where we can provide subject as a parameter. Instead we need to get the results and then find out the ones with the desired subject.




By |2018-11-19T21:04:51+00:00September 21st, 2018|EXOL|0 Comments

Powershell how to read a csv file

Here is how we can get information in a csv file format using Export-CSV command.

Get-ADComputer -Filter { name -like “*searchString*”} | select Name | Export-CSV c:\temp\filename.csv

Once we have the csv file the best command to read eventually this information is not Get-Content but Import-CSV.  Import-CSV reads the individual entries in CSV file and keeps it as an object. So we have to use the format object.atribute to read the value, e.g. as the column header of my csv file is Name, I can read the csv file using that attribute.

ForEach ($Computer In $Computers){Write-Host $Computer.Name}

By |2018-09-19T12:50:03+00:00September 19th, 2018|Active Directory, Powershell|0 Comments

Sharp MFP Scan to Network shared folder

On windows 10 in order for scan to network to work we will need to enable SMBV1. By default on Windows 10 only SmbV2 and V3 are enabled.

This is the command to check the status of which versions are enabled


In order to enable SmbV1

Set-SmbServerConfiguration –EnableSMB1Protocol $true

This is the link about enabling the SmbV1


By |2018-07-04T13:18:40+00:00July 4th, 2018|Uncategorized|0 Comments

Useful Windows Commands

net stop spooler

net start spooler



devmgmt.msc      to open device manager
sysdm.cpl             to get computer properties
ncpa.cpl                network connections
wf.msc                   open windows firewall
hdwwiz.cpl           device manager
intl.cpl                  Region and Language settings
lusrmgr.msc        User and Groups


shutdown /r /t 000

shutdown /r /t 000 /c “for updates”

Windows key + D to minimize and maximize the window

Ctrl + Shift + T to open last tab in the browser closed by mistake


By |2018-11-25T21:25:38+00:00July 4th, 2018|Windows|0 Comments