This question type is characterised by:
- Interacting with another program, not counting code which calls an API - can be any part of Windows or any part of any third-party program. Distinctly not "how do I use this third party API to do something", instead "here is a setting, how can I read or change it?" where there may or may not be an API.
- Often involves a screenshot or text description of how to do the change or where to see the value in a GUI. Sometimes doesn't even have that, only has "I want to do X" style description. Description is not code related ("I want to sort a binary tree"), it's task related ("I want to see what the Windows uninstall dialog shows").
- Nearly always asked with no visible research or attempt to solve it.
- The task is a completely reasonable task to do with PowerShell.
And it's the last bit which has me asking here. If they said "I have this API to work with, how do I use it?" that would be on-topic, albeit maybe low quality. If they said "I have found my own way of interacting with X random program or setting and here is my code?" that would also be on topic.
But the kind of question I'm thinking of is more a request to "reverse engineer this for me" and that feels off-topic, not a programming question at all. But it's ultimately a request for code, and design questions can be on-topic so maybe it is on topic?
PowerShell is often used to control other programs - Excel, IE, Outlook, registry changes, config file changes, so that in itself isn't bad, those questions come up a lot too.
e.g.
I want to edit Security Setting (enable/disable etc) for Security option in Local Security Group from Powershell or cmd. - Edit Security Options in Local Security Group cmd/powershell
and
I know how to do [this SharePoint task] manually (Edit page --> Edit web part --> Choose refiners, etc) [..] Is there a way using Powershell? - Sharepoint 2013 - Modify the Search Refinement panel without using the GUI
and
Screenshot of windows GUI, "how to change this value in PowerShell?" - Com+ Object change Memory limit with powershell - this question is a slight exception becuase the author self-answered with code, but would the question be on-topic?
and
How do I use powershell to get through a Next -> Next -> Finish wizard? - Click button with PowerShell
and
How to launch camera app from my windows 10 app programmatically WITH option to select the device? - How to launch camera app from my windows 10 app programmatically WITH option to select the device?
and
I need a way to determine if a scanner is plugged into a unit, the scanner is USB and there is no telling what port it is plugged into. this script would be run on only windows units, win7 and above - Script to determine if a usb fujitsu scanner is plugged into a unit
and
Is it possible to get windows service password with Powershell? - Is it possible to get windows service password with Powershell?
and
Can you Please help me with a PowerShell script to login into windows machine and check last reboot details? - Powershell script for windows logon
and
Here's a list of Windows Explorer settings, how can I change them in PowerShell? - Configure Windows Explorer Folder Options through Powershell
I often downvote them for the reason "no research effort shown", but is that in itself enough reason to closevote as well? My Meta question is, are they valid programming questions? Relative to the close-vote reasons:
- They are not duplicates, it is usually clear what they're asking, the scope of a possible answer is not automatically too broad for an SO question/answer (although some specific ones might be), and they're not opinion-based.
- They're not about networking infrastructure, seeking debugging help, code with typos, or belong on another site.
- They are about general software - but they are asking in a programming / scripting / automation context, so I think that doesn't apply.
- They aren't exactly asking for a tool or tutorial or off-site resource, but maybe that's arguable.
AFAICT they boil down to "reverse engineer this for me" and I say that's not a programming question. Is it? Or am I making a distinction without merit?
And if there is a distinction and they are off-topic, for what reason?