Need assistance with a PowerShell 5.1 script?
Need assistance with a PowerShell 5.1 script?
We cannot assist with writing that script for you.
Forum guidelines forbid homework assignments.
We simply lack the means to confirm the situation accurately.
You should create your own script, run it, and check for issues.
Share your script with any concerns or suspected problems, along with possible solutions.
That is the correct approach here.