Question: Create a PowerShell Script using do while loop for the following scenario. Include comment lines in your script. Open 4 instances of notepad on your
Create a PowerShell Script using do while loop for the following scenario. Include comment lines in your script.
Open instances of "notepad" on your Windows VM Write a PowerShell script using do while loop that displays "Notepad is running" at an interval of second.
Once all the instances have been closed, it should stop displaying that "Notepad is running". In the end, it should also show the number of times the statement was displayed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
