Using ChatGPT to write PowerShell scripts, SQL code, etc


x509

Well-known member
Member
VIP
Local time
12:17 AM
Posts
107
Location
Western USA
OS
Windows 11
I've started to play around, nothing too serious yet, with asking ChatGPT, the free version, to write PowerShell scripts. I'm not proud of that but this grey old head doesn't learn new languages the way he used to when he listened to ABBA and the BeeGees.

So I'm wondering what more experienced people think of htis idea. Am I just causing headaches for myself? Better AI models than ChatGPT for this purpose?

I kinda/sorta/not really know SQL, so I'm also thinking I could use ChatGPT to write scripts programs that use sqlite3 database. And if all that works, then maybe even lua scripts for Adobe Lightroom Classic.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    home built
    CPU
    AMD 7900x
    Motherboard
    ASUS AMD x670E ROG Strix E-A
    Memory
    64 GB
    Graphics Card(s)
    Nvidia 3060 Ti (but wanting to upgrade)
    Sound Card
    built-in
    Monitor(s) Displays
    Dell 24"
    Cooling
    AIO for CPU, fans for case
    Keyboard
    Das Keyboard 4
    Mouse
    Corsair M65 (white)
    Browser
    Firefox
    Antivirus
    Bitdefender
    Other Info
    Also have Lenovo T14S laptop (me) and Lenovo Slim 71 (wife)
1. the script will be working.
2. the code quality is mediocre.

hence, we tried awhile but not any longer.
my computers are mainly running python, excel macro, , ,
 

My Computer

System One

  • OS
    Windows 7/11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP/Lenovo/Asus
    CPU
    Intel i7-11800H
    Motherboard
    Lenovo Legion 5i Pro Gen 6
    Memory
    32GB DDR4 3200MHz
    Graphics Card(s)
    NVIDIA GeForce RTX 3070
    Hard Drives
    1TB PCIe SSD

Latest Support Threads

Back
Top Bottom