We know that in a hybrid scenario or during migration all shared mailboxes are migrated as a user account and then converted in a shared mailbox. Sometimes admin forget to remove the license for the shared box after conversion and there is no GUI alternative to see if the shared mailbox is licensed. Shared mailbox…
How to configure static ip address on CentOS 7
In this small tutorial i will explain how to configure static ip address on CentOS 7 minimal. First, need to edit the set up for the ethernet. Let’s start with editing “/etc/sysconfig/network-scripts/ifcfg-enp0s3″ file:
1 |
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
HWADDR=08:00:27:6C:FF:91 TYPE=Ethernet BOOTPROTO=static DEFROUTE=yes PEERDNS=yes PEERROUTES=yes IPV4_FAILURE_FATAL=no IPADDR=192.168.0.88 IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_FAILURE_FATAL=no NAME=enp0s3 UUID=ea68db6e-461e-427d-b9a8-bfcf6e1a4fc6 ONBOOT=yes |
Save and exit. Now, configure default getaway:
1 |
vi /etc/sysconfig/network |
And add following line:
1 2 3 |
NETWORKING=yes HOSTNAME=centos7 GATEWAY=10.1.1.253 |
Configure DNS Server
1 |
vi /etc/resolv.conf |
add following line:
1 2 |
nameserver 8.8.8.8 nameserver 8.8.4.4 |
Now restart…
How to setup network after RHEL/CentOS 7 minimal installation
After installing RHEL/CentOS 7 minimal, You may not able to connect network in that machine. This will happen because Ethernet interfaces are not enabled by default. This guide explain you to setup network on RHEL/CentOS 7. Setup network on CentOS 7 minimal First, type “nmcli d†command in your terminal for quick list ethernet card…
Deleting contents of a mailbox
So came across an account that had 450000 items that were log files that were being captured in a mailbox. I wanted to delete all the enteries with powershell instead of going through the GUI. Here the command I used to get it done:
1 |
Search-mailbox -Identity user@domain.com -DeleteContent -Force |
Creating a Picture Policy to use with Office365
With Office365 you can have profile pictures, and this setting is enabled by default. In larger organizations you may not want this policy enabled or have a customized policy for different departments. Here’s what I had to do to disable the picture upload capability by default and use powershell to update it for individuals by…
Find out Windows version from an ISO file
So we download a lot of .ISO file from various sources. I needed to install Windows 10 x64 Pro and was having trouble identifying which was which from the different versions I had been testing. This was important to me because I needed to know if it was Retail, VL, or MSDN. This should work…
How do I enable or disable anonymous LDAP binds to Windows Server 2008 R2 Active Directory (AD)?
By default the setting is set to <not set> meaning it is disabled. I strongly recommend against this. Many applications communicate with directory services through LDAP, but the LDAP Request for Comments (RFC) specification stipulates that an LDAP bind should support the passing of a credential. Connecting anonymously really shouldn’t be needed. You may have…
Transferring FSMO roles (2003-2012)
Note: if you do not know what the “FSMO” roles are, or wish to know more, please see this link: Operations master rolesThis is a well-known subject among Active Directory administrators.Even before Windows 2012, there was no lack of choice in the methods allowing us to transfer the FSMO roles: If there were only two…
How to manually uninstall a printer driver in Windows
Came across an interesting issue today where I was unable to remove the printer drivers. I got the message that the printer is in use and therefore cannot delete the drivers. Here’s what I did to get the printer: Goto ‘Services’ under ‘Administrative Tools’, and restart the ‘Printer Spooler Service’. Click the Start menu and in…
Delete the Lync or Skype for Business SIP profile from a Windows computer
When a Lync 2010/2013 desktop client for Windows signs-in, to minimize the bandwidth consumption the Lync client retrieves a lot of information from cache. This cached information is stored in the users SIP Profile in a folder named sip_(SipURI of the user) located on a Windows computer in the following folder: Lync 2010: %UserProfile%\AppData\Local\Microsoft\Communicator\ Lync 2013: %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync…