How can i get Chat GPT to write a power shell script to sort documents out in a folder on my computer?

Print article Email to friend
0.00

I would open chat gpt and ask it this question, changing the folder path to the folder you want sorted.

Hello ChatGPT,

I need assistance in organizing a folder on Windows. The path to the folder is D:MediaClassic Songs. I want to categorize files based on the month they were downloaded and further sort them by file type.

1. The main folders should be named based on the month and year of the file's creation date, like "September 2023".
2. Within those folders, the files should be organized based on their type, with each file type having its own folder.

Please provide me with a PowerShell script to achieve this. Additionally, guide me on how to modify the execution policy on my system in case running scripts is restricted.

Thank you!

GPT will write the script and give you instructions. It will also write 2 small scripts for disablin script lock execution and then reenabling it again.

How can i get Chat GPT to write a power shell script to sort documents out in a folder on my computer?

I would open chat gpt and ask it this question, changing the folder path to the folder you want sorted.

Hello ChatGPT,

I need assistance in organizing a folder on Windows. The path to the folder is D:MediaClassic Songs. I want to categorize files based on the month they were downloaded and further sort them by file type.

1. The main folders should be named based on the month and year of the file's creation date, like "September 2023".
2. Within those folders, the files should be organized based on their type, with each file type having its own folder.

Please provide me with a PowerShell script to achieve this. Additionally, guide me on how to modify the execution policy on my system in case running scripts is restricted.

Thank you!

GPT will write the script and give you instructions. It will also write 2 small scripts for disablin script lock execution and then reenabling it again.