We translated a short bash script into windows .bat files and PowerShell.
It was so wrong with the .bat files that there wasn't a single working line in the entire script. It was 99% correct with the PowerShell code.
As a tool it is completely unreliable. But it does look like magic when it works.
Try asking for some Bash or Python instead and compare the results.
I dont know why people are staring this thing in the face and pretending they can do better at the first pass. I've used chat gpt to do the following so far:
1. Answer tickets that help desk spent days trying to figure out. Simply asked the bot the same question and got better results from a piece of code than our outsourced MSP. It's embarrassing, we sent the answers it gave to the techs and asked them why we need them at all, when they can't figure out why basic things don't work...
2. Asked it to write powershell, with commands no one had time to google, with try-catch logic, and less than 5 minutes put it into production
3. Asked it to write demo C# code, which it got wrong but right enough to be helpful and move us along
4. Asked it to rewrite many of my horrible, direct emails to corporate speak so they doesn't ruffle any feathers
5. Had it write 10000-word document piece by piece, sent it to legal and received zero revisions, all I provided was a narrative and some connecting sentences and questions.
6. Rewrite so many memos
7. Write thank you emails
8. Write performance reviews, by taking one and rephrasing over and over based on minor adjustments like, more direct, less direct, more fluff, less fluff
9. I am not a native speaker, chat gpt often gets it wrong but, often it makes my two sentence emails just perfect
10. Had it take various compliance tests...
Maybe ya'll are super geniuses but based on my observations over the past 15 years, the bot does better than I'd wager %70+ of the people I've ever met, interacted with, depended on or managed professionally. Its not moody, it doesnt catch feeling when its told that it is wrong, and is predictably wrong when you expect it to fail, it great at generating corporate bs speak, pleasantries, projecting forcefulness, explaining condensed thinking in words that non-tech people can absorb, etc.
It's like the universal translator from star trek version 0.000000001 for me for the metric ton of BS that I deal with on a daily basis. I get better results out of the thing than out of most people I currently have to direct.
Because we also tried it and found it severely lacking?
For purely "literary" endeavors like corporate speak, and writing texts within certain stylistic templates it is really good
Programming? It mostly gets very close to the correct solution, but you still need to be careful.