This article is a port from Microsoft TechNet which Karen wrote November 27 2019. Microsoft TechNet is going away thus the reason for this article. Original code was written in 4.5 and 4.7 framework ...