Re: Have you actually used PowerShell to automate GUI operations?
Call me old-fashioned if you must... but wasn't windows.3.1 really just a GUI nailed onto DOS 6?
Good lord, no. MS-DOS 6 wasn't released until a year after Windows 3.1 went GA.
More importantly, from Windows/386 (a version of Windows 2.1) on, Windows on an 80386 or better-class CPU could run in "386 enhanced" mode. In that mode, Windows had its own protected-mode kernel and ran unprotected apps as Virtual-8086 tasks. DOS was no more than a bootloader.
The idea that Windows NT was the "first Windows OS" is simply wrong. Windows/386 running in 386-enhanced mode was Microsoft's first Windows-based OS. DOS was still present as the bootloader, but once Windows started up it was discarded.
My first job at IBM was working on the largely-forgotten "DOS 4.0 and Windows Kit", and that included working with pre-release Windows/286 and Windows/386. We even had the source code, or a good chunk of it, anyway. It was actually kind of fun in those days, particularly after one of my colleagues wrote a replacement for the "MS-DOS Executive" (the precursor to Windows Explorer) that had enough functionality to be useful. The 'Kit also included some handy apps - an equation editor, a data-graphing package - which made it decently useful for the university undergrads it was aimed at. Never took off, though. And I didn't use it myself, since I had access to proper UNIX workstations and could write my papers in roff.