sudo nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'
For a slower and more accurate scan, try:
for ip in 192.168.1.{1..254}; do { ping -c 1 -W 1 $ip ; } &> /dev/null || echo $ip & done | sort
sudo nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'
for ip in 192.168.1.{1..254}; do { ping -c 1 -W 1 $ip ; } &> /dev/null || echo $ip & done | sort
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Add-MailboxPermission -User SOMEUSER@SOMEDOMAIN.COM -AccessRights FullAccess -InheritanceType all
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Remove-MailboxPermission -User SOMEUSER@SOMEDOMAIN.COM -AccessRights FullAccess -InheritanceType all