I had this experience once. We have a ChatGPT license where I work, and I asked it to configure a switch that I wasn't familiar with. I simply described in words what network architecture I wanted and it did it! It even made some nice-looking documentation.
But, then I tried the new configs, and they didn't work. It turns out there were some key syntax things it got wrong. And the documentation was wrong on top of that, with incorrect diagrams, and when I asked it to fix it it made different errors I the diagrams in different places. On balance, I still saved some time over reading all the manuals and figuring out the syntaxes myself, but only because I made my own documentation with the results that worked. If I had trusted the AI I would be sunk.
I've concluded that AI gives the illusion of competence, like a overly confident new manager. This can be very attractive to a less experienced person. But it's really guessing, just like we all are. It can just guess after actually "reading" all the manuals. I haven't used AI to write anything more than simple configurations and helper scripts. If I did want to use AI for more it would be in more of a pair-programming context. I might have a window open where I describe some things and ask for analysis, but I wouldn't just run anything it does blindly.