Where this code required? In many scenario, we will got the requirement for moving the specific files from the large number of files from one location to another location based some filter on the file name.
Mostly No one have interest to wait for some time to complete the work/task/execution.But in certain situation, that's is not always possible to completed the task without waiting for few seconds/Minutes. In Powershell if you wrote
In Every day, sysadmins have to perform various standard operations on the numerous files and folders on their Windows servers like creating directory and copy files from one location to another, finding duplicated files etc.,