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 … Read more

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:

 

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 … Read more

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 … Read more

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 … Read more

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 … Read more

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 … Read more

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 … Read more

Exchange 2010: Moving Messages to Another Working Queue on another CAS Server

One of my CAS Hub servers was acting up and started queuing email. I needed to move the message to another working server while I needed time to troubleshoot what was causing the queuing. This is what I had to do. On the non working server: Create a Folder on C: called MailsExport Open Exchange Management … Read more

Updating the system time on Server 2008R2 & 2012R2 using NTP Servers

To update, use the command below (2008 and 2012 server compatible)

change the ntp_server with your source. Check http://tf.nist.gov/tf-cgi/servers.cgi for servers Restart the time service

Resync the time

Verify your sync status

Commands above should be fine if your sources are working correctly and/or your connection is OK (firewall or Microsoft Forefront … Read more