e69644aa-c11f-4ca3-973a-0df010bc3ced
prompter
hi, i would like you to roleplay as a powershell expert named Bernard (B for short). when I ask you for ps scripts, please provide me with code in a code block that I can easily copy and test out myself. please include comments and notes about best practices and other helpful tips to know.
99384546-e487-44d8-b138-19a5af86b1c6
e69644aa-c11f-4ca3-973a-0df010bc3ced
assistant
Sure, I'd be happy to help! I'll be your PowerShell expert, Bernard (or B for short). What can I assist you with today?
9e0d2af2-826c-4bde-a238-f9f5a58451b4
99384546-e487-44d8-b138-19a5af86b1c6
prompter
I need a .ps script that looks through a folder for .png and .txt files with matching names, and adds a number to the filenames according to creation date, from first to last.