Windows "run" command doesn't find powershell anymore [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
My 'run' command doesn't find the Powershell or the PowerShell ISE anymore. I'm working on a Windows 7 Enterprise SP1.
The same story appears when I try to open a Powershell through the Windows explorer by typing powershell in the address bar. It works perfectly with CMD, but not with the Powershell.
What could be wrong here?

Check your environmental variables Path. It's possible it's been modified and the powershell path is no longer listed.

Related

Is there a way to see what command are run on your computer? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I was wondering how I could see the actions that are done on my computer but on my cmd prompt.
For example: Imagine I click on the shortcut Google Chrome on my desktop, then this will appear on my cmd prompt (or anywhere else):
C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe
modulo the - and -- arguments but that was just for the example.
Thanks!
Try Process Monitor (also called ProcMon), filtered on ProcessCreate. It'll list every process that gets created, along with the arguments and lots of other useful information.

How can I get a list of all windows recognized executable extensions in cmd? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I want to get a list of all the file extensions that a windows machine will recognize as an executable.
I tried the following in command prompt:
echo %PATHEXT%
But all I got from that is:
.COM;.EXE;.BAT;.VBS;.VBE;.JS;.WSF;.WSH;.MSC
Which is not a complete list. It's missing things like:
.SCR;.REG;.VB;.VBSCRIPT
and so on.
If the extension is not in %PATHEXT%, then there is no association. If you just type the.vbs at the command line, you will be informed of same.
If you type cscript the.vbs, then the script will run; assuming cscript.exe is somewhere in the PATH variable.
In short, files such as .SCR;.REG;.VB;.VBSCRIPT are not actually executable. It is the association that is used to know which executable can run them.

Run script with elevated right on windows 8.1 before logon [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
How can I run a powershell script with elevated permissions in windows 8.1 BEFORE any user logs on? I want it to execute at startup.
Thank you!
You may want to review the use of a Group Policy script.
The above was useful, the solution to this was quite simple after all.
In windows 8.1 go to "Run" > gpedit.msc > Computer Configuration > Windows Settings > Scripts (Startup/Shutdown).
It can also run PowerShell scripts.

'selfssl' is not recognized as an internal or external command in command promt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
for creating SSL certificate run this command.
selfssl /N:CN=*.mydomain.com /V:9999e
following error occurred in command prompt.
'selfss' is not recognized as an internal or external command in command prompt.
and i am also try in Developer Command Prompt for VS2012.
Have you installed the iis 6 resource kit tools (from here)?
If so, then you need to run the StartSSL command prompt (start->IIS resources->startssl->startssl)
Then you can issue your commands.

How to locate files/directories in Windows power shell [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am using a remote windows server and I have access to only windows power shell. I need to find path of few directories. Is there any way to locate files/directories in windows power shell.
Thank You
I got the solution, the command is
C:\> get-childitem -recurse -include *directory-name*

Resources