Script to check if a reg key is set on multiple servers

Summary If your servers require a reg key and unsure if its properly configured. You can use this script to check if the key is present or is set to the correct value across multiple servers. The Script #Simple Server list $servers = Get-Content C:\servers.txt   # Loop through all servers and check key foreach…


Script to copy specified IIS logs from multiple Servers

Summary Need to copy a set of IIS logs from multiple servers for data analysis? Are you doing it manually?  If so, please check out this script as it will help expedite the process. The Script: #Modify Inputs # Host and Drive to store the IISLogs $Hostdir = “\\HOSTSERVER\c$” # Actual Location of the IIS…


Script to backup event logs using a server list

Summary Have you ever needed to back up event logs for root cause analysis or auditing? Did you access each server and manually export the requested log file? If yes, I hope you find this script handy. The script # Specify which Log File $EventLogName = “Application”   # Specify drive to store event logs…

3

My Blog Site is Moving

Hello All, Just a quick note that my blog will be moving to a new home. You will find my new blogs here: https://mikesblogs.net Thanks for visting! -Mike    


SharePoint / How is mail deleted from the “DROP” Folder?

Summary I recently worked on a case that involved slow incoming mail destined to SharePoint libraries. We found the problem was caused by a buildup of mail in the “drop” folders across multiple servers. Looking closer at the issue, we found that most of the messages were intended for aliases that no longer existed.  …


How to disable the modern experience in SharePoint 2019

Summary SharePoint 2019 delivers an updated modern look and feel for lists and libraries and enabled by default. Modern:                                                                        …

1

Is SMTP Auth Really Working?

Summary Now that SharePoint 2019 supports SMTP authentication you have the option to relay e-mail from SharePoint to any SMTP server that supports SMTP authentication. However, if you are using a port that falls back to anonymous, how do you if it’s authenticating and not just falling back to anonymous? Let’s look at the traffic…

1

SharePoint requests fail when memory is low

Summary When working in virtual labs, I don’t always adhere to best practices. For example, we all know the minimum memory recommendation for SharePoint is 16GB for production use. So, when testing in my labs, SharePoint web requests may fail. As a result, I find myself troubleshooting the issue, only to find the failure was…

1

Does SharePoint 2019 still need the SMTP Service?

Summary Now that SharePoint 2019 public preview has been released, the official deprecated / removed list has been published. After reading this you may have noticed that “Incoming email automatic mode” has been removed from the product.   Incoming email automatic mode As announced by the Windows Server team, Microsoft is deprecating the IIS 6…


Finally – SMTP Authentication included with SharePoint 2019

Summary On July 24, 2018 Microsoft has announced the availability of both SharePoint Server 2019 Preview and Project Server 2019 Preview. One of the features I’m excited about is SMTP Authentication directly from SharePoint. This means, there is no need to setup a standalone SMTP relay just for SharePoint to send outgoing e-mail when authentication is required….

3