![]() ![]() Thanks again, Matt, for sharing your time and knowledge. I always enjoy helping fellow employees find ways to be more efficient and save time and money. Imagine how much “fun” it would be to rename all of these files manually or with some clunky old batch file. Cristofer said he will probably need to use these commands for renaming 1000+ files in the near future, and he will share this process with other members of his team. ![]() It is always fun to solve business challenges with Windows PowerShell commands. Note the location and file name of the transcript file, and open this file to see the results.After the command completes, run Stop-Transcript.Run your command (including the -WhatIf parameter). ![]() If you need a log file that shows the results of using -WhatIf, you can follow these steps: Unfortunately, when we use –WhatIf, we cannot send our output to a text log file. Get-ChildItem -Filter “*current*” -Recurse | Rename-Item -NewName -whatif
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |