So, I am wondering that the question with only tag
Powershell are part of SP.SE? Or we should flag them off the topic?
The main and clear factor to can easily specify if this question is off-topic or not is The Question Body.
As for the questions that you referred to in your question, I totally agree with you, and your flag has been accepted and the two questions closed as off-topic.
Thank you so much for your valuable contributions :)