Yesterday, at the end of my post, I mentioned that displaying information on the screen can slow down processing time.  It is true.  Here is a simple test.     First of all, execute this code in the ISE     Function  Test-Information   {   [ cmdletbinding () ]   Param ()       For  ( $X  =  0  ; $X  -lt  1000 ; $X ++ )   {       Write-Information  -MessageData  "The value of X is $X "   }         Write-Information  -MessageData  "Script Complete"  -InformationAction  Continue   }     Next execute this line of code.   PS C:\> Measure-Command -Expression {Test-Information}   Script Complete       Days              : 0   Hours             : 0   Minutes           : 0   Seconds           : 0   Milliseconds   ...
Welcome to the blogsite of MCTExpert. I am a Microsoft Certified Trainer. Here you will find the real questions that are asked to me by my students.