tag:blogger.com,1999:blog-31792194241677050242024-03-18T02:19:15.996-07:00M365 and AZURE BlogO365 AZURE BLOGOz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.comBlogger652125tag:blogger.com,1999:blog-3179219424167705024.post-29433184852521779152021-03-24T18:44:00.006-07:002021-03-24T18:44:54.097-07:00 SET USERS AD HOME DIRECTORIES READ ONLY<p> </p><p style="-webkit-text-stroke-width: 0px; color: black; font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> SET USERS AD HOME DIRECTORIES READ ONLY</p><p class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: black; font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><o:p></o:p></p><p class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: black; font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Lets assume you are going to do a migration for users home drives to O365 One Drive for business. Par t of your migration you plan to lift user data to cloud then you need to configure users local network home directorates read only for some time. The idea is to make sure after data migration, users can no longer manipulate their local network home directories. Reason you want to frustrate them to move away using network drives and start using ODFB for day-to-day work load. The script I wrote is just going to do that. While user has read only access to their network drives, they can copy and paste anything they like to their desktop and once this is done they will have full NTFS access.<o:p></o:p></p><p class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: black; font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Use the script as you like and make sure it fits into your needs. You may need to adjust few lines and if you need help drop me a message, will be happy to assist.<o:p></o:p></p><p class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: black; font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><o:p> </o:p></p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="-webkit-text-stroke-width: 0px; border-collapse: collapse; border: none; font-family: "Times New Roman"; letter-spacing: normal; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-transform: none; widows: 2; word-spacing: 0px;"><tbody><tr><td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><# <o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.NOTES<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#------------------------------------------------------<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># Script : Set-ADUSER-ACL-READ-ONLY-ACCESS_V1.ps1<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># Created : ISE 3.0<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># Author(s) : (Casey.Dedeal)<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># Date : 03/24/2021 21:25:18<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># Org : CloudSec365<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># File Name : Set-ADUSER-ACL-READ-ONLY-ACCESS_V1.ps1<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># Comments : None<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"># Assumptions : None<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#------------------------------------------------------<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> <o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.SYNOPSIS : Set-ADUSER-ACL-READ-ONLY-ACCESS_V1.ps1<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.DESCRIPTION : Following script,<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.License : Open license<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.Limitations : None<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.Known issues : None<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.Credits : (Casey.Dedeal)<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.Blog : https://simplepowershell.blogspot.com<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.Blog : https://msazure365.blogspot.com<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.Blog : https://cloudsec365.blogspot.com<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.Twitter : https://twitter.com/Message_Talk<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> <o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.EXAMPLE<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> .\Set-ADUSER-ACL-READ-ONLY-ACCESS_V1.ps1<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.MAP:<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-----------<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> #(1)_.Adding log Vars<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> #(2)_.Adding Functions<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> #(3)_.Create Report Folder<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> #(4)-.Get User Name<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> #(5)_.Check AD user<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> #(6)_.Run ACL Change<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-----------<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> #></span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(1)_.Adding log Vars</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$repname</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'ACL-NTFS-RED-ONLY-REPORT'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">if</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">!</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$repname</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)){</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$repname</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'DEFAULT-ACL-REPORT'</span><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$ACLRep</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$RepServer</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'-ACL-REPORT'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$RepServer</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$env:COMPUTERNAME</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$logname</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Repname</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'-Log.TXT'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvname1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Repname</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'-Log.CSV'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvname2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Repname</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'-PROG.CSV'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvname3</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$ACLRep</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'-NTFS-Log.CSV'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$traname</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Repname</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'-Transcript.LOG'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$pname</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$rname</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'-PROCESS-LogFile.CSV'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$now</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">get-Date</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-format</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'dd-MMM-yyyy-HH-mm-ss-tt-'</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$user</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$env:USERNAME</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$desFol</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"C:\temp\Reports_\</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$repname</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">\"</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$logfile</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$desFol</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$now</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$logname</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvfile1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$desFol</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$now</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvname1</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvfile2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$desFol</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$now</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvname2</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvfile3</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$desFol</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$now</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvname3</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$scrfile</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$desFol</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$now</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$traname</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(2)_.Adding Functions</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">function</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Function-create-ReportFolder</span><span style="font-family: "Lucida Console"; font-size: 9pt;">{</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">CmdletBinding</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">param</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">parameter</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> Mandatory </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$true</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> ValueFromPipeline </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$true</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">string</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$ReportPath</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Try</span><span style="font-family: "Lucida Console"; font-size: 9pt;">{</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">if</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">!</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Test-Path</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Path</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$ReportPath</span><span style="font-family: "Lucida Console"; font-size: 9pt;">))</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">{</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">New-Item</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Type</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Directory</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Path</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$ReportPath</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ErrorAction</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Stop</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Out-Null</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">catch</span><span style="font-family: "Lucida Console"; font-size: 9pt;">{</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$errormessage</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> $(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$PSItem</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">ToString())</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Warning</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Error has occoured'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Problem FOUND:'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$errormessage</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Red</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-BackgroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Black</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">function</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">CmdletBinding</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">param</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Parameter</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">ValidateNotNullOrEmpty</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">string</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Count</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">string</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$User</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">string</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Message</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">String</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Progress</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">String</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$FailedUSER</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Parameter</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">ValidateNotNullOrEmpty</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">ValidateSet</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Information'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Warning'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Error'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Progress'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Completed'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Failed'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'FailedUSER'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'DoesNotExist'</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Progress'</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">string</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Information'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> )</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">pscustomobject</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt;">@{</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> Time </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Get-Date</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-f</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">g</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> Progress </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Progress</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> Count </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Count</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> User </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$User</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> Message </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Message</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> Severity </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> FailedUSER </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$FailedUSER</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> } </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Export-Csv</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Path</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$csvfile3</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Append</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-NoTypeInformation</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">function</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Set-ADUSER-ACL-READ-ONLY-ACCESS</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">param</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">parameter</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(Mandatory</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$true</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">ValidateNotNullOrEmpty</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">try</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(2)_.Add Access control vars</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Rights</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Read,ReadAndExecute,ListDirectory'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$InhSets</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Containerinherit,ObjectInherit'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$ProtSets</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'None'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$RuleType</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Allow'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.1)_.Start constructing/combining access control vars</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$domain</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$env:USERDNSDOMAIN</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">\"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$AddUser</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$domain</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">+</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userName</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$path</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$user</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">homeDirectory</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.2)_.Start constructing system messages</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(-)_.SCANNING:(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userName</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">)"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(a)_.Applying ACL-NTFS FULL Rights"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message3</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(b)_.Permissions modified:(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Rights</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">)"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message4</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(c)_.File Share:(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserDIRECTORY</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">)"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message5</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(e)_.VERIFYING ACL changes"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message6</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(f)_.ACL has been updated succesfully"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message7</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(f)_.ACL updates has failed"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$gmessage</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'(d)_.Completed'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.3)_.Start getting ADUser data here</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userInfo</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Get-ADUser</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Identity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Properties</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">*</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ErrorAction</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Stop</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> `</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Select</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">SamAccountName</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">mail</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">HomeDirectory</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">HomeDrive</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.4)_.Construct User HomeDirectory into new var</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserDIRECTORY</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userInfo</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">HomeDirectory</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$mess1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userName</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> Home Directory is NOT Configured"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">if</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> ( </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserDIRECTORY</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-like</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$null</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> ){</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$mess1</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$mess1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Warning</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.5)_.Capture existing NTFS rights</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$acl</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Get-Acl</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserDIRECTORY</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ErrorAction</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Stop</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$perm</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$AddUser</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Rights</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$InhSets</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$ProtSets</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$RuleType</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$rule</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">New-Object</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-TypeName</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">System.Security.AccessControl.FileSystemAccessRule</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ArgumentList</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$perm</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$acl</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">SetAccessRule(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$rule</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.6)_.Construct system messages</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'----------------------------------------------------------------'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">white</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Start Time:'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-NoNewline</span><span style="font-family: "Lucida Console"; font-size: 9pt;">;</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Function-Get-TimeStamp</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$i</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">)_.Processing:</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">DarkYellow</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'ACL Permissions Summary:User home directory will be SET READ ONLY ACCESS'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t(1)_.User Name :</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$addUser</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t(2)_.Permissions :</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Rights</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t(3)_.HomeDirectory :</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserDIRECTORY</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.8)_.Perform ACL change and write to logs</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Cyan</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message2</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message3</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message4</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Information</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Information</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message3</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Information</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message4</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Information</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.9)_.Setting ACL now</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$acl</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Set-Acl</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Path</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserDIRECTORY</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-verbose</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ErrorAction</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Stop</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$gmessage</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$gmessage</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Information</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Completed</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.10)_.Start collecting changed ACL, perform verification</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message5</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message5</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Information</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$acl</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Get-Acl</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserDIRECTORY</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ErrorAction</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Stop</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$rules</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$acl</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">Access </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">?</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">IsInherited</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-eq</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$false</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$check</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$rules</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">IdentityReference)</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">Value</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.11)_.VERIFY the ACL changes now; errors will be captured PSitem object if they accour , write results to log</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">if</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$check</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-contains</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$AddUser</span><span style="font-family: "Lucida Console"; font-size: 9pt;">){</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.12)_.Provide Verify work status/Success</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message6</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'END Time:'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-NoNewline</span><span style="font-family: "Lucida Console"; font-size: 9pt;">; </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Function-Get-TimeStamp</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message6</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Information</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">else</span><span style="font-family: "Lucida Console"; font-size: 9pt;">{</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(13.13)_.Failed to complete ACl update,write results/log</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"`t</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message7</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">DarkYellow</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'END Time:'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-NoNewline</span><span style="font-family: "Lucida Console"; font-size: 9pt;">; </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Function-Get-TimeStamp</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$message7</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Error</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">catch</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> { </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Error1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> $(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$PSItem</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">ToString())</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Error2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> $(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$PSItem</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">Exception</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">Message)</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Warning</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'ERROR has occoured'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'PROBLEM FOUND'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Error1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">red</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-BackgroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Black</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Error1</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Error</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-Log2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Message</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Error2</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-Severity</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Error</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">function</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Function-Check-AD-User</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">CmdletBinding</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Param</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Parameter</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(ValueFromPipeline</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$true</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">String</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> )</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$User</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> $(</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">try</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Get-ADUser</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="font-family: "Lucida Console"; font-size: 9pt;">} </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">catch</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$null</span><span style="font-family: "Lucida Console"; font-size: 9pt;">})</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">If</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$User</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ne</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$Null</span><span style="font-family: "Lucida Console"; font-size: 9pt;">){</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"Located USER:</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Green</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">} </span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Else</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"NOT FOUND USER:</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$UserName</span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">"</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Cyan</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Script will STOP'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">break</span><span style="font-family: "Lucida Console"; font-size: 9pt;">;</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(3)_.Create Report Folder</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">function-create-ReportFolder</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-ReportPath</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$desFol</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(4)-.Get User Name</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userName</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Read-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">'Provide User Name'</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(5)_.Check AD user</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Function-Check-AD-User</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-UserName</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userName</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">#(6)_.Run ACL Change</span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">Set-ADUSER-ACL-READ-ONLY-ACCESS</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">-UserName</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";">$userName</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><o:p> </o:p></p></td></tr></tbody></table><p class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: black; font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><o:p> </o:p></p><p class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: black; font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><o:p><span face=""Calibri Light", sans-serif" style="background: white; color: #333333; font-size: 10pt; line-height: 14.2667px;">Azure Solutions Architect<br />AWS Certified Cloud Practitioner<br />Azure Certified Security Engineer Associate<br /></span><u style="background-color: white; color: #333333; font-family: "Allerta Stencil"; font-size: 14.85px;"><a href="https://simplepowershell.blogspot.com/" style="color: #992211; text-decoration-line: none;"><span style="color: #771100; text-decoration-line: none;">https://simplepowershell.blogspot.com<br /></span></a><a href="https://cloudsec365.blogspot.com/" style="color: #992211; text-decoration-line: none;"><span style="color: #771100; text-decoration-line: none;">https://cloudsec365.blogspot.com<br /></span></a><a href="https://msazure365.blogspot.com/" style="color: #992211; text-decoration-line: none;"><span style="color: #771100; text-decoration-line: none;">https://msazure365.blogspot.com<br /></span></a><span style="color: #992211; text-decoration-line: none;"><a href="https://twitter.com/Message_Talk" style="color: #992211; text-decoration-line: none;">https://twitter.com/Message_Talk</a></span></u></o:p></p><br class="Apple-interchange-newline" /><br />Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com58tag:blogger.com,1999:blog-3179219424167705024.post-50135230314799009492021-03-07T05:58:00.003-08:002021-03-07T05:58:52.109-08:00Simplifying getting a summary for your scripts <p> </p><p>Simplifying getting a summary for your scripts. I will assume you are writing script often and you want to be more organized with your scripts. When writing script it is always a good idea to make sure you have enough information about your code. Following example will demonstrate same end goal. in the example given below, when writing script within the scripts following notation is used.</p><p>#(1)_.Adding Vars</p><p>#(2)_.Check folder existence</p><p>#(3)_.Entering loop </p><p>#(4)_.Setting counter </p><p>after making sure script is built correctly , you can run below function to grab all lines includes pattern defined "#" and use can use it within the script to present summary information.</p><p> </p><p><br /></p><p class="MsoNormal"><o:p> </o:p></p><p>
</p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><br /></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><# <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.NOTES<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">#------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Script :
Untitled18.ps1<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Created : ISE
3.0 <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Author(s) :
(Casey.Dedeal) <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Date :
03/07/2021 08:56:40 <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Org :
CloudSec365<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># File Name :
Untitled18.ps1<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Comments : None<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Assumptions : None<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">#------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.SYNOPSIS :
Untitled18.ps1<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.DESCRIPTION :
Following script,<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.License : Open
license<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.Limitations : None<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.Known issues : None<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.Credits :
(Casey.Dedeal)<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.Blog :
https://simplepowershell.blogspot.com<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.Blog :
https://msazure365.blogspot.com<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.Blog :
https://cloudsec365.blogspot.com<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.Twitter :
https://twitter.com/Message_Talk<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.EXAMPLE<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> .\Get-Sample.ps1<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt;">MAP:</span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-----------<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p>#(1)_.Adding Vars</p><p>#(2)_.Check folder existence</p><p>#(3)_.Entering loop </p><p>#(4)_.Setting counter </p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-----------<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> #></span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><o:p> </o:p></p>
</td>
</tr>
</tbody></table><p><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><br /></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">function</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Function-Print-MAP</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">cmdletbinding</span><span style="font-family: "Lucida Console"; font-size: 9pt;">()</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">param</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: deepskyblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">parameter</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
Mandatory </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$true</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
ValueFromPipeline </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$true</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">[</span><span style="color: teal; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">string</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">]</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$Filepath</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">,</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$pipelineInput</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">)</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Begin</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
}</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Process</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Try</span><span style="font-family: "Lucida Console"; font-size: 9pt;">{</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">#(1)_.Check to make
sure filepath exist</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">If</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> (</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">!</span><span style="font-family: "Lucida Console"; font-size: 9pt;">(</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Test-Path</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$Filepath</span><span style="font-family: "Lucida Console"; font-size: 9pt;">)){</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">'CANNOT locate file'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">White</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-BackgroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Red</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Write-Host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">'Script will stop'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Yellow</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">break</span><span style="font-family: "Lucida Console"; font-size: 9pt;">;</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
}</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9pt;">#(2)_.Catch pattern</span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$pattern</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">"#"</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$report</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">get-content</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$filePath</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-ReadCount</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: purple; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">1000</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">foreach</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> { </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$_</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-match</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$pattern</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$report</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Foreach</span><span style="font-family: "Lucida Console"; font-size: 9pt;">
{</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$_</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">TrimEnd()}</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$report</span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt;">$report</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9pt;">|</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blue; font-family: "Lucida Console"; font-size: 9pt;">Out-GridView</span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
}</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Catch</span><span style="font-family: "Lucida Console"; font-size: 9pt;">{</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$errofile</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> $(</span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$PSItem</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9pt;">ToString())</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Write-Warning</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">'Error has occoured'</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">'Problem FOUND'</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$errofile</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-ForegroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">red</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-BackgroundColor</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: blueviolet; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Black</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> }</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
</span><span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">End</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> {</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">
}</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;">}</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> </span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$filepath</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: darkred; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">"C:\TEMP\KFM-SET-Health-CHECK-V1.ps1"</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Function-Print-MAP</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: navy; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">-Filepath</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$filepath</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Lucida Console"; font-size: 9pt;"> </span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><o:p> </o:p></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal" style="background-color: white; font-family: "Courier New", Courier, FreeMono, monospace; font-size: 14.85px;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #333333; font-family: "Segoe UI", sans-serif; font-size: 9pt; line-height: 12.84px;">Azure Solutions Architect<br />AWS Certified Cloud Practitioner<br />Azure Certified Security Engineer Associate<br /><u><a href="https://simplepowershell.blogspot.com/" style="color: black; text-decoration-line: none;"></a></u></span><u><a href="https://simplepowershell.blogspot.com/" style="color: black; text-decoration-line: none;"><span style="color: #771100; text-decoration-line: none;">https://simplepowershell.blogspot.com<br /></span></a><a href="https://cloudsec365.blogspot.com/" style="color: black; text-decoration-line: none;"><span style="color: #771100; text-decoration-line: none;">https://cloudsec365.blogspot.com<br /></span></a><a href="https://msazure365.blogspot.com/" style="color: black; text-decoration-line: none;"><span style="color: #771100; text-decoration-line: none;">https://msazure365.blogspot.com<br /></span></a><a href="https://twitter.com/Message_Talk" style="color: black; text-decoration-line: none;"><span style="color: #771100; text-decoration-line: none;">https://twitter.com/Message_Talk</span></a><o:p></o:p></u></p><p class="MsoNormal" style="background-color: white; font-family: "Courier New", Courier, FreeMono, monospace; font-size: 14.85px;"><u><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #333333; font-family: "Segoe UI", sans-serif; font-size: 9pt; line-height: 12.84px;"><o:p> </o:p></span></u></p><p><br /></p>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com11tag:blogger.com,1999:blog-3179219424167705024.post-69295178005476951612021-02-20T17:07:00.004-08:002021-02-20T17:07:32.072-08:00KFM ( Known Folder Move) what you need to know when it fails.<p> </p><p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;">KFM ( Known Folder Move) what you need to know when it
fails.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span><span style="font-family: "Segoe UI", sans-serif; font-size: 9pt;">If you have deployed KFM (Known Folder Move) in your
environment and user GPO to force it down to user computer , you did enabled at
the least below reg keys via your GPO, or add them manually via SCCM or PS
script.</span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span><span style="font-family: "Segoe UI", sans-serif; font-size: 9pt;">KFM , required and recommended GPO settings</span></p>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; width: 540px;">
<tbody><tr style="height: 14.65pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="border: solid windowtext 1.0pt; height: 14.65pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Hive<o:p></o:p></span></p>
</td>
<td style="border-left: none; border: solid windowtext 1.0pt; height: 14.65pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">HKEY_LOCAL_MACHINE<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.5pt; mso-yfti-irow: 1;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 13.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Path<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">SOFTWARE\Policies\Microsoft\OneDrive<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 2;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Value Name<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KFMBlockOptIn<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 3;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Value Type<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">REG_DWORD<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 2.2pt; mso-yfti-irow: 4;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 2.2pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Enabled Value<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 2.2pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">1<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 5;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Disabled Value<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">0<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 6;">
<td nowrap="" style="height: 14.25pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="bottom" width="197"></td>
<td nowrap="" style="height: 14.25pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="bottom" width="342"></td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 7;">
<td style="height: 14.25pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KFMSilentOptIn<o:p></o:p></span></p>
</td>
<td nowrap="" style="height: 14.25pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="bottom" width="342"></td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 8;">
<td style="border: solid windowtext 1.0pt; height: 14.25pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Tenant ID:<o:p></o:p></span></p>
</td>
<td style="border-left: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 9;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Hive<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">HKEY_LOCAL_MACHINE<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 10;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Path<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">SOFTWARE\Policies\Microsoft\OneDrive<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 11;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Value Name<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KFMSilentOptIn<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 12;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Value Type<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">REG_SZ<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 13;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Default Value<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 14;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 26.25pt; mso-yfti-irow: 15;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 26.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KFMSilentOptInWithNotification<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 26.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 39.4pt; mso-yfti-irow: 16;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 39.4pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Show notification to users after folders<br />
have been redirected:<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 39.4pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Enabled<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 17;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Value<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">HKEY_LOCAL_MACHINE<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 18;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Path<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">SOFTWARE\Policies\Microsoft\OneDrive<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 19;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Value Name<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KFMSilentOptInWithNotification<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 20;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Value Type<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">REG_DWORD<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 21; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: solid windowtext 1.0pt; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 148.0pt;" valign="top" width="197">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Value<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 14.25pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 256.75pt;" valign="top" width="342">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">0<o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;">If you found out KFM did not worked one of the most
common reason is, existing folder redirection, and OneDrive will add several
keys in the registry to prevent KFM run next time, since it has already been
failed. You need to fix existing folder redirection issue, whatever is causing
it. Then clean up following registry keys to be ready to try again<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-table-layout-alt: fixed; mso-yfti-tbllook: 1184; width: 546px;">
<tbody><tr style="height: 13.0pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td nowrap="" style="background: #D0CECE; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">STEPS<o:p></o:p></span></b></p>
</td>
<td nowrap="" style="background: #D0CECE; border-left: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Key Location<o:p></o:p></span></b></p>
</td>
<td nowrap="" style="background: #D0CECE; border-left: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Registry Keys<o:p></o:p></span></b></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 1;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">STEP#1<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Close OneDrive make sure it is not running<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250"></td>
</tr>
<tr style="height: 35.95pt; mso-yfti-irow: 2;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 35.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">STEP#2<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 35.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Check existing group policy<br />
redirection -fdeploy key<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 35.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">HKLM\Software\Microsoft\WindowsNT\CurrentVersion\ProfileList\<br />
(yoursid)\fdeploy <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 3;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">PathEffective<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 4;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 23.95pt; mso-yfti-irow: 5;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">STEP#3<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Reset the state of KFM deployment, remove all
KFM keys in the following registry location<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">HKCU\SOFTWARE\Microsoft\OneDrive\Accounts\Business1<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 6;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Some examples are<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 7;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Delete Keys:<o:p></o:p></span></b></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 8;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KfmAcmAdminMessageState<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 9;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KfmHasForceShownWindow<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 10;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KfmIsDoneSilentOptIn<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 11;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KfmSilentAttemptedFolders<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 12;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 13;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">STEP#4<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 14;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Additionally you need to remove following key<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">HKCU\SOFTWARE\Microsoft\OneDrive\<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 15;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Delete Key<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">KfmFolderNotSyncingMessageHandled<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 23.95pt; mso-yfti-irow: 16;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">STEP#5<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Close OneDrive and try. and make sure all keys
for the deployment does exist<o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 17;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 18;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 19;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">STEP#5<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">GPO Basic KFM reg keys<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"># KFMBlockOptIn<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 20;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">these keys later on)<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"># KFMSilentOptIn<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 23.95pt; mso-yfti-irow: 21;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">$registryPath =
"HKLM:\SOFTWARE\Policies\Microsoft\OneDrive"<o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 23.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"># KFMSilentOptInWithNotification<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 22;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td style="background: white; border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"># KFMOptInWithWizard ( recommended by MS )<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 13.0pt; mso-yfti-irow: 23; mso-yfti-lastrow: yes;">
<td nowrap="" style="background: white; border-top: none; border: solid windowtext 1.0pt; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 37.05pt;" width="49">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.95pt;" valign="bottom" width="247">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
<td nowrap="" style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 13.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 187.25pt;" valign="bottom" width="250">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="background: white; color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;">Azure Solutions Architect<br />
AWS Certified Cloud Practitioner<br />
Azure Certified Security Engineer Associate<br />
<u style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-align: start; widows: 2; word-spacing: 0px;"><a href="https://simplepowershell.blogspot.com/"></a></u></span><u style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-align: start; widows: 2; word-spacing: 0px;"><a href="https://simplepowershell.blogspot.com/"><span style="color: #771100; text-decoration: none; text-underline: none;">https://simplepowershell.blogspot.com<br />
</span></a><a href="https://cloudsec365.blogspot.com/"><span style="color: #771100; text-decoration: none; text-underline: none;">https://cloudsec365.blogspot.com<br />
</span></a><a href="https://msazure365.blogspot.com/"><span style="color: #771100; text-decoration: none; text-underline: none;">https://msazure365.blogspot.com<br />
</span></a><a href="https://twitter.com/Message_Talk"><span style="color: #771100; text-decoration: none; text-underline: none;">https://twitter.com/Message_Talk</span></a><o:p></o:p></u></p>
<p class="MsoNormal"><u><span style="background: white; color: #333333; font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;"><o:p> </o:p></span></p>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com2tag:blogger.com,1999:blog-3179219424167705024.post-81481657253376569342019-01-08T04:47:00.003-08:002019-01-08T05:06:41.866-08:00How to Renew Expires Office Web Apps Server SSL Certificate
<div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
<br /></div>
<div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
<br /></div>
<div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
<span style="font-family: "times new roman"; font-size: small;">
</span></div>
<div style="margin: 0in 0in 8pt;">
If you want trouble, then let Lync certificates expire and
struggle to figure out how to bring the service up and running. Office WebApp
servers will provide, PowerPoint presentation capabilities to Skype clients and
you will quickly notice the existed function is no longer working due to not
having valid certificate and Office Web Apps service won’t come up.</div>
<div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
<span style="font-family: "times new roman"; font-size: small;">
</span></div>
<div style="margin: 0in 0in 8pt;">
<b style="mso-bidi-font-weight: normal;">Issue: </b><br />
<div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
<b style="mso-bidi-font-weight: normal;"><br /></b></div>
<b style="mso-bidi-font-weight: normal;">Office Web Apps Service is not starting (Service name:
WACSM) Lync PowerShell commands won’t run due to same issues, and will fail
with following warnings. “-<b style="mso-bidi-font-weight: normal;">OfficeWebAppsFarm:
It does not appear that this machine is part of an Office Web Apps Server farm.
“Assuming you did not change any other setting, your server is part of existing
Web Apps Server, the PS command won’t run due to </b>WACSM service issues
listed earlier.</b><br />
<div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
<span style="font-family: "times new roman"; font-size: small;">
</span></div>
<div style="margin: 0in 0in 8pt;">
<b style="mso-bidi-font-weight: normal;">Fixing the issue:</b></div>
<div style="color: black; font-family: "calibri" , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin: 0in 0in 0pt;">
<span style="font-family: "times new roman"; font-size: small;">
</span><br />
<ol style="direction: ltr; list-style-type: decimal;">
<li style="color: black; font-style: normal; font-weight: normal;"><div style="color: black; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Copy new certificate to first Web Apps Server
C:\temp drive</div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Log onto first Web Apps Server via RDP </div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Open MMC console and add certificates snap-in,
on the certificates Local computer | Personal | Certificates, delete expired
certificate and import new one.</div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Take a note of certificate name (Issued to)</div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Close MMC.</div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Open following directory (\ProgramData\Microsoft\OfficeWebApps\Data\FarmState\settings.xml)
</div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Open Setting.xm file with notepad</div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Locate following line and make sure Certificate
name matches the imported certificate name.</div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
“<settingname atatype="System.String" ertificatename="">Server1.SecuredNinja.com</settingname></div>
</li>
</ol>
</div>
</div>
<span style="font-family: "times new roman"; font-size: small;">
<span style="font-size: 10pt;"><span style="font-family: "calibri";">(<span style="font-family: "calibri" , sans-serif; font-size: 10pt; line-height: 107%;"><strong>SettingName="CertificateName"DataType="System.String">Server1.SecuredNinja.com")</strong></span></span></span></span><br />
<br />
<br />
<br />
<br />
<br />
<br />
<ol style="direction: ltr; list-style-type: decimal;">
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Close XML file </div>
</li>
<li style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal;"><div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 8pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
Restart Office Web Apps Service (Service name:
WACSM)</div>
</li>
</ol>
<span style="font-family: "times new roman"; font-size: small;">
</span><br />
<br />
<br />
<br />
<div style="color: black; font-family: "Calibri",sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-top: 0in; mso-list: l0 level1 lfo1;">
<span style="font-family: "times new roman"; font-size: small;">
<span style="font-family: "calibri";"><br /></span></span></div>
<br />
<br />
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "arial" , sans-serif; font-size: 10pt;">Casey,
Dedeal</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "arial" , sans-serif; font-size: 10pt;">Principal
Systems Engineer</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "arial" , sans-serif; font-size: 10pt;"><a href="https://simplepowershell.blogspot.com/"><span style="color: #0563c1;">https://simplepowershell.blogspot.com/</span></a>
(blog)</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "arial" , sans-serif; font-size: 10pt;"><a href="https://smtp25.blogspot.com/"><span style="color: #0563c1;">https://smtp25.blogspot.com/</span></a>
(blog)</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "arial" , sans-serif; font-size: 10pt;"><a href="https://telnet25.wordpress.com/"><span style="color: #0563c1;">https://telnet25.wordpress.com/</span></a>
(blog)</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "arial" , sans-serif; font-size: 10pt;"><a href="https://twitter.com/Message_Talk"><span style="color: #0563c1;">https://twitter.com/Message_Talk</span></a> (Twitter)
</span></div>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com23tag:blogger.com,1999:blog-3179219424167705024.post-10678105524480697222018-12-26T08:37:00.002-08:002018-12-26T08:37:44.274-08:00Lync Front Service hangs on "starting" status on Lync 2013 Servers.<br /><br />
The common cause of Lync FE servers service to hang is related to non self-assigned certificates found on the Trusted Root Certificate store. Lync servers does use HTTP/s to communicate each other and the issue mentioned will break this behavior. Until such certs removed, FE service wont come back to its health state. <br />
<br /><br />
<strong>Step # 1</strong><br />
Identify the certs causing this issue, run below PS from problem Lync FE Server.<br />
<br /><br />
<br /><br />
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-image: none; border: currentColor; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="background-color: transparent; border-image: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: Calibri;"> </span></div>
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: Calibri;"></span><span style="font-family: Calibri;"> <span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><# </span></span></span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="font-family: Calibri;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
.NOTES <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
#=============================================<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# Script : Non_Self_Assigned_Certs-Scan.ps1 <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# Created : ISE 3.0 <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# Author(s) : casey.dedeal <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# Date : 12/26/2018 <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# Org : ETC Solutions <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# File Name : <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# Comments :<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
# Assumptions : <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
#==============================================<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
SYNOPSIS :<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
DESCRIPTION :<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
Acknowledgements : Open license <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
Limitations : None<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
Known issues : None <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
Credits : None <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
.EXAMPLE<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
.\Non_Self_Assigned_Certs-Scan.ps1 <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
MAP:<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
-----------<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
(1)_.Adding Vars<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
(2)_.Check Log Folder create one if ! exist<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
(3)_.Scan Local Machine Trusted Root Certs Store<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
(4)_.Open File <br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
Cleanup all Certs listed on the log file.<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
Certs could be pushed via GPO, if that is the case<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
You will have find the GPO and make sure, problems<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
Cers have been removed from Policy.<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;">#></span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;">#(1)_.Adding Vars<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"></span></span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$Fname</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">=</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;">"None-Self-Certs-Report.txt"</span></span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;">
</span></span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"></span></span></span></div>
<span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$TargetFolder</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">=</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;">"C:\temp\Logs\"</span></span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;">
</span></span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"></span></span></span></div>
<span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$file</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">=</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$TargetFolder</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">+</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$Fname</span></span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">
</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">
</span></span></div>
<span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
#(2)_.Check Log Folder create one if ! exist<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><span style="color: darkblue; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkblue; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkblue; font-family: Lucida Console; font-size: xx-small;"></span></span></span><span style="color: darkblue; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkblue; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkblue; font-family: Lucida Console; font-size: xx-small;">if</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">(</span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">!</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">(</span></span><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;">Test-Path</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;">-Path</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$TargetFolder</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">))</span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
{<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;">write-host</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkred; font-family: Lucida Console; font-size: xx-small;">"()_Creating Target Folder"</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;">-f</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;">Yellow</span></span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;">
</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"></span></span></div>
<span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;">New-Item</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;">-ItemType</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;">directory</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;">-Path</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$TargetFolder</span></span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">
</span></span></span></div>
<span style="font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<span style="font-family: Lucida Console; font-size: xx-small;"><div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
}<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgreen; font-family: Lucida Console; font-size: xx-small;">#(3)_.Scan Local Machone Trusted Root Certs Store<br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
</div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
</span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"></span></span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$Report</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">=</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;">Get-Childitem</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;">cert:\LocalMachine\root</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;"><span style="color: navy; font-family: Lucida Console; font-size: xx-small;">-Recurse</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">|</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">`</span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">
</span></span><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"></span></span></span></div>
<span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;">?</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">{</span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$_</span></span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">.</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">Issuer </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">-ne</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$_</span></span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">.</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">Subject} </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">|</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;">fl</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;"><span style="color: blueviolet; font-family: Lucida Console; font-size: xx-small;">*</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;">
</span></span><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"></span></span></span></div>
<span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;"><span style="color: orangered; font-family: Lucida Console; font-size: xx-small;">$Report</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;"><span style="color: darkgrey; font-family: Lucida Console; font-size: xx-small;">|</span></span></span><span style="font-family: Lucida Console; font-size: xx-small;"><span style="font-family: Lucida Console; font-size: xx-small;"> </span></span><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;"><span style="color: blue; font-family: Lucida Console; font-size: xx-small;">Out-File </span></span></span></span><br />
<div style="line-height: normal; margin: 0in 0in 0pt;">
<br /></div>
<div style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: Calibri;"> </span></div>
</div>
</td>
</tr>
</tbody></table>
<br /><br />
<strong>Step # 2</strong> <br />
Delete the problem certificates from Trusted root store, it is easy to identify these certificates as <br />
"Issued From" and "Issues To" <strong>wont match. </strong>Check to make sure these certs are not getting pushed via GPO if so, you will need to make sure such GPO is cleared out.<br />
<br /><br />
<strong>Step # 3</strong> <br />
Reboot FE server and make sure FE service comes up. Check event logs to make sure related event logs are cleared.<br />
<br /><br />
<a href="https://support.microsoft.com/en-us/help/2795828/lync-server-2013-front-end-service-cannot-start-in-windows-server-2012" target="_blank">Related KB</a> <br />
<br /><br />
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "Arial",sans-serif; font-size: 10pt; mso-ansi-language: EN;">Casey, Dedeal</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "Arial",sans-serif; font-size: 10pt; mso-ansi-language: EN;">Principal Systems
Engineer</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "Arial",sans-serif; font-size: 10pt; mso-ansi-language: EN;"><a href="https://simplepowershell.blogspot.com/"><span style="color: #0563c1;">https://simplepowershell.blogspot.com/</span></a>
(blog)</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "Arial",sans-serif; font-size: 10pt; mso-ansi-language: EN;"><a href="https://smtp25.blogspot.com/"><span style="color: #0563c1;">https://smtp25.blogspot.com/</span></a> (blog)</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "Arial",sans-serif; font-size: 10pt; mso-ansi-language: EN;"><a href="https://telnet25.wordpress.com/"><span style="color: #0563c1;">https://telnet25.wordpress.com/</span></a>
(blog)</span></div>
<div style="background: white;">
<span lang="EN" style="color: #3e3e3e; font-family: "Arial",sans-serif; font-size: 10pt; mso-ansi-language: EN;"><a href="https://twitter.com/Message_Talk"><span style="color: #0563c1;">https://twitter.com/Message_Talk</span></a>
(Twitter) </span></div>
<br /><br />
<br /><br />
<br />Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com10tag:blogger.com,1999:blog-3179219424167705024.post-66602538174084140432018-07-17T06:26:00.001-07:002018-07-17T06:26:15.909-07:00Exchange Transport Service stops after installing July 2018 Updates<p><br><p>After installing Windows security updates KB4338823 and KB4338818, Transport service on Exchange 2010 Sp3 servers will stop processing mail. When this article is written MS has confirm this as an issue (bug) and confirmed the patch is on its way. Both updates seem to be causing issues with TCP/IP stack which then affects Exchange application, transport issues.<p>As of now you should uninstall both updates and wait for MS to come up with another KB which KB4338823 and KB4338818 broke at the first time.<p><br><p>Oz Casey, Dedeal<p>Principal Systems Engineer<p><a href="https://simplepowershell.blogspot.com/">https://simplepowershell.blogspot.com/</a> (blog)<p><a href="https://smtp25.blogspot.com/">https://smtp25.blogspot.com/</a> (blog)<p><a href="https://telnet25.wordpress.com/">https://telnet25.wordpress.com/</a> (blog)<p><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com29tag:blogger.com,1999:blog-3179219424167705024.post-21514898941726164802018-06-08T05:38:00.001-07:002018-06-08T05:38:45.281-07:00Windows 2012 R2. The File Replication Service has Stopped after taking an assertion failure.<p>On the Domain controller event logs 13505 13555, 13506 present as shown below. NTFRS service could be in stopped state and re-starting NTFRS service will cause it to fail.<p>The issue most likely caused by corruption on the FRS Jet database or its Jet database log file<p><a href="https://lh3.googleusercontent.com/-h9CL-UADAmc/Wxp4zPy29zI/AAAAAAAAcek/Op2lj_z7IY8TkKEObyJYYdFPThSYxdHowCHMYCw/s1600-h/clip_image002%255B3%255D"><img width="244" height="112" title="clip_image002" style="display: inline; background-image: none;" alt="clip_image002" src="https://lh3.googleusercontent.com/-8inYvw1swvA/Wxp4zgsCGJI/AAAAAAAAceo/CC_1TzO6fkM_AyXnIz_CBKZwN_kx1mwfgCHMYCw/clip_image002_thumb?imgmax=800" border="0"></a><p><b>Cause:</b> Corruption within NTFRS database or with logs.<p><b>Solution</b>: Make sure NTFRS service is stopped.<p>1. Navigate to NTFRS folder directory<p>2. Rename folder to <b>OLD-NTFRS</b><p>3. Re-start NTFRS Service<p>4. Observe the service and event logs<p><a href="https://lh3.googleusercontent.com/-khFhL_g8b_g/Wxp40Ua_wAI/AAAAAAAAces/nWRCDZ23I-4WCG1Pc6eo-nfHfg6GQtnewCHMYCw/s1600-h/clip_image004%255B3%255D"><img width="244" height="168" title="clip_image004" style="display: inline; background-image: none;" alt="clip_image004" src="https://lh3.googleusercontent.com/-nb049prndbU/Wxp40_bRPFI/AAAAAAAAcew/cYbrQol-JWAtY0b5fjDo8fcn2nkXqANswCHMYCw/clip_image004_thumb?imgmax=800" border="0"></a><p>Oz Casey, Dedeal<p>Principal Systems Engineer<p><a href="https://simplepowershell.blogspot.com/">https://simplepowershell.blogspot.com/</a> (blog)<p><a href="https://smtp25.blogspot.com/">https://smtp25.blogspot.com/</a> (blog)<p><a href="https://telnet25.wordpress.com/">https://telnet25.wordpress.com/</a> (blog)<p><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com8tag:blogger.com,1999:blog-3179219424167705024.post-80951874633433850612018-05-01T04:52:00.001-07:002018-05-01T04:52:09.144-07:00Installing newest CU and dealing with .NET upgrade<p>Microsoft has dropped out Service pack model and start using cumulative updates (CU) while back.<p>You can read more about it on this <a href="https://technet.microsoft.com/en-us/library/jj907309(v=exchg.160).aspx">article.</a> If you are not on the latest CU , most of the last living on premises clients will not be wanting to implement latest CU on their on prem Exchange Servers, due to it is buggy reputation. Remember how many times newest CU broke Exchange more than it claimed to fix. You need to make sure .NET frame work is supported by the version of Exchange + CU version you have. Very recently, I have encounter interesting finding, what MS is recommending. Here is an example, you are running E2016 on prem with CU7 and wanting to go to CU8, and the latest CU version is CU9. MS did recommend CU8 has caused so many issues therefore CU9 is more applicable. At the time this article is written, there are no known major issues with CU9. <p>This year July the 1th upcoming CUs will require .NET 4.7.1, so you would think your upgrade logic will tell you install CU9 then upgrade .NET to 4.7.1. Since .NET 4.7.1 is not supported by CU7 installing it first would cause issues? I thought so as well. The recommended update path for those who are on E2016 & CU7 is Install .NET 4.7.1 first, reboot, then install CU9 (assuming you wanted to skip the buggy CU8) <p>I found this interesting and worth for mentioning about it. You can read similar verbiage on the .NET section of this article if you need MS backing.</p>
<p><a href="https://lh3.googleusercontent.com/-DYTJxVhJKzM/WuhU5Bu_HqI/AAAAAAAAcak/SngQRKP2LowDF7GyPMj8aOU-glRe76s6ACHMYCw/s1600-h/image%255B5%255D"><img width="244" height="99" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-H5qAXZFBOts/WuhU50r-peI/AAAAAAAAcao/pKF6iKzHdN4zYGb6bVFqoGffSLxhakLeACHMYCw/image_thumb%255B1%255D?imgmax=800" border="0"></a></p>
<p><a title="https://technet.microsoft.com/en-us/library/ff728623(v=exchg.150).aspx" href="https://technet.microsoft.com/en-us/library/ff728623(v=exchg.150).aspx">https://technet.microsoft.com/en-us/library/ff728623(v=exchg.150).aspx</a></p>
<p>Oz Casey, Dedeal</p><p>Principal Systems Engineer</p><p><a href="https://simplepowershell.blogspot.com/">https://simplepowershell.blogspot.com/</a> (blog)</p><p><a href="https://smtp25.blogspot.com/">https://smtp25.blogspot.com/</a> (blog)</p><p><a href="https://telnet25.wordpress.com/">https://telnet25.wordpress.com/</a> (blog)</p><p><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)</p>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com14tag:blogger.com,1999:blog-3179219424167705024.post-29185220938483647942018-04-01T16:29:00.000-07:002018-04-01T16:30:24.090-07:00Enable Circular logging Lync Fabric logs<p><br><p><font face="Segoe UI" size="2">In this article we will talk about Lync Fabric logs and now to enable circular logging to keep your drive going out of space madness. If you are reading this article, most likely you ran into similar issues. </font><p><font face="Segoe UI" size="2">To enable circular logging, you will need to use following steps</font><p><font face="Segoe UI" size="2">1. log onto Lync FE server via Remote Desktop Protocol (RDP) </font><p><font face="Segoe UI" size="2">2. Make a right click on Windows PowerShell and select | Run as Administrator | press enter</font><p><font face="Segoe UI" size="2">3. Accept UAC warning by clicking yes</font><p><font face="Segoe UI" size="2">4. On the elevated PowerShell command prompt type following | and press enter</font></p><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="426" valign="top"><p><font face="Segoe UI" size="2">cd 'C:\ProgramData\Windows Fabric\Fabric\log\Traces' </font></p></td></tr></tbody></table><p><a href="https://lh3.googleusercontent.com/-CvZIhEIXdk8/WsFrd_rBOTI/AAAAAAAAcYE/iOXKR9zJIeEl1lcUaTMKXxYN0I_UWAPtQCHMYCw/s1600-h/image%255B2%255D"><font face="Segoe UI" size="2"><img width="244" height="113" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-HE5wzjFJ4QA/WsFrerOFj1I/AAAAAAAAcYI/h6NZSj3ogJY9im4gMvt1LBg1eNcLbQbMQCHMYCw/image_thumb?imgmax=800" border="0"></font></a><p><font face="Segoe UI" size="2"> Type following command and press | enter</font><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="426" valign="top"><p><font face="Segoe UI" size="2">Logman update trace FabricLeaseLayerTraces -f bincirc --cnf</font></p></td></tr></tbody></table><p><font face="Segoe UI" size="2">6. From PowerShell type | Perfmon | press enter | navigate to following section within the Performance Monitor MMC.</font><p><font face="Segoe UI" size="2">7. Expand Data Collector Sets | Expand User Defined | Select Fabric Traces |</font><p><font face="Segoe UI" size="2">8. Make a right click on |Fabric Logs| and select | Stop|</font><p><a href="https://lh3.googleusercontent.com/-mmImEAMuwMA/WsFrfExAskI/AAAAAAAAcYM/DKjxutSvrLMJhihOgblpP8Zh7Qt4QlRegCHMYCw/s1600-h/image%255B5%255D"><font face="Segoe UI" size="2"><img width="221" height="244" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-bLbpOM5EBV4/WsFrfrOT9kI/AAAAAAAAcYQ/EbPyeb_8RZ0oGIExH-fdMPUH2QkJWlRAwCHMYCw/image_thumb%255B1%255D?imgmax=800" border="0"></font></a><p><font face="Segoe UI" size="2">9. Go back to | C:\ProgramData\Windows Fabric\Fabric\log\Traces | location </font><p><font face="Segoe UI" size="2">10. From command line type | Explorer .\ | press enter to open the log directory on GUI</font><p><a href="https://lh3.googleusercontent.com/-QEts6q0BzJM/WsFrf_GM0BI/AAAAAAAAcYU/dbG2tbpU1UE7OhHQENBebN5fZpzrSeU5ACHMYCw/s1600-h/image%255B8%255D"><font face="Segoe UI" size="2"><img width="244" height="153" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-9y_9yYIyvwQ/WsFrgvy-3GI/AAAAAAAAcYY/AYw-j361AoUjFF71TmrwREYhEXcnfid3QCHMYCw/image_thumb%255B2%255D?imgmax=800" border="0"></font></a><p><font face="Segoe UI" size="2">11. Highlight all the existing ELT files and delete them.</font><p><font face="Segoe UI" size="2">12. Go back to Performance monitor snap in </font><p><font face="Segoe UI" size="2">13. This time select | Fabric Traces | on the right pane and make a right click select properties</font><p><font face="Segoe UI" size="2">14. Click File tab on top and locate Circular check box under log mode section</font><p><a href="https://lh3.googleusercontent.com/-tvQmssyf4ko/WsFrhOVvODI/AAAAAAAAcYc/hdfpfIgfHlQqDCE9cORvr0uzp_JUURdlACHMYCw/s1600-h/image%255B11%255D"><font face="Segoe UI" size="2"><img width="244" height="103" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-Rq_-a7rXRr0/WsFrhtpF12I/AAAAAAAAcYg/d-8O7AZN5YU-FPkZCsiGedB3FSnIrpt9wCHMYCw/image_thumb%255B3%255D?imgmax=800" border="0"></font></a><p><font face="Segoe UI" size="2">15. Make sure | Circular (requires a non-zero maximum file size) is selected, and is set to ENABLED.</font><p><font face="Segoe UI" size="2">16. If not enable it</font><p><a href="https://lh3.googleusercontent.com/-kJLXh8Dteik/WsFrh8tTU6I/AAAAAAAAcYk/6F7tBp5Yv_cfMWHoDt8gsoPz-wHxKsvWgCHMYCw/s1600-h/image%255B14%255D"><font face="Segoe UI" size="2"><img width="223" height="244" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-gW2hVBRH9EA/WsFrilOe7pI/AAAAAAAAcYo/uDgeGORMJpwZGjOY0vjU4-8VlY7rPf1JwCHMYCw/image_thumb%255B4%255D?imgmax=800" border="0"></font></a><font face="Segoe UI" size="2">.</font><p><font face="Segoe UI" size="2">17. Make a right click on the | Fabric Traces | click on start</font><p><a href="https://lh3.googleusercontent.com/-I1vxOuQKGh0/WsFrjB44VkI/AAAAAAAAcYs/grvkBRAnlfwukAbJgx4DRwS2-vxGBkWEACHMYCw/s1600-h/image%255B17%255D"><font face="Segoe UI" size="2"><img width="228" height="244" title="image" style="margin: 0px; display: inline; background-image: none;" alt="image" src="https://lh3.googleusercontent.com/-uAh6m-hFGJM/WsFrj8T2uPI/AAAAAAAAcYw/vQZI38eKXM8NQf12BQcyDhiuXqKl9CbqQCHMYCw/image_thumb%255B5%255D?imgmax=800" border="0"></font></a><p><font face="Segoe UI" size="2">Note: You will need to perform same work on all the Lync FE Servers.</font><p>Oz Casey, Dedeal<p>Senior Systems Engineer<br><a href="http://smtp25.blogspot.com/">http://smtp25.blogspot.com/</a> (Blog)<br><a href="http://telnet25.wordpress.com/">http://telnet25.wordpress.com/</a> (Blog)<br><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com1tag:blogger.com,1999:blog-3179219424167705024.post-7271811311254262412018-02-27T06:10:00.001-08:002018-02-27T06:10:15.450-08:00Adjust Exchange 2016 Mailbox Move Historical Information.<p><i>In large environments mailbox moves are nature of the business. For various reasons mailboxes will be moved around and each time this occurs MRS will keep last two move history logs for a given mailbox. When this information is overwritten you could end-up losing important data and this might have adverse effects to create confusions on your recovery efforts. To remediate the issue, we will adjust “MSExchangeMailboxReplication.exe.config” file to ensure we are retaining 20 moves historical information.</i><p><i></i><p><i>It could be ideal for to change these settings depending on your scenario. The settings define move history is kept within the “</i>MSExchangeMailboxReplication.exe.config” file acceptable values are from 0 to 100 (Default is 2)<p><i></i><p><i>Implementation Plan: </i><p><i>Log onto your Exchange 2016 Server. Use your Exchange Administrator account on the logon</i><p><i>Click Windows tile then </i><p><i>Navigate to following directory</i><p><i>D:\Program Files\Microsoft\Exchange Server\V15\Bin</i><p><i>Locate “MSExchangeMailboxReplication.exe.config” file</i><p><i></i><p><i>1.</i> <i>Make a right click and select edit</i><p><i>2.</i> <i>Press CTRL + F key to bring up Find menu and type “MaxMoveHistoryLength”</i><p><i>3.</i> <i>Press enter</i><p><i>4.</i> <i>Under MRSConfiguration locate the entry “ MaxMoveHistoryLength="2”</i><p><i>5.</i> <i>Change the number from 2 to a desired number. We will make it 20 in our scenario</i><p><i>6.</i> <i>Click File on top and select “Save” then exit.</i><p><i></i><p><i></i><p><i></i><p><i></i><p><a href="https://lh3.googleusercontent.com/-gSFRTlm6efY/WpVmvwPidGI/AAAAAAAAcVs/noAEPHUMp144iy_azX6hdMgRcn8E5iJLgCHMYCw/s1600-h/clip_image002%255B3%255D"><img width="244" height="38" title="clip_image002" style="margin: 0px; display: inline; background-image: none;" alt="clip_image002" src="https://lh3.googleusercontent.com/-pzo-8MeDM2A/WpVmwvyceAI/AAAAAAAAcVw/irQiXabiY-gqGplPyp6AhLSU1M0qvktKQCHMYCw/clip_image002_thumb?imgmax=800" border="0"></a><p><a href="https://lh3.googleusercontent.com/-Lky0nb6NfjY/WpVmxN6dxXI/AAAAAAAAcV0/e5VbUa8xet8vDVG5tvmWF59fbI4u7NG8ACHMYCw/s1600-h/clip_image004%255B3%255D"><img width="244" height="235" title="clip_image004" style="display: inline; background-image: none;" alt="clip_image004" src="https://lh3.googleusercontent.com/-m-PN8bwpraA/WpVmxmhd4RI/AAAAAAAAcV4/1VAmFskfBcwlvwT334O_ZmlIfNw5ucKfACHMYCw/clip_image004_thumb?imgmax=800" border="0"></a><p>Oz Casey, Dedeal<p>Systems Engineer<br><a href="http://smtp25.blogspot.com/">http://smtp25.blogspot.com/</a> (Blog)<br><a href="http://telnet25.wordpress.com/">http://telnet25.wordpress.com/</a> (Blog)<br><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com2tag:blogger.com,1999:blog-3179219424167705024.post-40942142222230394462017-10-23T08:13:00.002-07:002017-10-23T08:40:21.337-07:00<br />
<br />
<br />
<div style="border-bottom: solid windowtext 1.0pt; border: none; mso-border-bottom-alt: solid windowtext .5pt; mso-element: para-border-div; padding: 0in 0in 1.0pt 0in;">
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: solid windowtext .5pt; mso-padding-alt: 0in 0in 1.0pt 0in; padding: 0in;">
<span style="font-size: 10.0pt; line-height: 107%;"><b>Exchange 2016 CU 7 Issues / bugs and frustrations </b><o:p></o:p></span></div>
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">If you are
upgrading to CU7 you might run into issues listed below. Interruption on the
mail flow. The issue seems to be caused by permission changes on the registry
key called “IDStore”<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">This is
another undocumented surprise with CU7.
Also keep an eye on your existing IIS settings, SSL offloading existing
setting seems to be wiped out with the CU7 install. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">OU pickler (
config file ) is not working after config file is getting wiped out also known
CU upgraded gift , Microsoft seems to be neglecting to get this fixed.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">IF more
found I will update the article in the feature.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;">The transport process failed during
message processing with the following call stack:
System.UnauthorizedAccessException: Access to the registry key
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\WorkerTaskFramework\IdStore\ProbeDefinitionIDConflicts'
is denied.<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey,
RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj,
RegistryOptions registryOptions)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Office.Datacenter.WorkerTaskFramework.WindowsRegistryKey.CreateSubKey(String
path)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Office.Datacenter.ActiveMonitoring.DefinitionIdGenerator`1.RecordConflictInRegistry(String
keyName, String value)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Office.Datacenter.ActiveMonitoring.DefinitionIdGenerator`1.GenerateDefinitionId(String
definitionKey, Boolean isNotification)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Office.Datacenter.ActiveMonitoring.NotificationItem.Publish(Boolean
throwOnError)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Protocols.Smtp.Legacy.MailSmtpCommand.LogMailFromSmtpResponseEventIntoCrimsonChannelPeriodically(String
eventIdentifier)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Protocols.Smtp.Legacy.MailSmtpCommand.OutboundProcessResponse()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Protocols.Smtp.Send.SmtpOutSession.HandlePostParseResponse(SmtpCommand
command)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Protocols.Smtp.Send.SmtpOutSession.InvokeResponseHandler(SmtpCommand
command)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Protocols.Smtp.Send.SmtpOutSession.StartProcessingResponse(Byte[]
buffer, Int32 offset, Int32 size, Boolean overflow)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Protocols.Smtp.Send.SmtpOutSession.ReadLineComplete(IAsyncResult
asyncResult)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Net.LazyAsyncResult.WorkerThreadComplete(Object state)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Net.LazyAsyncResult.Complete(IntPtr userToken)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Net.LazyAsyncResult.ProtectedInvokeCallback(Object value,
IntPtr userToken)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Net.NetworkConnection.InvokeRecvCallback(LazyAsyncResultWithTimeout`1
asyncResult, NetworkResult result)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
Microsoft.Exchange.Net.NetworkConnection.ReadLineDataAvailable(IAsyncResult
asyncResult)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
System.Net.LazyAsyncResult.Complete(IntPtr userToken)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
System.Net.ContextAwareResult.Complete(IntPtr userToken)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr
userToken)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;"> at
System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">Issue: Inbound e-mail stops with following error
(user not getting inbound e-mail)<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">Symptoms: All Exchange 2016 services seems to be
running, transport service looks fine.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">User
experience: No incoming e-mail, outgoing
e-mail continues to work<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"
o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_10" o:spid="_x0000_i1026" type="#_x0000_t75"
style='width:277.5pt;height:208.15pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:/Users/oz/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-size: 10.0pt; line-height: 107%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_dmPVgnZcr-SI4sseIcNZ6c55hzSJi_Wglgd0B59O44nC3WdxHHdsNT6J7-KkNgbPLcB0ZqT9Hy6EnEC59rZ-G17k9oMFqH3GzpSh-YRaEQm7tlOTgiU4J4XNFxnEll3jN4iI-q-kmDM/s1600/blog1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="378" data-original-width="496" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_dmPVgnZcr-SI4sseIcNZ6c55hzSJi_Wglgd0B59O44nC3WdxHHdsNT6J7-KkNgbPLcB0ZqT9Hy6EnEC59rZ-G17k9oMFqH3GzpSh-YRaEQm7tlOTgiU4J4XNFxnEll3jN4iI-q-kmDM/s320/blog1.png" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;"><br /></span>
<span style="font-size: 10.0pt; line-height: 107%;"><br /></span>
<span style="font-size: 10.0pt; line-height: 107%;">Solution:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">To remediate the issue listed above, Assign network service ( This computer) Full Access rights as shown below.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
</div>
<ul>
<li>·<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><span style="font-size: 10pt; line-height: 107%; text-indent: -0.25in;">HKEY_LOCAL_MACHINE</span></li>
<li>·<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><span style="font-size: 10pt; line-height: 107%; text-indent: -0.25in;">SOFTWARE</span></li>
<li>·<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><span style="font-size: 10pt; line-height: 107%; text-indent: -0.25in;">Microsoft</span></li>
<li>·<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><span style="font-size: 10pt; line-height: 107%; text-indent: -0.25in;">ExchangeServer</span></li>
<li>·<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><span style="font-size: 10pt; line-height: 107%; text-indent: -0.25in;">v15</span></li>
<li>·<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><span style="font-size: 10pt; line-height: 107%; text-indent: -0.25in;">WorkerTaskFramework</span></li>
<li>·<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><span style="font-size: 10pt; line-height: 107%; text-indent: -0.25in;">IdStore</span></li>
</ul>
<!--[if !supportLists]--><br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt;">'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\WorkerTaskFramework\IdStore<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijCcR_9eY8nJuxHS308_UsFllJ77goDUK530QXPLzmMoSWtppWMTqJGLvdbslUdxI10iNDPD-LFUKk9tnV1n4VXxcoTD5kYURV2doGrAPYmm3wnzuZqVu44Cr1j3KdguO5gOK_BfiIdm8/s1600/blog2.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="453" data-original-width="381" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijCcR_9eY8nJuxHS308_UsFllJ77goDUK530QXPLzmMoSWtppWMTqJGLvdbslUdxI10iNDPD-LFUKk9tnV1n4VXxcoTD5kYURV2doGrAPYmm3wnzuZqVu44Cr1j3KdguO5gOK_BfiIdm8/s320/blog2.png" width="269" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">Navigate the
register key listed above on your Exchange 2016 CU7 server. Make a right click,
permissions and select ( Local computer) Network service is local computer account.
Assign Full permissions and close the register.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%;">Verify mail
flow id restored.<o:p></o:p></span></div>
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="background-color: white; color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"><br /></span></div>
<div class="MsoNormal">
<span style="background-color: white; color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">Oz Casey, Dedeal</span></div>
<span style="background-color: white; color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">Systems Engineer</span><br />
<a href="http://smtp25.blogspot.com/" style="background-color: white; color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://smtp25.blogspot.com/</a><span style="background-color: white; color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> (Blog)</span><br />
<a href="http://telnet25.wordpress.com/" style="background-color: white; color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://telnet25.wordpress.com/</a><span style="background-color: white; color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> (Blog)</span><br />
<a href="https://twitter.com/Message_Talk" style="background-color: white; color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">https://twitter.com/Message_Talk</a><span style="background-color: white; color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> (Twitter)</span><br />
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 107%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_11" o:spid="_x0000_i1025"
type="#_x0000_t75" style='width:285.75pt;height:339.75pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:/Users/oz/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-size: 10.0pt; line-height: 107%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com20tag:blogger.com,1999:blog-3179219424167705024.post-7738190173088833512017-10-10T09:35:00.001-07:002017-10-10T09:35:39.063-07:00Check to see if Active Directory Account is Enabled/Disabled <br />
<br />
Simple Tip:<br />
Using the simple PS code below we can check to see if AD account for given user is enabled or disabled. Exploring other properties with following one liner PS <span style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"> </span><span style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">Get-ADUser $user -Properties * | gm</span><br />
will also provide more options. You can check any of the available properties with same way and accomplish the task.<br />
<br />
<br />
<br />
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="background: #D9E2F3; border: solid windowtext 1.0pt; mso-background-themecolor: accent1; mso-background-themetint: 51; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
# Check to see if AD User Exist<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
<br /></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
#(1).Collect user Info<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
$user = "Casey.dedeal"<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
$status =
Get-ADUser $user -Properties * | select LockedOut<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
$LockedOut = $(try {$status}
catch {$True})<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
<br /></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
#(2).Write Output<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
write-host "()_Checking $user AD Account Status" -f yellow<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
<br /></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
#(3).Check the account status<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
If ($LockedOut -eq $True) {<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
write-host "()_.$user is locked out"<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
} Else {<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
write-host "()_.$user is NOT locked out"}<o:p></o:p></div>
<div class="MsoNormal" style="background: #F2F2F2; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-background-themecolor: background1; mso-background-themeshade: 242;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
</td>
</tr>
</tbody></table>
<br /><div>
<br /></div>
<div>
<span style="color: #3e3e3e; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px;">Oz Casey, Dedeal</span><br style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;" /><span style="color: #3e3e3e; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px;">Systems Engineer</span><br style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;" /><a href="http://smtp25.blogspot.com/" style="color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://smtp25.blogspot.com/</a><span style="color: #3e3e3e; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px;"> (Blog)</span><br style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;" /><a href="http://telnet25.wordpress.com/" style="color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://telnet25.wordpress.com/</a><span style="color: #3e3e3e; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px;"> (Blog)</span><br style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;" /><a href="https://twitter.com/Message_Talk" style="color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">https://twitter.com/Message_Talk</a><span style="color: #3e3e3e; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px;"> (Twitter)</span></div>
<div>
<span style="color: #3e3e3e; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px;"><br /></span></div>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com4tag:blogger.com,1999:blog-3179219424167705024.post-9966175537656871862017-09-24T14:51:00.003-07:002017-09-26T10:51:37.089-07:00Skype4B crashes , when attemping to reply to notifications.<br />
<br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "segoe ui" , sans-serif; font-size: 10pt;">Recently, we found out
Skype for business start crashing with the symptom explained below. After
working around the issue, we figured it out the issue is caused by recently
installed security update<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "segoe ui" , sans-serif; font-size: 10pt;"><a href="https://www.microsoft.com/en-us/download/details.aspx?id=55944" target="_blank"><span style="background: white; color: #222222;">KB4011040”</span><span style="color: blue;"> </span></a><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;">Issue :</span></b><span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;"> When user clicks on the
notification message at the bottom right screen , Skype4B closes entirely. When
user opens Skype4B and initiates IM to another user it works.<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;">Cause :</span></b><span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;"> Recently installed “Security update for
Skype for business KB4011040”<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;">Solution:</span></b><span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;"> Install Office update KB4011099 to fix the issue.</span><br />
<span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;"><br /></span>
<div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: black; font-family: "Segoe UI", sans-serif;"><a data-saferedirecturl="https://www.google.com/url?hl=en&q=https://support.microsoft.com/en-us/help/4011099&source=gmail&ust=1506534577457000&usg=AFQjCNHi6bzlo9vwh0OVGYOdQx4kfhVkTg" href="https://support.microsoft.com/en-us/help/4011099" style="color: #1155cc;" target="_blank">September 5, 2017, update for Office 2016 (KB4011099)</a></span><span style="color: #1f497d;"><u></u><u></u></span></div>
<div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<br /></div>
<span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;"></span><br />
<div class="MsoNormal" style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: #1f497d;"><a data-saferedirecturl="https://www.google.com/url?hl=en&q=https://support.microsoft.com/en-us/help/4011040/descriptionofthesecurityupdateforskypeforbusiness2016september12-2017&source=gmail&ust=1506534577458000&usg=AFQjCNHvnCVEQLqSjO3ky5cpI93dbkNjDw" href="https://support.microsoft.com/en-us/help/4011040/descriptionofthesecurityupdateforskypeforbusiness2016september12-2017" style="color: #1155cc;" target="_blank">https://support.microsoft.com/<wbr></wbr>en-us/help/4011040/<wbr></wbr>descriptionofthesecurityupdate<wbr></wbr>forskypeforbusiness2016septemb<wbr></wbr>er12-2017</a></span></div>
</div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background-color: white;">
</div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #222222; font-family: "segoe ui" , sans-serif; font-size: 10.0pt;">https://www.microsoft.com/en-us/download/details.aspx?id=55944<o:p></o:p></span></div>
<div class="MsoNormal" style="background-color: white;">
<span style="color: #222222; font-family: "arial" , sans-serif;"><span style="font-size: 12.8px;"><br /></span></span></div>
<div class="MsoNormal" style="background-color: white;">
<span style="color: #222222; font-family: "arial" , sans-serif;"><span style="font-size: 12.8px;"><br /></span></span></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<br /></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<img alt="Image result for Skype4b" height="199" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADgCAMAAADCMfHtAAAAllBMVEX///8Ar/AArvAArPAAqu/u+f4AtfH8//8fuPLy/P4AsfD1/P655/pky/X5/v/R8fw1vPJ4yvVMxPTp9v1Iv/PT7vyR1/fb9f2F1ffj9v1xzvbG6fvN7/yl4frB6fvm+P6Z2/hixvSW2/iz4Pmj2/iv5fo9ufIApu940PZTxvS95fpqx/ROvvPD7PtawvOE0Paa1fc9w/SBeTymAAAXVklEQVR4nO1dC3eiOhAuCS9BkSoPQa1YH6t96O7//3M3E0hIICBtVXp7Oufcu7sKmI9M5pWZycPDtclaxePFIhwng6s/un/ypvPZaW87lMz9W7r8WTCN7drRMSKkEYI/Ecb++b3vcV2JrPkR0GlVQlg3s1Xfo7sCLQIN19BxkGZkDKbh8HmWpuv1KE1n2S6eGl7fg/4AJa+4PnsyRhvpmFDBuxjryF6fl3HfI+9G1rIdX74qFR8RoM7oJel7/BdptVYMvysRlOZ6Z/SNoZViW16AORPmHNkNJNLN87hvGM305Ig4CDr79Bgtd7tldn71ncvsW9yGgrnVNxQ1SQARsg/zVSkijXgbdAaJTt9ScS4ETkR6sKsrgPFZKzEiRkqM+vr78WpYziDC/pP6osHBKVSEY9p+EPi+bTrKZYq09JsZeQNfmJ1Z8+DCieZMDpswTlYGodUqicPlIXC0GsrG19QTjbgURc6i9UqlzvMWYMjKIBFOv5Gps9P5qw8+q7a93astyyLsh1cd5RdoZSMOcPqF5ySZLc0jcjZXG+PXKGU8imz3i48aBuI8Ij26ygC/SguHA7yCZSljxOuvvrNr0Ijz6FXEn5uJtgOeXOOZX6OEiRk8u9ITV6leYsRB75rxXKxCZF7PntyYAsRJz4w6ZYIULa/41Dgo/RTUM6O+FEyKgusq6LQUODi96pM/SutiIPiaUwj0XOpG3KfS8AomRc7V3fMdlzcIDa/98O7ElCF67HjDar6Jjr5NbnMce3LYPjXr0KHGIeL+YjibQiLgXYeLB2EUgL+UO4a5J6WZ+0PYMP8CxP50BtMV+HKs180CpPIFIeBxVkcTl6VJfy1l+2GasGV46cLVATWHMRDW/ReVOo1Kv7Mvf5EJmgs6y1qajZFwNpXBXHGjYNX3FKBiTNSusrx1hzAUwoe6Si2jB3p2IwgXqFgouPXnq5HUJsJmnRVXbOUip5fIv8UQblsuivddQ+HIqYvkLXddejFtvA4ILb/bDFKICt0+Ybc7vUQ1OnBp2h2gMpKVMH+xHxOcqcNmdfVUB4io0odIqQKiX3tCxJ6g97ESC0cOjZousIIKDKL7gmjzMhxutgdfARLXwk8Wm0R8uC0YJRXCHNlNFzxVQ737paAT3N2pilHhhm24OO3BPGVBGtSkj0eVLbdquN4b1gRRzUp1mTDuw43asoXYtF9UmUEFnw3WMkS9LjKZfYr29zdsni683YU0eoUYATpIjKrX9wUGPFRyf+uUiXIUqONFSxlhQyDgIF6lK+LmTJz2IWuY3YjV6vivOPZmw0tgVOQr3hULWV72Ya5PzyyY+Kr8+iwhNJuiVRaHiNQr+h9qZOFbU8zCGGqbqiPCh8GIag2EHbX9xyXa/aWpdWJsulZ9LSHU2tyDXYB05Dc4+w8xMy1O999VHPKovoqBZITo3PIgy/O8ZmXwViA0e1D6JjeMFSLib0XhfzrNYsbYtAcHY8m9cIWYX1YQatknf2XOvJjnLwz1k+TtGQMpgoKLikmGkD/8VAqm4Vyy8W9I+xalb9Wjh9g+DD++neQWPgraX2HEHySDiTmlGJkoc2l1/7z5YFbQI+OU+8eGxwX/4L+qb1/UMRqEkbM/ZmHSWfgXhhty7p8v9V7ofHVg320MQ1E33z7Ndt0mhcks5/5Zb2yWGhyoJ70BYQETY91ON5fjE+/MPLz/PhTfnGkY5fliJApYNthdSMWJ2c/cP8mGm4wNO0idoolkLu1zq4Q12M+0hWZvQ8xswU0XDI6tjCrMZNYidyz2M0qBdlO6iPDBPXTLgybmQMt67A/h7CJC4jh0zBBGTrMc6c9/ujyHhKzI7IQRNUfP+0O47YKQSIrlW5eJRI3uR39cyhFe1NyLyNeVoXwJosqAJzToT5Ze0ocSDXbnwFFWfnFSBwv61IdDZtN0DBINpi/p3mnZ1ddU292lTfNyzcF3oif27rsknDAavxzMJo5FR9UdO2Y33N8u5b5F9sEbDcqxCobVVT5y1p9vwfxD3BZmaqBBslk7NaNOmSNXmLdNguim1Objd6DVrLbBpkgh69PHZztsn0/eG9syRNW74pEE9ebObYltmyi2xShZ7uDC7IYVhApOnPKwfw95imF7oG+3tk3/sV2VVH3IOkKXbQE1bzffjhLGQG+qL32aioj1WdvmJq9oKN6Vwhtm+lDT7z+J7qk54u6V9TRtW38DqTxTQyp/n6U8NOxy3ZRmzQZVVLJfW560Z0oIlTKLJ+v2kK+wYPuXtZSegSAlUcuWQyyX2Kp1Hk8pz6439K7EE16qI5tKA/cb1clQZlK1Zp3zsoCrDr4TscSu2tudSjKywWt4KNdYAUGdNM7EKXLu33yCZWTU9uANWYI0SZvKDlXTiuU65f4ZGWVKT0WSu5WcLxypdIZc6E6uahAlw/6cYC5NUWCpvygZtc5hy4p70WiYeexXesg0LTMkKwojrjoOyJFbuFiLY83wbvRx7R5t09cmm+pYdf/o/iETqslyrdUuaK6gOjLT4nZAGmnMwtp6RUokThUBpJfqjj+ZTHyI2FS/bYuGsNwpdGM0SmI7oTXTbVdzcOlljS0V2uKhGfNibotFTU98hFUxUBU27YSrskokFrjUeynVL/O2qhGpQ8eeHznAtqhrvwi5aYlq3l1WkyaNAI+tcYKoTy4VuBEfq6943m1j5mKnCJ6leTsUbWRxD0ivRd3cmXYRI1Ejl6wxVkfWg5tPqXQQUN2sStL2zSeCL7oYq2NZQ/9uMv4OVBaaqXRaHDVtWECQw95ebqnBN7r7qEqgxKNFZMxKhhtHaxrLFwnU/ynqFMjeNccS7kVjPkVIUYYG5Bnx8nB62+9t0zRte/92Sp9Do2MomWW895BSwynj2h1pbfHDwSqJ4zhZfSiDy2UxPafPRhJl4BNd3YvjVRfKval7kftaQkStIdIPkxc0uNl3Jk/ID9JH12SnIbfte+4ROhCaduCW5JGPEjcoPrOLd11KxL4kaHat7b6yCrH/dnUDsbAZ2x/Z/G6mBddD36DrkFyNhrCy0P6DlJTB8/tXzSjIlUq1kLMOvyhVy0rU5qjynSmSO6/h0+4rGL0jt3j7qcpX0ULuMoCwc5h/VndMS9lVDXT1Scax2ggRvaVDZd9nr90ujcs1+C3ETEmbah4JcZKQ/7gdLlacZVfj4fYcOGmLEl+WMRBkfqVr4Q1o8FoP0KC8X6lj274NnYYQ/QA7UYPeDH2hr2s/XRVaae435OhV46UI77M6RutdDImjng3SBtr4erdAG8JaupOYdZFJ96JamPKbkDV869rtmvCjP8pewjCcb2aTSvpiW4J03+TOj5cjbXyiGpqAX2pu2zcl20nnxuVK4Pqnm9vejaxptrZVvb46AdSib9RUuIWScHu0c0bkgTaKuR02sd2/N4dWaLAYbv+e0/X6uF6n57/b3WKwOrd2OvO/r4hpIwuI/2s12ysZmJgCp+H/g0Ev0mo4AXVRwqTGjjn7flbMF8gb/n31HT0nZAb/m5NLPkKWa0zDxdNTmBiDH8Kcv/RLv/RLv/RLv/RLv/RLv/RLv/RL/3fyXPdne+nGxPd7SwO9DSXhSxZl25cwplNn2KiXwo9bkTc82Zqe76iYb7AL9sMQzn29OFeFRnFP7k9DSA86hpZkpkODutBF9Uch3JGpQ9pxE8ZxHL6MHPzTEK4cpGGhSZe3HP0wLo2whnxpAx6E6U9C6CNV4e5PQkiYVNFf9ychxMo+Fp9F6BpTVfqba6yM3s7rhjmsZ5DKCKdLQruHFfwhX7cjn3jwf5q8uDiffD94rSYPvdOP11FP2QoB0RX1pE8J4cDWsa6FDwaxe/5Ie/LJH6z73oOj66b7EAd6vsGPkVhIurDZx7ifw6yh7BHVSltFhIMJEbcm7OaecaVoCQTxFnqCI9tbOHk2DTUfUp6vCKmq7HNs99AlKu/ugQ/VbgolQislMPKW/+9I7o4xgNxfgyL0xybGdjafb2jaJj+bBwBiMyKfTwjGfk4lfYdsEexsJXdQQDgiAFmXOVtetHMyZmjQDXNoY7NIulgB7qI2DJraMw6Bvmn9HIJMuz4g7O+E91sinGEhJ42wtNhzHGYXAEMthVAFDlObtxWAg1xLbTsnfGz3shQXdr54grJgjSOEYq+y8VFCZqsszHLJiN/gtVCEQtpMqBWnOz1jKXcd3sj9uwpS2tJKX6TzygOGkACU0iZhjPyfG1Q0fDGr8vgx/8bdIyl3PdT7O1l2daA5z0ib5axaIByCIBRV4LvIpmtUtPUiCOUGVztM+0EtHA2dhI8NMul9NMXIKR7pgFE/USbMES5ANmTiVdAaCxUyaUBYMG9rRRDK/YlWOu00tMFyVx+LPLWHo2Y4JfSYYkw73wNCG4RftQsEkTVMdJBFVnScJavTlNUAQUh03wH8ln8COb0V4xf0BK148KtFEWomzFdVuieEldfUxHRPiNWdg7aQEeb9sI6Ip4TzxPB+ET4YcFohZJwDQgRcW6sHnqCiH1lYtvmoI0R0DidURMv05w4wWgmQBQWXApPV+hzO2do6YK4C6whzLiVziNJIpt7OzWU0hLe/yhFCO5Bagrbh5/LQIrBY+7wawkLSjMg67uuY3EaiOn1cyFI3AJu7AhEaaIxpgzCdjb4maYixBj3NiGHex8Ey7WTsBYQPno9qszjFdP0RwcvP+AVtIXnR55yVX7DKM+uZYpiPmNs0yR7VSuomwKbEYiubj5uVWA/IKbDaQqLh+zjhSaZKmiuxxOCYQm6XQt8aZEsX7cjwkx3hQ/4pWG2+YFKD20gVCTHB+zuSm5EuxRwSLR9T6VuA2odZLckj0xc9IqFzgEnVKP8nOCu5DB7iSsPSYQ+CR0f7WejSFWW5O1AWwFeCfzh0cuVWEtET/h4JUpL6FvhQzCIAxCf6RO8ETM7OvbCSQ1uP0FuRDnWF5vq8/XteQw8aRCWkGMUYwqe+IElCaqkIzj74+BPi4kfDxfsSDl/lqy+hMQz77/D9fbg9kV/qAeEfpLF6JRp+yD11KRIFbVdEQDAzksEK+jAJMN3XyW1bztUhlNuivFUv+a+HHrsPma0VNU10dGk+NsPEuPQCIgJfFyBCs0ux/yONRBkTWjUET1kL3yXrvJiIQrT7qb5YbNN/pkZsMP/AjzVyt4TKSzbkX3/LdTfVZT1X2DRPKZgL/rliIiyigMgmx55EPdo3Fj29sHNUGrSByG7cams4BBE+bjkc8fvRgJimjshudcv7f07EGJP1+I9DGKCKIffTEC5qOx0/DCG08cByk5mfgxDKtRLiFleDnj8H4fb0+GjjetP1n4Pwrw7xMmxXCwt/FkKMTrVNcQfr5s9AGI4mk9m8bpwss+3yngbn6v3pvffQwQ0pPDmO5vRwrFJBcXjjJjRZHj7v4SD6nLZkSd60wjmCzXLsaH8+g9A1bUb+cbv4jDMAHc7x+oZuRAIe9iExprvPLMSBLrZedfxPvKUEPOnTDaVOVE0H+RAN9HKriPr82Ycf4QY6knccr0vEcdP0z6cCAEJzDXSyEW49c7OR3PPjLYNNhom+0kqaIESTATjkrhGndNO7z3axKpp+rSUaRchtExpu+kYd5ChN0RURwqEXDYfi9EfXRQiZJrcUi58h46oIIWXklqrtozSYz+cbiE2H5C9z5sDFm9E/or9H27JRzJR8DdoyjI7HmTRFFYRkIeYtcV1yh9hoxhD/TX7Bt+1/7AR5+HUQTxb8hfzpzWdkAJNMtnMSuMmfZFL7GmM+m5BPj9mCjcFaZEe4bvYCliAkP+ZaDCiPZoZrp+jphJ0Ts1SHGOmzB+vgkG/+SK5sBeEZF70qY4yEnSU47xDhIm0oeXVY8mjeiPyRPB1+ybDJX8itQRHRd4RmWN7MZqMqo+NWtkcsPTXNOWd+0tjDIeAeFghziDR7LMJFuyrYK+H6e0j3z0b0O70FIaiePDkoxrLICTWG8Iniy/c88sNoH4sgjgEZ8g9D8n2RcqpzSwROHNSKflqYbTC7k/JJaOLx4RefOFM4K9M0TQLQMYEgfj4Cce+8Rlk2O9EtoBlHGO2IgeYHdsscukeeGxSjKsIi9QtyprD9+JxF5wDpNYQodsgsRcuItphkmge6fSLtFT6Gfbu8XaQHSRHaKcqez2tTp/INOpzj4Jxl0aOPNYLQS5IkBEmzIn9J3Lz7MhrlXOAtIOcz3/GDbItRgIPQGExfJM8cEOb7fg/eGCJqRcCpESHNoM6dpUG4riF0AmznDXqf6L4kvdAC6IXJG8NEU9E4hKyP93wXM8lGXpG4GeUWhzFnm3uithjD9mvGR+VO2E40zSdR2v+AcJ/BJswBjq7k+2dNCMeatLntVhFqmH/7Tv6l04UK+aoBYx0D0gTgvU+QuBMCU7jRpf70Vh0h7L6KQb8BpBNscoTkfarMMWp5F20PNfSPO9FNCIeofsKYxKVCZPy1SJFbEYmglSU6T3r+iHpKw4EsknouqoBw7KDKaZGgwCcFQrVJPdDFZmv22yy5jLB65qYkaQQ3Z5nnY9KcWmFv1YPUD4sirGR8AML6QRgCwm0tbgu5QGBJD6uZBxLCfA51WkCAtawV4btWf5KIUBcOshiDgeQ+WG8VKCNET7n2a1mQMCH1XFQB4ZHcIheKWLA3/Z4jVBtjsA4DA/b63HhHQ7/5rzYhtEB+2LKfLCEU1roHy29A03WkY53/YppaRcViJC6dmLARPlVnQkBIfrx6pGmKaAazirdKhKU+hPA9oonqjbIU3A8i+MWtXVkfCpQjhKxh+5xyOrzlyUZTWhPhPwsYoW06NlMZo4AwT8CTiEgxOJZjiJriABWbhgqroA3hQ6ZTZW6XRwZeQDjHlXxMpihjmgdCzBnO2RZN6sB6IIZiBYS1qsJ8kW+ZTdMFIZVW4zaED09BnubvzKbdEVYoNw2NNM80R2Uv0CyvIUD2kg+qgrASuJx9FCERC7R6oAXhw2DoI/quCyV+GSGy05FMxbSFI9rNF2l8dNNnE+V1EkyBCggVB/0dMFuHHRFCMj5I7DaED1Cx5lDeC7sgVNaRMVptqcmqC4touIaIES+YEhCCwq201nzlsrQrwlOJUPIt5MoZAmemoeLwyg6Spq0ewRrSVHPxvKQYDqNgkkNAOMJVtb7a5/UuH+fSFaK6jNOmijBPm6JVMhcQJlCP0FrARu1RWZODEtgPqggheVVSPJDUy2yajgjhhdMNECSffwPp2xWEVP8uLyOk8rn9zC4Yp3zM+yDP6q0gXNmVahea6/nyIYQB+y1bytdOHK2O8C/uhpCaKq2hkZi81zf5ijcVwrzmTFCX8Gh6YPYFhFz5eHDSXO70QbVTeZo2FANRhKKsTou070sIp9USPQ/eiydwCNiCRBgJn1h7bpeLCPMUbVaF5UU6OxKvHWGQGIRW8SICAYlH9GXOAVOx1t0U7HOKcOvziQXP1HE7IKT2mc5SUYlkMSGE7ZWHK4BxCRpyVFpsz4iXT0nRRJq/rAUb8Iwz8MOKYw1bERKXgpJJi9lwcbavBeIMnYbkUUvyPmdOjpBInCAK4fkHh5WxXURIjylHdn7fbE8UKUVI7LMXcN2XtHaRvKuR7pyW8MnTCG6YKxA+vOdqCjsO9feYaL2AkO/MEGODV/OGWtEchPyHD3ExhxtqVWmOBp6Inr/lywhXfj4szUFwX4GQ9o7OR4oRPAACSTB2ak/orKZhSgw9IV5qpEL39KCMtWG9AeEfwWDUnbWwjxwX0TFapx0SXKP8SeVeXPH+HnWcx9p88gjx4TpmB81aM1Teh+j5JpbNN/YwzuNvM51fpJdNzw1irUsVHOHhzXYcx9ynT1yCjMlF6qMmvFFp80dPU0meGdmbSZ60H4VQ5JamIB+sOHrbm/D40zOTOss0pbEhd0b+Ij6APJuf4xnP6MPIfaxG39it4UmO/ZYWRy95i7QY+2nXXgGejMfj5CqxefKkuBb8MOJQ8WmXh1Xvc+H5sqG5ioWx/wfXe1Izf1X2+gAAAABJRU5ErkJggg==" width="200" /></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<br /></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<br /></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<br /></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<br /></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">Oz Casey, Dedeal</span><br />
<span style="color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">Systems Engineer</span><br />
<a href="http://smtp25.blogspot.com/" style="color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://smtp25.blogspot.com/</a><span style="color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> (Blog)</span><br />
<a href="http://telnet25.wordpress.com/" style="color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://telnet25.wordpress.com/</a><span style="color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> (Blog)</span><br />
<a href="https://twitter.com/Message_Talk" style="color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">https://twitter.com/Message_Talk</a><span style="color: #3e3e3e; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> (Twitter)</span></div>
<div class="MsoNormal" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<br /></div>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com1tag:blogger.com,1999:blog-3179219424167705024.post-19564547279058616072017-08-19T01:15:00.002-07:002017-08-19T01:15:28.176-07:00How to use Power-Shell to Perform SMTP Relay Test <br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">In most cases, when
application owner claiming, e-mails aren’t relayed through the existing
internal application relay front end, you will need to perform few basic
troubleshooting steps. Bear in mind asking basic questions up front will make
your job easier.</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-indent: -.25in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">What is the IP address
of your application? <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">What platform your
application is running from? (In this scenario we will assume the application
is installed<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">on Windows Serer.<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">What is the host name (
FQDN) or IP address your application is configured to relay through<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">Do you have any logs on
your application showing SMTP handshake (you are asking TCP/IP handshake).<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">Most cases you
won’t get this detailed information<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">If telnet service is
installed you can sent e-mail from command line and observe the response. If
SMTP relay <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">Front end accepting
e-mails, you will need to figure it out what is happening on the transport and
delivery<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">layers.<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">Here is simple PS code
can be used to simplify the test from Application Server. You will need to change few variables to make this cod work in your environment<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0.0001pt;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt;">$smtpServer</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"relay.smtp25.org"</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0.0001pt;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt;">$smtpFrom</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"smtp_relay@.smtp25.org "</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0.0001pt;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9pt;">$smtpTo</span><span style="font-family: "Lucida Console"; font-size: 9pt;"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"casey.dedeal@.smtp25.org "</span></span></div>
<div class="MsoNormal">
<br /></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">clear-host<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">#()Variables</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$subject</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"Testing SMTP Relay"</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$body</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"smtp relay testing"</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$smtpServer</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"relay.smtp25.org"</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$smtpFrom</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"smtp_relay@.smtp25.org "</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$smtpTo</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">"casey.dedeal@.smtp25.org "</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">#()Message</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$Computer</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: orangered;">$env:computername</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$message</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">" sent from "</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">#()Subject body</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$messageSubject</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: orangered;">$subject</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$messageBody</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: orangered;">$body</span> <span style="color: darkgrey;">+</span> <span style="color: orangered;">$message</span>
<span style="color: darkgrey;">+</span> <span style="color: orangered;">$Computer</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">#()Sending</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$smtp</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: blue;">New-Object</span> <span style="color: blueviolet;">Net.Mail.SmtpClient</span>(<span style="color: orangered;">$smtpServer</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$smtp</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">.</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Send(<span style="color: orangered;">$smtpFrom</span><span style="color: darkgrey;">,</span><span style="color: orangered;">$smtpTo</span><span style="color: darkgrey;">,</span><span style="color: orangered;">$messagesubject</span><span style="color: darkgrey;">,</span><span style="color: orangered;">$messagebody</span>)
<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
Oz Casey, Dedeal<br />
Systems Engineer<br />
<a href="http://smtp25.blogspot.com/">http://smtp25.blogspot.com/</a> (Blog)<br />
<a href="http://telnet25.wordpress.com/">http://telnet25.wordpress.com/</a> (Blog)<br />
<a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)<o:p></o:p></div>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com3tag:blogger.com,1999:blog-3179219424167705024.post-68326304762170698082017-08-12T14:51:00.001-07:002017-08-12T14:51:28.980-07:00<br />
<div class="MsoNormal">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt; line-height: 107%;">PowerShell
Check if Server is alive</span><span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; line-height: 107%;"><o:p></o:p></span></div>
<br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt;">Use the script below to
check if a server is alive # replace the server name to make it fit into your
needs.<o:p></o:p></span></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 260.75pt;" valign="top" width="348">
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$server</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: darkred;">“dc1.smtp25.org”</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">If</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> (<span style="color: blue;">Test-Connection</span> <span style="color: orangered;">$server</span>
<span style="color: navy;">-count</span> <span style="color: purple;">1</span> <span style="color: navy;">-quiet</span>) {<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: blue;">Write-host</span> <span style="color: darkred;">“The </span><span style="color: orangered;">$server</span><span style="color: darkred;"> responded”</span> <span style="color: navy;">-f</span> <span style="color: blueviolet;">yellow</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">}<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">else</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">{<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Write-host</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkred;">“No connection
to </span><span style="color: orangered;">$server</span><span style="color: darkred;">”</span> <span style="color: navy;">-f</span> <span style="color: blueviolet;">red</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: blue;">Write-host</span> <span style="color: darkred;">“Script will
stop”</span> <span style="color: navy;">-f</span> <span style="color: blueviolet;">red</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkblue;">Break</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">}<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<br /></div>
</td>
</tr>
</tbody></table>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<o:p><span style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">Oz Casey, Dedeal</span><br style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><span style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">Systems Engineer</span><br style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><a href="http://smtp25.blogspot.com/" style="background-color: white; color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://smtp25.blogspot.com/</a><span style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> (Blog)</span><br style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><a href="http://telnet25.wordpress.com/" style="background-color: white; color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">http://telnet25.wordpress.com/</a><span style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> (Blog)</span><br style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" /><a href="https://twitter.com/Message_Talk" style="background-color: white; color: #8b8b8b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">https://twitter.com/Message_Talk</a><span style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"> (Twitter)</span></o:p></div>
<div class="MsoNormal">
<o:p><span style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"><br /></span></o:p></div>
<div class="MsoNormal">
<o:p><span style="background-color: white; color: #3e3e3e; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;"><br /></span></o:p></div>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com129tag:blogger.com,1999:blog-3179219424167705024.post-47779277489896140922017-08-10T08:54:00.001-07:002017-08-10T08:54:53.141-07:00<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Using PowerShell Test-Connection <o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">#(1)_.Check if Machine is responding<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Clear-host<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Write-host $null<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">#(a)_Capture Server name<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">$server = Read-host “_Provide Server Name to Test”<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">#(b)_. Test Connection<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">If (Test-Connection $server -count 1 -quiet) {<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> Write-host "The $server responded" -f yellow<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">}<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">else{<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Write-host "No connection to $server" -f red<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> Write-host "Script will stop" -f red<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> Break;<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: #00b050; font-family: "Lucida Bright",serif; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Oz Casey, Dedeal<br />
Systems Engineer<br />
<a href="http://smtp25.blogspot.com/">http://smtp25.blogspot.com/</a> (Blog)<br />
<a href="http://telnet25.wordpress.com/">http://telnet25.wordpress.com/</a> (Blog)<br />
<a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;"><tbody>
<tr></tr>
</tbody></table>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com1tag:blogger.com,1999:blog-3179219424167705024.post-50638872495881477222017-08-09T18:15:00.002-07:002017-08-09T18:15:35.974-07:00Connect Remote Exchange Server Function<br />
<br />
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">You can use below function to make connection to remote PS in Exchange 2016.<o:p></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">You will
need to change following string $server ="EXC01.smtp25.org" to make
it work for you environment.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<b><span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"># Connect
Remote PS Exchange 2016 Server, Specify Server to connect.<o:p></o:p></span></b></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<div style="margin-bottom: .0001pt; margin: 0in;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"># Change the server FQDN with server name you desire.<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Function Connect_E16 {<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"> param(<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"> [Parameter(
Mandatory=$false)]<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"> [string]$server
="EXC01.smtp25.org"<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">)<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"> $session =
New-PSSession -ConfigurationName Microsoft.Exchange `<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"> -ConnectionUri
http://$srv/PowerShell/ `<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"> -Authentication
Kerberos <o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"> Import-PSSession
$session -AllowClobber<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">} <o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Clear-host <o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">write-host $null<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Write-host "_Connecting Exchange 2016 Servers"<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0in;">
<span style="font-family: "Segoe UI",sans-serif; font-size: 10.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">$Connect_E16<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Segoe UI",sans-serif; font-size: 9.0pt; line-height: 107%;">Oz Casey, Dedeal</span><br />
Systems Engineer<br />
<a href="http://smtp25.blogspot.com/"><span style="color: windowtext; text-decoration-line: none;">http://smtp25.blogspot.com/</span></a> (Blog)<br />
<a href="http://telnet25.wordpress.com/"><span style="color: windowtext; text-decoration-line: none;">http://telnet25.wordpress.com/</span></a> (Blog)<br />
<a href="https://twitter.com/Message_Talk"><span style="color: windowtext; text-decoration-line: none;">https://twitter.com/Message_Talk</span></a> (Twitter)<o:p></o:p></div>
Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com2tag:blogger.com,1999:blog-3179219424167705024.post-21408305197606377432017-08-09T17:58:00.001-07:002017-08-09T17:58:25.180-07:00Exchange 2016 OU Picker is not Showing Organizational Units.<p>Issue: Exchange 2016 CU5 , OU Picker is not showing Users within EAC ( Exchange Admin Center)<p>Cause: Web.config file needs to be modified “GetListDefaultResultSize” needs to be added with > number of existing OU ( Organizational Units) within the environment.<p>Notes: Web.config file is located on default exchange install directory under ECp folder “Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp”<p>It needs to be added with notepad ( opened with administrator privileges)<p>Each CU install will wipe these settings, therefore web.config file needs to be saved each time prior installing CU on Exchange 2016 Servers.<p>I have added few simple scripts to help you to develop baselines to implement in your environment<p>Web.config file is not server dependent, single file can be modified/saved and moved around Exchange 2016 servers, if desired.<ul><li>Log onto Exchange 2016 Server, via RDP (Remote Desktop Protocol)</li><li>Provide your credentials at the logon.</li><li>Click windows tile and select PS (PowerShell) </li><li>Select to open PowerShell with administrator privileges </li><li>Type following press enter (note the installed directory)</li></ul><p>$exinstall\ClientAccess\ecp<ul><li>Type notepad on the PowerShell (Open notepad with administrator privileges)</li><li>Click file and select Open on the administrative notepad </li><li>Drill down to ECP directory under Installed directory ;</li><li>Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp</li><li>Locate web.config ( make sure on the bottom change to all files to locate the web.config)</li><li>Open web.config file </li></ul><p>Press CTRL + F to bring up find menu and type “</appSettings>”<ul><li>Locate the section </li><li>Add this line ( it does not exist in Exchange 2016 ) </li></ul><p># below line must be edited above “</appSettings>” Section within the Web.Config File<table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="623" valign="top"><p><add key=”GetListDefaultResultSize” value="1500" /></p></td></tr></tbody></table><ul><li>Comments Added ( same line with comments) </li></ul><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="623" valign="top"><p><!-- Each CU Install will Wipe This File. --><p><!-- Save a backup copy of web.config file --><p><!-- After CU install you can copy and paste backup web.config file --><p><add key="GetListDefaultResultSize" value="1500" /></p></td></tr></tbody></table><ul><li>Open another PS window and copy and paste one line to get the number of OU’s in your environment and note the settings.</li></ul><p># You can easily get your current OU count with simple one liner<table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="623" valign="top"><p># Getting OU count<p>(Get-OrganizationalUnit).count</p></td></tr></tbody></table><ul><li>Close web config</li><li>From PowerShell Type </li></ul><p>Restart-WebAppPool MSExchangeECPAppPool<ul><li>Perform same task on Each Exchange 2016 Server listed below</li></ul><p>Verification <ul><li>Open web browser and type following URL press enter, replace the server name with proper server name that is applicable for your environment</li></ul><p><a href="https://kckvex101/ecp/default.aspx">https://EX101/ecp/default.aspx</a><ul><li>Provide your credentials</li><li>Click Recipients</li><li>Click New, User Mailbox</li><li>Select new user</li><li>Click Browse </li><li>Make sure Under “Select an Organizational Unit” Section populates the OU Structure</li></ul><p><a href="https://lh3.googleusercontent.com/-aXMXPR7lGLY/WYuvqNMDCHI/AAAAAAAAPsI/nJCqHDJQgM0UN8_r_h3MnWImmjKoYyi-gCHMYCw/s1600-h/clip_image002%255B3%255D"><img width="244" height="177" title="clip_image002" style="margin: 0px; display: inline; background-image: none;" alt="clip_image002" src="https://lh3.googleusercontent.com/-NUFyqaKIczw/WYuvqkjb4KI/AAAAAAAAPsM/bRo_smdsqkMpNmpmpdAdhsULQOtBfMLTQCHMYCw/clip_image002_thumb?imgmax=800" border="0"></a></p><p><a href="https://lh3.googleusercontent.com/-fCL9WhtNWnU/WYuvrEvrhhI/AAAAAAAAPsQ/a7mCR3Yvsg4T3u_AAB0ROxaIqQBPB9KJwCHMYCw/s1600-h/clip_image004%255B3%255D"><img width="244" height="134" title="clip_image004" style="margin: 0px; display: inline; background-image: none;" alt="clip_image004" src="https://lh3.googleusercontent.com/-vfz0FcXFCqI/WYuvrTESubI/AAAAAAAAPsU/8nA92bJwPgkR_lOgcY1ywIjg-snfPNW7ACHMYCw/clip_image004_thumb?imgmax=800" border="0"></a><p><a href="https://lh3.googleusercontent.com/-lEw1H9kWP5U/WYuvr8rV0HI/AAAAAAAAPsY/kpU-koCDu5wGLc1HNjWu7UeYtvwSnj4wACHMYCw/s1600-h/clip_image006%255B3%255D"><img width="244" height="52" title="clip_image006" style="display: inline; background-image: none;" alt="clip_image006" src="https://lh3.googleusercontent.com/-ST3Zxcf5_Lk/WYuvsAu8WbI/AAAAAAAAPsc/AGKGATkTNF0BGPj8VJob1ytWrsHpsK5TgCHMYCw/clip_image006_thumb?imgmax=800" border="0"></a><ul><li>You will be able to see the OU’s </li><li>PS scripts to </li></ul><p># <b>Connect Remote Exchange 2016 Server, Specify Server to connect.</b><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="623" valign="top"><p># Change the server FQDN with server name you have.<p>Function Connect_E16 {<p>param(<p>[Parameter( Mandatory=$false)]<p>[string]$srv ="EXC01.smtp25.org"<p>)<p>$session = New-PSSession -ConfigurationName Microsoft.Exchange `<p>-ConnectionUri http://$srv/PowerShell/ `<p>-Authentication Kerberos <p>Import-PSSession $session -AllowClobber<p>} <p>Clear-host <p>write-host $null<p>Write-host "_Connecting Exchange 2016 Servers"<p>$Connect_E16</p></td></tr></tbody></table><p># Re-start MSExcangeECPAppPool Service on each Exchange Server <table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="623" valign="top"><p># (1)_.Exchange 2016 Array<p>foreach ($Server in $Servers)<p>{<p>$Servers = (Get-MailboxServer | ? {$_.AdminDisplayVersion -Match "^Version 15" }).name<p>Write-host "_Processing $Server"<p>Invoke-Command -ComputerName $server{<p>Write-host "()_Re-Starting MSExchangeECPAppPool Service "<p>Restart-WebAppPool MSExchangeECPAppPool<p>Write-host "_()Done" -f yellow<p>Write-host $Null<p>}}</p></td></tr></tbody></table><p># Check Server Health <table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="623" valign="top"><p><#<p>.NOTES <p>#=============================================<p># Script : Health_Check_Required_Services.ps1 <p># Created : ISE 3.0<p># Author(s) : casey.dedeal<p># Date : 08/09/2017 09:23:23<p># Org : ETC Solutions <p># File Name : <p># Comments :<p># Assumptions : <p>#<p>#==============================================<p>SYNOPSIS :<p>DESCRIPTION :<p>Acknowledgements :<p>Limitations :<p>Known issues :<p>.EXAMPLE<p>.\Health_Check_Required_Services.ps1 .ps1<p>Description<p>-----------<p>Runs the script to perform health check on Exchange 2016 Servers<p>#> <p>clear-host<p>write-host $null<p>#(a)_.Re-start MSExchangeECPAppPool Service On all Exchange Servers<p>$Servers = (Get-MailboxServer | ? {$_.AdminDisplayVersion -Match "^Version 15" }).name<p>#(b)_.Foreloop<p>$Foreloop = foreach ($Server in $Servers)<p>{<p>Write-host "_Checking $Server Health" -f yellow<p>Test-ServiceHealth | select Role,RequiredServicesRunning,ServicesRunning,ServicesNotRunning<p>}<p>#Out-Grid Results<p>$Foreloop | Out-GridView</p></td></tr></tbody></table><p>Make backup for Web.Config File<table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="623" valign="top"><p><#<p>.NOTES <p>#=============================================<p># Script : Copy_Web_Config_V1.ps1 <p># Created : ISE 3.0<p># Author(s) : casey.dedeal<p># Date : 08/09/2017 09:31:30<p># Org : ETC Solutions <p># File Name : <p># Comments :<p># Assumptions : <p>#<p>#==============================================<p>SYNOPSIS :<p>DESCRIPTION :<p>Acknowledgements :<p>Limitations :<p>Known issues :<p>.EXAMPLE<p>.\Get-Sample.ps1<p>Description<p>-----------<p>Runs the script to make copy of Web Config file<p>Specify Exchange 2016 Server Name <p>After each RU install you need to put the file back<p>#> <p>#(a)_.Variables<p>$user = $env:UserName<p>$dom = $env:UserDomain<p>$comp = $env:ComputerName<p>$date = get-date -Format yyyy-mm-dd<p>#(b)_.Source & Dest <p>$Source = "\\EXC01\d$\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\web.config"<p>$Dest = "C:\users\$user\Desktop\" <p>$file = "Web_Config_backup"<p>$Folder = $dest + $file + "_" + $date<p>$collec = $Source<p>write-host $null<p>write-host "--------$dom----------"<p>write-host "$user"<p>write-host "$comp"<p>Write-host "Copying Exchange 2016 Short-cuts" -f yellow<p>write-host "-------------------------"<p>#(c)_. Running foreach<p>foreach ($item in $collec)<p>{<p>If (Test-Path $source){<p>Write-host -fore yellow "Located $file "<p>New-Item -ItemType directory -Path $Folder<p>Copy-Item -Recurse $item -destination $Folder -Force<p>}Else{<p>write-host -fore red "Source File cannot be located"<p>write-host -fore yellow " Script Will Stop in 5 seconds"<p>Start-Sleep -Seconds 5<p>break<p>}} </p></td></tr></tbody></table><p>Oz Casey, Dedeal<br>Systems Engineer <br><a href="http://smtp25.blogspot.com/">http://smtp25.blogspot.com/</a> (Blog)<br><a href="http://telnet25.wordpress.com/">http://telnet25.wordpress.com/</a> (Blog)<br><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com1tag:blogger.com,1999:blog-3179219424167705024.post-12520130912618596852017-05-03T17:11:00.001-07:002017-05-03T17:11:19.002-07:00The setup wizard has determined that Certificate Revocation List(CRL) checking is enabled on this computer.<p>On the Server ( windows 2012 R2) you are having the issue, make a right click on Windows tile, and select run , type | control | and press enter. From control panel click view and change it to small icons, locate “Internet Options” double click on it to go to properties.Go to advance and drill down to “Security” section uncheck | Check for publisher’s certificate revocation”” click apply and close the window. Installing RU 16 on Exchange 2010 SP3.</p> <p><a href="https://lh3.googleusercontent.com/-rTxqQ_HUzi4/WQpxoGMWpcI/AAAAAAAALxU/rZckvAfdcXIg9SCQ4nVpytdDNnvzMhk1gCHM/s1600-h/image%255B6%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-WnA1l0k5_Zo/WQpxoojwx-I/AAAAAAAALxY/Z0P1aDOoqXYWgXvDXMDl8YhR0WK6PKfiQCHM/image_thumb%255B2%255D?imgmax=800" width="244" height="219"></a></p> <p>Run the setup after the changes. When finished you can revert the changes back.</p> <p><a href="https://lh3.googleusercontent.com/-YMimMJt7Bg8/WQpxpA6sheI/AAAAAAAALxc/3rwA-QfAPaoXwyFdJLt1RLzqkBTVEFMeQCHM/s1600-h/image%255B9%255D"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNTnNARFf6R6cL12yphZuNkGa392aKqhyphenhyphenfE_FH7i9bC3pItEmOSJkI4AlPQoRWsUcPTkGIB-lG60e31aPpJHtKoxjIh6wAvTmiSuMpU5MBkgpTiwRgBSkFo8PZ47RjO2j8Yki7h1wc7xo/?imgmax=800" width="244" height="143"></a></p> <p>Oz Casey, Dedeal <br>MCITP (EMA), MCITP (SA)<br>Security+, Project +, Server +<br><a href="http://smtp25.blogspot.com/">http://smtp25.blogspot.com/</a> (Blog)<br><a href="http://telnet25.wordpress.com/">http://telnet25.wordpress.com/</a> (Blog)<br><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter)</p>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com0tag:blogger.com,1999:blog-3179219424167705024.post-87035859067580223842017-03-02T11:26:00.001-08:002017-03-06T07:30:19.860-08:00Setting Throttling Policies For Cisco UnityRecently I ran into issues with Cisco/Unity within the Exchange 2010 environment. I wrote simple script to create Exchange Server Throttling policy based on CISCO’s white paper with their recommended values on the policy. Script can be found on TechNet Scripting Library <br />
<a href="https://lh3.googleusercontent.com/-FhONLgn08qQ/WLhx2JBOn9I/AAAAAAAALqw/sTWY9wIqO8w/s1600-h/image%25255B2%25255D.png"><img alt="image" border="0" height="77" src="https://lh3.googleusercontent.com/-tplITJRk5Nk/WLhx2arcZRI/AAAAAAAALq0/8IQy2IjRENM/image_thumb.png?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="image" width="244" /></a><br />
<a href="https://gallery.technet.microsoft.com/Set-Exchange-Server-60ff7055" title="https://gallery.technet.microsoft.com/Set-Exchange-Server-60ff7055">https://gallery.technet.microsoft.com/Set-Exchange-Server-60ff7055</a><br />
Few reminders with Cisco Unity: It is configured to work with EWS.Voice message put into user mailboxes via API , so you wont see Exchange server information within the message headers. if you are seeing random users not getting their VM, check throttling policy to make sure the recommended values set accordingly.<br />
<br />EWSPercentTimeInCAS : 300<br />EWSPercentTimeInMailboxRPC : 200<br />EWSFindCountLimit : 10000<br />EWSPercentTimeinAD : 100<br />
<br />
<br />
<br />
Oz Casey, Dedeal (MVP North America)<br />MCITP (EMA), MCITP (SA)<br />Security+, Project +, Server +<br /><a href="http://smtp25.blogspot.com/">http://smtp25.blogspot.com/</a> (Blog)<br /><a href="http://telnet25.wordpress.com/">http://telnet25.wordpress.com/</a> (Blog)<br /><a href="https://twitter.com/Message_Talk">https://twitter.com/Message_Talk</a> (Twitter) Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com2tag:blogger.com,1999:blog-3179219424167705024.post-73916659843996027272016-04-25T20:28:00.001-07:002016-04-25T20:28:46.381-07:00Create installation media for IFM<p><font face="Segoe MDL2 Assets">There are times, when installing domain controller, you may want to choose install from media option to start with, remote sites Domain Controllers installation. Perhaps bandwidth is the concern. In similar situations we will prepare IFM to use. Log into your domain controller as an administrator. Open Command prompt with your administrator credentials. Click start on the run menu type cmd.exe and press enter and accept any UAC prompt. At the Administrator command prompt Type:</font></p> <ol> <li><strong><font face="Segoe UI">Ntdsutil</font></strong></li> <li><strong><font face="Segoe UI">activate instance ntds</font></strong></li> <li><strong><font face="Segoe UI">IFM</font></strong></li> <li><strong><font face="Segoe UI">create sysvol full <Drive>:\<InstallationMediaFolder></font></strong></li></ol> <p><a href="https://lh3.googleusercontent.com/-lKUIH9k4Dj4/Vx7gZ_o_PUI/AAAAAAAAKpA/nDFHKxAGPN8/s1600-h/image%25255B2%25255D.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-uB6nVigKHys/Vx7gafYCmZI/AAAAAAAAKpE/bA01i4HotG8/image_thumb.png?imgmax=800" width="244" height="127"></a></p> <p><a href="https://lh3.googleusercontent.com/-fu0AaOvMg1s/Vx7gaqIY_yI/AAAAAAAAKpI/By7H5t5GYrc/s1600-h/image%25255B5%25255D.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-O2MCMm-RIbQ/Vx7gbPUlaxI/AAAAAAAAKpM/J0cRVGmtiYY/image_thumb%25255B1%25255D.png?imgmax=800" width="244" height="126"></a></p> <p>You can use Robocopy to move IFM media to destination server to prepare install from media on windows 2012 R2 environment.</p> <p><a href="https://gallery.technet.microsoft.com/scriptcenter/RemoteServerRobocopy-Files-4c6c848f" target="_blank"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-LaD6qld4xnw/Vx7gbSSwbWI/AAAAAAAAKpQ/Si9CtZZuI0w/image%25255B9%25255D.png?imgmax=800" width="244" height="133"></a></p> <p>You can download Robocopy script from TechNet Library </p> <p><font face="Segoe UI">Oz Casey, Dedeal (MVP North America)<br>MCITP (EMA), MCITP (SA)<br>Security+, Project +, Server +<br></font><a href="http://smtp25.blogspot.com/"><font face="Segoe UI">http://smtp25.blogspot.com/</font></a><font face="Segoe UI"> (Blog)<br></font><a href="http://telnet25.wordpress.com/"><font face="Segoe UI">http://telnet25.wordpress.com/</font></a><font face="Segoe UI"> (Blog)<br></font><a href="https://twitter.com/Message_Talk"><font face="Segoe UI">https://twitter.com/Message_Talk</font></a><font face="Segoe UI"> (Twitter)</font></p>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com7tag:blogger.com,1999:blog-3179219424167705024.post-81817558268245398942016-04-06T20:44:00.001-07:002016-04-06T20:44:14.842-07:00Create Virtual Host via PowerShell<p><font color="#666666" face="Segoe UI">This simple PowerShell script will assist you to configure virtual machines on your HyperV Server. Script will create virtual host , create virtual hard disks and mount the ISO file. All you have to do is , start the VM and follow install wizard to complete the settings.</font></p> <p><a href="https://lh3.googleusercontent.com/-SpTgiP-oGz4/VwXWwmE4JyI/AAAAAAAAKnk/JeKMPcLnLKA/s1600-h/image%25255B2%25255D.png"><font color="#4bacc6"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-oa34bTW1z7w/VwXWxPnVQGI/AAAAAAAAKno/mUFkb_ok2zU/image_thumb.png?imgmax=800" width="244" height="76"></font></a></p> <p><a href="https://lh3.googleusercontent.com/-VflMTaGW1p4/VwXWxntG_hI/AAAAAAAAKns/R8QFd4c8cQY/s1600-h/image%25255B5%25255D.png"><font color="#4bacc6"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-2BWe4OG628Y/VwXWyDHEFlI/AAAAAAAAKnw/wPvsvagbOSE/image_thumb%25255B1%25255D.png?imgmax=800" width="244" height="87"></font></a></p> <p><font color="#4bacc6"></font> </p> <p><font color="#4bacc6"></font></p> <p><a href="https://lh3.googleusercontent.com/-k2WXbevQFKQ/VwXWyuU1zlI/AAAAAAAAKn0/PQTUomgVvPM/s1600-h/image%25255B8%25255D.png"><font color="#4bacc6"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-fyE33gFkdQg/VwXWy2pfkpI/AAAAAAAAKn4/t0izgrLcpAA/image_thumb%25255B2%25255D.png?imgmax=800" width="244" height="81"></font></a></p> <p><a href="https://lh3.googleusercontent.com/-7TfOX54VASY/VwXWzcMJVaI/AAAAAAAAKn8/wLSt-3J3Ers/s1600-h/image%25255B11%25255D.png"><font color="#4bacc6"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-WPaINRPr_Y8/VwXWz1xuttI/AAAAAAAAKoA/gS9jJKvPVuw/image_thumb%25255B3%25255D.png?imgmax=800" width="244" height="103"></font></a></p> <p><font color="#4bacc6"></font> </p> <table cellspacing="0" cellpadding="2" width="400" border="1"> <tbody> <tr> <td valign="top" width="400"><font color="#9bbb59" face="Segoe UI"><# <br>.NOTES <br>#============================================== <br># Script: Create_VM_App_Server_NR.ps1 <br># Created With:ISE 3.0 <br># Author: Casey Dedeal <br># Date: 04/06/2016 22:58:41 <br># Organization: ETC SOLUTIONS <br># File Name: Create_VM_App_Server_NR.ps1 <br># Comments: First Version <br>#============================================= <br>.DESCRIPTION <br> Create_VM_App_Server_NR.ps1 <br>============================================== <br>Change these variables <br>$path = "A:\HyperV_" ( Change the Path ) <br>$ISOPath = "A:\ISO\en_windows_server_2012_r2_x64_dvd_2707946.ISO" <br>==============================================</font></td></tr></tbody></table> <p><a href="https://lh3.googleusercontent.com/-jLNKZ4j-jN0/VwXXSvCpdMI/AAAAAAAAKoE/Px60yB1U550/s1600-h/image%25255B14%25255D.png"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-n113z4aAxgE/VwXXTM6s21I/AAAAAAAAKoI/NikZD6QuvdY/image_thumb%25255B4%25255D.png?imgmax=800" width="244" height="126"></a></p> <p><a title="https://gallery.technet.microsoft.com/scriptcenter/PowerShell-createHyperV-59fe68cd" href="https://gallery.technet.microsoft.com/scriptcenter/PowerShell-createHyperV-59fe68cd">https://gallery.technet.microsoft.com/scriptcenter/PowerShell-createHyperV-59fe68cd</a></p> <p><font face="Segoe UI">Oz Casey, Dedeal (MVP North America) <br>MCITP (EMA), MCITP (SA) <br>Security+, Project +, Server + <br></font><a href="http://smtp25.blogspot.com/"><font face="Segoe UI">http://smtp25.blogspot.com/</font></a><font face="Segoe UI"> (Blog) <br></font><a href="http://telnet25.wordpress.com/"><font face="Segoe UI">http://telnet25.wordpress.com/</font></a><font face="Segoe UI"> (Blog) <br></font><a href="https://twitter.com/Message_Talk"><font face="Segoe UI">https://twitter.com/Message_Talk</font></a><font face="Segoe UI"> (Twitter)</font></p>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com1tag:blogger.com,1999:blog-3179219424167705024.post-80987041496777542442016-02-27T19:05:00.001-08:002016-02-27T19:05:29.564-08:00Installing Windows 2012 R2 Domain Controller Step by Step Guidelines<h3><font face="Segoe UI"></font></h3> <p><font face="Segoe UI">Purpose of this document is to demonstrate installing and configuring Windows 2012 R2 Domain Controllers into Existing Forest/Domain Environment. </font> <p><font face="Segoe UI">1. ADDING SERVER TO DOMAIN </font> <p><font face="Segoe UI">1. Logon to Windows 2012 R2 Server with Administrator account and provide your credentials.</font> <p><font face="Segoe UI">2. Click start, locate PowerShell and double click on it</font> <p><font face="Segoe UI">3. In the PowerShell window type | Hostname| and press enter</font> <p><a href="https://lh3.googleusercontent.com/-l0Fo4QgzPos/VtJjyPY9NlI/AAAAAAAAKkU/crxO-LwPEZs/s1600-h/clip_image002%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002" src="https://lh3.googleusercontent.com/-twhstRBOFIE/VtJjyZt5tqI/AAAAAAAAKkY/MKJc4sgbiPY/clip_image002_thumb.jpg?imgmax=800" width="244" height="46"></font></a> <p><font face="Segoe UI">4. This is default Server name came with installation </font> <p><font face="Segoe UI">5. We will rename the server and restart it with following PS command</font> <p><font face="Segoe UI">6. On the PS window type | Rename-Computer -NewName DC4 -Restart | and press enter</font> <p><a href="https://lh3.googleusercontent.com/-wUz_Bti7eT4/VtJjy4qyN4I/AAAAAAAAKkc/HVKCjbxCNZU/s1600-h/clip_image004%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image004" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image004" src="https://lh3.googleusercontent.com/-VPflucnulDg/VtJjzIoNxaI/AAAAAAAAKkg/c2wpA0ic028/clip_image004_thumb.jpg?imgmax=800" width="244" height="50"></font></a> <p><font face="Segoe UI">7. Logon to Server with administrator credentials, Open PS with administrator credentials and type |Hostname| and press enter to verify the new name.</font> <p><font face="Segoe UI">8. On the PS type | NCPA.CPL | and press enter.</font> <p><font face="Segoe UI">9. Locate network interface card make a right click, rename it to PROD and go to properties. Un-select TCP/IPv6</font> <p><font face="Segoe UI">10. Select TCP/IPv4, click properties, select use the following IP address and assign Static IP address </font> <p><a href="https://lh3.googleusercontent.com/-Bs35YsW6etc/VtJjzv-7W7I/AAAAAAAAKkk/-ltORsJbGco/s1600-h/clip_image006%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image006" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image006" src="https://lh3.googleusercontent.com/-UB4Bds3zr5Q/VtJj0AVAIpI/AAAAAAAAKko/i11g5H224kU/clip_image006_thumb.jpg?imgmax=800" width="244" height="71"></font></a> <p><font face="Segoe UI">Note: The Primary DNS Server is set to, one of the available Domain controller in the environment.</font> <p><font face="Segoe UI">11. Close Network interface card configuration and open PowerShell and type | Lookup |and press enter</font> <p><font face="Segoe UI">12. Verify valid domain controller is configured. </font> <p><a href="https://lh3.googleusercontent.com/-XMHRxm4rSw8/VtJj0fmkPmI/AAAAAAAAKks/FizuJagsrdY/s1600-h/clip_image008%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image008" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image008" src="https://lh3.googleusercontent.com/-dt-7XJoDIJ0/VtJj1BfDHyI/AAAAAAAAKkw/caS4-UnuuFg/clip_image008_thumb.jpg?imgmax=800" width="244" height="58"></font></a> <p><font face="Segoe UI">13. Now it is time to add the server into domain, Server has been named so far and we have configured with static IP address and pointed to valid Domain Controller on TCP/IP Properties with Primary DNS Configuration </font> <p><font face="Segoe UI">14. Open PowerShell and type following command, when you are asked to supply credentials, you need to provide it as Domain\Administrator and the proper password. After joining to domain, server will re-start.</font> <table cellspacing="0" cellpadding="0" border="1"> <tbody> <tr> <td valign="top" width="987"> <p><b><font face="Segoe UI">$Domain = “TekPros”</font></b> <p><b><font face="Segoe UI">Add-Computer -DomainName $DomainName -Restart</font></b></p></td></tr></tbody></table> <p><a href="https://lh3.googleusercontent.com/-yRa1DuWxEBI/VtJj1Z91PsI/AAAAAAAAKk0/wmcbh6sY-NY/s1600-h/clip_image010%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image010" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image010" src="https://lh3.googleusercontent.com/-bMsXDQqnOQ0/VtJj19E2UwI/AAAAAAAAKk4/QMH8eWdHev0/clip_image010_thumb.jpg?imgmax=800" width="244" height="59"></font></a> <p><font face="Segoe UI">15. Log back into “Domain”, provide your administrator credentials</font> <p><a href="https://lh3.googleusercontent.com/-g_fHiZq9l18/VtJj2QKuhrI/AAAAAAAAKk8/2QyymesIUq8/s1600-h/clip_image012%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image012" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image012" src="https://lh3.googleusercontent.com/-_IEcSU9n0Is/VtJj2iFblsI/AAAAAAAAKlA/5ciXsG-SNKE/clip_image012_thumb.jpg?imgmax=800" width="244" height="91"></font></a> <p><font face="Segoe UI">Now server is prepped and we can move forward adding required futures to be Domain Controller</font> <p><font face="Segoe UI">2.PREPARING SERVER, ADDING REQUIRED FUTURES</font> <p><font face="Segoe UI">1. Log back into Server, Open PowerShell, on the PowerShell type | ServerManager | and press enter</font> <p><font face="Segoe UI">2. Click manage and select add roles and futures</font> <p><font face="Segoe UI">3. Click Next | Role based or future based installation | selected and click next | Select server from pool | selected</font> <p><font face="Segoe UI">4. Select Server from pool and click next | click add futures | </font> <p><a href="https://lh3.googleusercontent.com/-mHjPfnFkiiU/VtJj3OAC4bI/AAAAAAAAKlE/dTeyfudTXAQ/s1600-h/clip_image014%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image014" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image014" src="https://lh3.googleusercontent.com/-66hNB6TIHac/VtJj3gdAi9I/AAAAAAAAKlI/1v-wgQ7M8qw/clip_image014_thumb.jpg?imgmax=800" width="244" height="180"></font></a> <p><font face="Segoe UI">5. Select DNS Server and click add futures | Next| Group Policy management | selected </font> <p><font face="Segoe UI">6. Click | Next | Next | Next | and click Install</font> <p><font face="Segoe UI">7. Required Roles has been added, now server is ready for promotions</font> <p><font face="Segoe UI">3.PROMOTE SERVER TO BE DOMAIN CONTROLLER<b></b></font> <p><font face="Segoe UI">1. From recently opened ServerManager window, click on top notifications section</font> <p><font face="Segoe UI">2. Select | Promote this server to a domain controller | </font> <p><a href="https://lh3.googleusercontent.com/-rDVYyx0Dqf0/VtJj361hHyI/AAAAAAAAKlM/YjdrqJm5Cug/s1600-h/clip_image016%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image016" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image016" src="https://lh3.googleusercontent.com/-16_RNHStmEM/VtJj4UP6bhI/AAAAAAAAKlQ/5UxIud1pD_I/clip_image016_thumb.jpg?imgmax=800" width="244" height="181"></font></a> <p><font face="Segoe UI">3. Deployment Configuration Menu, | Add a domain controller to existing domain | selected </font> <p><font face="Segoe UI">4. Domain is also selected, Domain administrator account credentials are selected</font> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRuZZFfIG5ChUQg6bLfu7P1n5TjwKpqP9PD8yh44G1OlC1jVLN3ZnoBcsPUegA8l5lulIBDE7_pyXcfRmrONS7Fe3sAv2CZZTI2pGc35gNAZqHNsaWJwGk4zxaXv3xsRdssF34GSAYDkY/s1600-h/clip_image018%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image018" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image018" src="https://lh3.googleusercontent.com/-0SpOj9BIzvw/VtJj529nuCI/AAAAAAAAKlY/WfbtNAJcCuM/clip_image018_thumb.jpg?imgmax=800" width="244" height="185"></font></a> <p><font face="Segoe UI">5. Click Next, | Global Catalog | selected, | Site name | select AD Site you wish to place this domain controller | Type DSRM password | click Next</font> <p><a href="https://lh3.googleusercontent.com/-_0MI7zXve9Q/VtJj6VtykvI/AAAAAAAAKlc/1pukg8cBUh4/s1600-h/clip_image020%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image020" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image020" src="https://lh3.googleusercontent.com/-fuqKQwysqC8/VtJj665rEVI/AAAAAAAAKlg/qVKUvOMUERw/clip_image020_thumb.jpg?imgmax=800" width="244" height="182"></font></a> <p><font face="Segoe UI">6. Click Next twice, and now you have option to select what Domain Controller you would like to replicate from </font> <p><a href="https://lh3.googleusercontent.com/-THao74TX53M/VtJj7YOUTEI/AAAAAAAAKlk/Dr8OcEoFMrQ/s1600-h/clip_image022%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image022" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image022" src="https://lh3.googleusercontent.com/-ZgqeY96Kpk4/VtJj7rTC_qI/AAAAAAAAKlo/2Jr9iIXc0zs/clip_image022_thumb.jpg?imgmax=800" width="244" height="167"></font></a> <p><font face="Segoe UI">7. Click next </font> <p><a href="https://lh3.googleusercontent.com/-Z0nzPmJ1G5I/VtJj8NR-zpI/AAAAAAAAKls/CYeGtVcdbKs/s1600-h/clip_image024%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image024" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image024" src="https://lh3.googleusercontent.com/-gD2ONRDWDuY/VtJj8jBmTiI/AAAAAAAAKlw/ZyZknzSdTjU/clip_image024_thumb.jpg?imgmax=800" width="244" height="184"></font></a> <p><font face="Segoe UI">8. Now select the database, log files and SYSVOL location </font> <p><font face="Segoe UI">9. Click Next twice </font> <p><a href="https://lh3.googleusercontent.com/-uHZc1NhIXi4/VtJj81pMWFI/AAAAAAAAKl0/PC1sVrhrwCY/s1600-h/clip_image026%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image026" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image026" src="https://lh3.googleusercontent.com/-vlBhHgKnIuk/VtJj9ZaEHVI/AAAAAAAAKl4/E1VBU5Cz1FM/clip_image026_thumb.jpg?imgmax=800" width="244" height="173"></font></a> <p><font face="Segoe UI">10. Click Install </font> <p><font face="Segoe UI">11. Once the replication is completed |. DIT Database | you can open site and services by typing | Dssite.msc | and locate the domain controller.</font> <p><a href="https://lh3.googleusercontent.com/-rqR1Yz-73VQ/VtJj9kBuGnI/AAAAAAAAKl8/34WZYW0df54/s1600-h/clip_image028%25255B3%25255D.jpg"><font face="Segoe UI"><img title="clip_image028" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image028" src="https://lh3.googleusercontent.com/-e3aBsXpSKAw/VtJj-M64WJI/AAAAAAAAKmA/dcEUZZo13p4/clip_image028_thumb.jpg?imgmax=800" width="244" height="197"></font></a> <p><font face="Segoe UI">You can also download a copy from below link<br></font><a href="http://1drv.ms/1oPBQcu"><font face="Segoe UI">http://1drv.ms/1oPBQcu</font></a></p> <p><font face="Segoe UI">Oz Casey, Dedeal (MVP North America)<br>MCITP (EMA), MCITP (SA)<br>Security+, Project +, Server +<br></font><a href="http://smtp25.blogspot.com/"><font face="Segoe UI">http://smtp25.blogspot.com/</font></a><font face="Segoe UI"> (Blog)<br></font><a href="http://telnet25.wordpress.com/"><font face="Segoe UI">http://telnet25.wordpress.com/</font></a><font face="Segoe UI"> (Blog)<br></font><a href="https://twitter.com/Message_Talk"><font face="Segoe UI">https://twitter.com/Message_Talk</font></a><font face="Segoe UI"> (Twitter)</font></p>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com13tag:blogger.com,1999:blog-3179219424167705024.post-39848702929106055032016-02-14T19:57:00.001-08:002016-02-14T19:57:00.987-08:00Configure ISE Profile For More Efficient Scripting<p><font face="Segoe UI">Do you want your ISE to be more efficient, when writing scripts and getting your daily work done? If your answer is “yes” here is simple profile script to assist you. Download from TechNet Scripting Center.<br></font><a href="https://gallery.technet.microsoft.com/scriptcenter/ISE-Profile-Setup-659ed86d"><font face="Segoe UI">https://gallery.technet.microsoft.com/scriptcenter/ISE-Profile-Setup-659ed86d</font></a><br><font face="Segoe UI">You can simply add more, make sure you replace the server names to make it fit to your environment. Download above profile script and add below adds-on.</font></p> <p><font face="Segoe UI"># <b>Connect Exchange 2010 Remote PowerShell</b><br>$psISE.CurrentPowerShellTab.AddOnsMenu.SubMenus.Add(<br> "Connect to Exchange 2010",<br> {<br> $s = New-PSSession -ConfigurationName Microsoft.Exchange `<br> -ConnectionUri </font><a href="http://mail1.TekPros.com/PowerShell/"><font face="Segoe UI">http://mail1.TekPros.com/PowerShell/</font></a><font face="Segoe UI"> `<br> -Authentication Kerberos<br> Import-PSSession $s<br> },<br> "Control+Alt+E"<br>)</font> <p><font face="Segoe UI"><b># Connect Lync Remote PowerShell</b><br>$psISE.CurrentPowerShellTab.AddOnsMenu.SubMenus.Add(<br> "Connect to Lync Remote PowerShell",<br> {<br> $lync_S = New-PSSession -ConnectionUri </font><a href="https://LyncServer.TekPros.com/ocspowershell"><font face="Segoe UI">https://LyncServer.TekPros.com/ocspowershell</font></a><font face="Segoe UI"> `<br> -SessionOption $lyncOptions `<br> -Authentication NegotiateWithImplicitCredential `<br> -Authentication Kerberos<br> Import-PSSession $lync_S<br> },<br> "Control+Alt+L"<br>)</font> <p><a href="https://lh3.googleusercontent.com/-RD4-trMUd3o/VsFMimCcevI/AAAAAAAAKhM/cKPVj0Opl2A/s1600-h/image%25255B2%25255D.png"><font face="Segoe UI"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; margin: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://lh3.googleusercontent.com/-X3nluXZHzGM/VsFMi_1evSI/AAAAAAAAKhQ/Ci8F9HQNG4U/image_thumb.png?imgmax=800" width="244" height="102"></font></a> <p><font face="Segoe UI"></font> <p><font face="Segoe UI"></font> </p><font face="Segoe UI">Oz Casey, Dedeal (MVP North America)<br>MCITP (EMA), MCITP (SA)<br>Security+, Project +, Server +<br></font><a href="http://smtp25.blogspot.com/"><font face="Segoe UI">http://smtp25.blogspot.com/</font></a><font face="Segoe UI"> (Blog)<br></font><a href="http://telnet25.wordpress.com/"><font face="Segoe UI">http://telnet25.wordpress.com/</font></a><font face="Segoe UI"> (Blog)<br></font><a href="https://twitter.com/Message_Talk"><font face="Segoe UI">https://twitter.com/Message_Talk</font></a><font face="Segoe UI"> (Twitter)</font>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com1tag:blogger.com,1999:blog-3179219424167705024.post-45214150604796437102016-02-10T19:58:00.001-08:002016-02-10T19:58:42.733-08:00Windows 2012 R2 Deploy Certificate Authority Step by Step Part-1<ul> <li><font face="Segoe UI">Log on to <Your_Windows_2012_R2_Server> as a domain administrator.</font> <li><font face="Segoe UI">Click Start, | PowerShell| Type "ServerManager" , press enter </font> <li><font face="Segoe UI">Click Add roles | next | leave default </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-GhQ0-TC1vEE/VrwGssinswI/AAAAAAAAKbo/sSm2FznGWas/s1600-h/clip_image001%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image001" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image001" src="https://lh3.googleusercontent.com/-FI8nQurp6iA/VrwGtWhsQwI/AAAAAAAAKbs/OAiahbtX5mw/clip_image001_thumb.png?imgmax=800" width="244" height="174"></font></a></p> <ul> <li><font face="Segoe UI">Click | Next</font></li></ul> <p><a href="https://lh3.googleusercontent.com/-EZHLZ1hv9WE/VrwGtuH8B7I/AAAAAAAAKbw/yp9ctfW_K1Y/s1600-h/clip_image002%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image002" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image002" src="https://lh3.googleusercontent.com/-6fNpQo_SIvo/VrwGuPYLG1I/AAAAAAAAKb0/Q_Ddc5w_i5U/clip_image002_thumb.png?imgmax=800" width="244" height="172"></font></a></p> <ul> <li><font face="Segoe UI">Select | Active Directory Certificate Services </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-gGYU7SrptJ8/VrwGueRDh1I/AAAAAAAAKb4/dSLvKmH3T6I/s1600-h/clip_image003%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image003" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image003" src="https://lh3.googleusercontent.com/-oPos11dRAO8/VrwGuyo5nwI/AAAAAAAAKb8/Vj0AGRzpCz4/clip_image003_thumb.png?imgmax=800" width="244" height="179"></font></a></p> <ul> <li><font face="Segoe UI">Add required Futures | Press twice Next </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-hLL27CKgwco/VrwGvcqB9nI/AAAAAAAAKcA/JXP5OoSUOkI/s1600-h/clip_image004%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image004" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image004" src="https://lh3.googleusercontent.com/-4fYtW7Zi1G8/VrwGv8pWkSI/AAAAAAAAKcE/1m7KxyDSbSQ/clip_image004_thumb.png?imgmax=800" width="244" height="174"></font></a> </p> <ul> <li><font face="Segoe UI">Click Next again | Select Certificate Authority | CA Web Enrolment </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-b5oo7kEHFGg/VrwGwB7ZBgI/AAAAAAAAKcI/-kO15xwpmeI/s1600-h/clip_image005%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image005" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image005" src="https://lh3.googleusercontent.com/-0ki8Y3iw0hg/VrwGwlJH78I/AAAAAAAAKcM/DkgHU5JFRJI/clip_image005_thumb.png?imgmax=800" width="244" height="175"></font></a> </p> <ul> <li><font face="Segoe UI">Next | Install</font> </li></ul> <p><a href="https://lh3.googleusercontent.com/-JExuZVJ1no8/VrwGxFsg1cI/AAAAAAAAKcQ/RkeMM03XwRA/s1600-h/clip_image006%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image006" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image006" src="https://lh3.googleusercontent.com/-mW5yP5WA494/VrwGyHgBaaI/AAAAAAAAKcU/qYhFxrwxFJc/clip_image006_thumb.png?imgmax=800" width="244" height="177"></font></a> </p> <ul> <li><font face="Segoe UI">Go back to Server Manager | Post Deployment Configuration</font> </li></ul> <p><a href="https://lh3.googleusercontent.com/-Fx3_2A8qxOc/VrwGyRqfQ7I/AAAAAAAAKcY/ZtsQeahRFvA/s1600-h/clip_image007%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image007" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image007" src="https://lh3.googleusercontent.com/-2ws_5O-NEdc/VrwGy92d3EI/AAAAAAAAKcc/vVteXRmrXbU/clip_image007_thumb.png?imgmax=800" width="244" height="152"></font></a> </p> <ul> <li><font face="Segoe UI">Next</font> </li></ul> <p><a href="https://lh3.googleusercontent.com/-tMEarDbO-aQ/VrwGzSxGtXI/AAAAAAAAKcg/b3sQBpxY8Bs/s1600-h/clip_image008%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image008" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image008" src="https://lh3.googleusercontent.com/-7tXLUG42Jrs/VrwGz0c2VdI/AAAAAAAAKck/Zy6a8Vuxv1c/clip_image008_thumb.png?imgmax=800" width="244" height="181"></font></a> </p> <ul> <li><font face="Segoe UI">Select | Certificate Authority | CA Web Enrolment </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-c5ru5Ua-xRA/VrwG0LA3gUI/AAAAAAAAKco/uKT5GDe2CUY/s1600-h/clip_image009%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image009" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image009" src="https://lh3.googleusercontent.com/-8HkHCtSaEr4/VrwG0mrV7TI/AAAAAAAAKcs/sJvPGdw5veg/clip_image009_thumb.png?imgmax=800" width="244" height="179"></font></a> </p> <ul> <li><font face="Segoe UI">Select | Enterprise CA | Next</font> </li></ul> <p><a href="https://lh3.googleusercontent.com/-7bhyNj4wQbk/VrwG1OQGzCI/AAAAAAAAKcw/Ql966RKqtrY/s1600-h/clip_image010%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image010" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image010" src="https://lh3.googleusercontent.com/-MUhr9GZ0aI4/VrwG1kwoRyI/AAAAAAAAKc0/i_79c_cPB40/clip_image010_thumb.png?imgmax=800" width="244" height="180"></font></a> </p> <ul> <li><font face="Segoe UI">Select | Root CA | Next</font> </li></ul> <p><a href="https://lh3.googleusercontent.com/-6j6h8_o8zAs/VrwG18dp_0I/AAAAAAAAKc4/L8IiUiGyZlo/s1600-h/clip_image011%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image011" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image011" src="https://lh3.googleusercontent.com/-kRjko3I0few/VrwG2SLU5bI/AAAAAAAAKc8/ftYYLfH5Eoc/clip_image011_thumb.png?imgmax=800" width="244" height="179"></font></a> </p> <ul> <li><font face="Segoe UI">Select | Create a new Private Key | Next </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-eDVJs2EHWs0/VrwG22YQ7qI/AAAAAAAAKdA/UsvZj9XvQUs/s1600-h/clip_image012%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image012" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image012" src="https://lh3.googleusercontent.com/-gQRV5p43fYk/VrwG3QrRkiI/AAAAAAAAKdE/sr0WzONyWso/clip_image012_thumb.png?imgmax=800" width="244" height="181"></font></a> </p> <ul> <li><font face="Segoe UI">Select | RSA # Microsoft Software Key Storage Provider | Key Length 4096 | SHA256</font> </li></ul> <p><a href="https://lh3.googleusercontent.com/-B5JpALOgNYc/VrwG3kLRKXI/AAAAAAAAKdI/M1swHvfdY_Y/s1600-h/clip_image013%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image013" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image013" src="https://lh3.googleusercontent.com/-PYKXtrlC6eY/VrwG4NuU3fI/AAAAAAAAKdM/v5HafMk7aGk/clip_image013_thumb.png?imgmax=800" width="244" height="182"></font></a> </p> <ul> <li><font face="Segoe UI">Click Next | Accept default </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-vTqdp9GhWs4/VrwG4bdtiFI/AAAAAAAAKdQ/En6htvN2Vbs/s1600-h/clip_image014%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image014" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image014" src="https://lh3.googleusercontent.com/-znq-JAzJ3ZI/VrwG41PdA6I/AAAAAAAAKdU/x_vj12QHZ0I/clip_image014_thumb.png?imgmax=800" width="244" height="182"></font></a> </p> <ul> <li><font face="Segoe UI">Accept Default | Click Next </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-4tqOM8oWtLw/VrwG5V8FhCI/AAAAAAAAKdY/6ollIwkMAbA/s1600-h/clip_image015%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image015" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image015" src="https://lh3.googleusercontent.com/-KFPUGqnyQFI/VrwG5y-xWTI/AAAAAAAAKdc/HjggGSa7klw/clip_image015_thumb.png?imgmax=800" width="244" height="178"></font></a> </p> <ul> <li><font face="Segoe UI">Accept Defaults | Click Next</font> </li></ul> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXV6H3GRsXGCQDXbprfsk7pVby4CNZ8iP34mkpNrpSk3j1Reype6N-tTqd9uRUbUawPq4cMxnfKqW7sapCxp0EmArUl9lS2pp2KC7no6MNtM-CDgySqdPu0WA1ZnqLWvn8vhuKEjGuFF0/s1600-h/clip_image016%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image016" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image016" src="https://lh3.googleusercontent.com/-lRX28zYIU2s/VrwG6hNEyWI/AAAAAAAAKdk/MHWsM19KrTY/clip_image016_thumb.png?imgmax=800" width="244" height="179"></font></a> </p> <ul> <li><font face="Segoe UI">Click | Configure </font></li></ul> <p><a href="https://lh3.googleusercontent.com/-QduU0sVWCqw/VrwG61VrGVI/AAAAAAAAKdo/dDqOz9qQ_II/s1600-h/clip_image017%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image017" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image017" src="https://lh3.googleusercontent.com/-ejx_dRqd2v4/VrwG7k08mlI/AAAAAAAAKds/2vxONpobKbQ/clip_image017_thumb.png?imgmax=800" width="244" height="182"></font></a> </p> <ul> <li><font face="Segoe UI">Results page | Click Close</font></li></ul> <p><a href="https://lh3.googleusercontent.com/-DGrGElzbTnU/VrwG7348FrI/AAAAAAAAKdw/aA4rUWSphaY/s1600-h/clip_image018%25255B3%25255D.png"><font face="Segoe UI"><img title="clip_image018" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image018" src="https://lh3.googleusercontent.com/-K84Mv0gki6M/VrwG8T09IiI/AAAAAAAAKd0/ESZdZYrMYPg/clip_image018_thumb.png?imgmax=800" width="244" height="182"></font></a></p> <p><font face="Segoe UI"></font></p> <p><font face="Segoe UI">Part 1 is completed.</font></p> <p><font face="Segoe UI"><a href="https://technet.microsoft.com/en-us/library/cc731183.aspx" target="_blank">MS link</a></font></p><font face="Segoe Script">Oz Casey, Dedeal (MVP North America)<br>MCITP (EMA), MCITP (SA)<br>Security+, Project +, Server +<br></font><a href="http://smtp25.blogspot.com/"><font face="Segoe Script">http://smtp25.blogspot.com/</font></a><font face="Segoe Script"> (Blog)<br></font><a href="http://telnet25.wordpress.com/"><font face="Segoe Script">http://telnet25.wordpress.com/</font></a><font face="Segoe Script"> (Blog)<br></font><a href="https://twitter.com/Message_Talk"><font face="Segoe Script">https://twitter.com/Message_Talk</font></a><font face="Segoe Script"> (Twitter</font>Oz Casey, Dedealhttp://www.blogger.com/profile/12226180672457689907noreply@blogger.com1