In order to script the connection to exchange online with mfa, you must first download the Microsoft.Exchange.Management.ExoPowershellModule.dll I assume you will have to periodically update […]
Posts
Backspace and arrows not working in ubuntu vi
Add 2 lines: vi .vimrc set nocompatible set backspace=2
You must put some ‘source’ URIs in your sources.list – deb-src
apt-get build-dep ‘program’ Reading package lists… Done E: You must put some ‘source’ URIs in your sources.list Remove the # before each line with # […]
Update Linux timezone
Verify with command: date unlink /etc/localtime ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime
Block domain name postfix
Update postfix config: vi /etc/postfix/main.cf smtpd_sender_restrictions = hash:/etc/postfix/access reject_unauth_destination = hash:/etc/postfix/access Create block file: vi /etc/postfix/access mediatransport.com REJECT Execute: postmap hash:/etc/postfix/access service postfix restart
Intel network – Windows 2016
Solution for I218V can be found on many sites , but I211-AT no so popular but solution is about the same. First of all, after […]
Upgrade Ubuntu to latest version
cat /etc/update-manager/release-upgrades confirm or change to desired release path # Default prompting behavior, valid options: # # never – Never check for a new release. […]
Ubuntu Free Space on /boot
dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/’”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d’ | xargs sudo apt-get -y purge
Ubuntu Remote Desktop
Using the default VNC to remote desktop the machine from the command line export DISPLAY=:0 gsettings set org.gnome.Vino enabled true gsettings set org.gnome.Vino prompt-enabled false […]
Configure Spam Filter for Exchange
Exchange Management Shell: Add-IPBlockListProvider -Name Spamhaus -LookupDomain zen.spamhaus.org -AnyMatch $true -Enabled $true -RejectionResponse “IP address is listed by Spamhaus” Add-IPBlockListProvider -Name Spamcop -LookupDomain bl.spamcop.net -AnyMatch $true […]