jcgriff2 Co-Founder / AdminBSOD Instructor/ExpertMicrosoft MVP (Ret.) Staff member Joined Feb 19, 2012 Posts 21,541 Location New Jersey Shore Aug 19, 2015 #21 I just tried it here along with a dozen or so powershell commands. You can see the "PS" next to c:\windows\system32 on the last line. At that point, it's ready to accept powershell commands. What did your CMD screen do when you typed "powershell" into it? Attachments ps1.PNG 16.8 KB · Views: 2
I just tried it here along with a dozen or so powershell commands. You can see the "PS" next to c:\windows\system32 on the last line. At that point, it's ready to accept powershell commands. What did your CMD screen do when you typed "powershell" into it?
A azroach Well-known member Joined Aug 16, 2015 Posts 94 Aug 19, 2015 #22 Oh actually I think your method would have worked. I just assumed it would try to open another window. I already initiated another upgrade to fix the powershell window itself not opening up.
Oh actually I think your method would have worked. I just assumed it would try to open another window. I already initiated another upgrade to fix the powershell window itself not opening up.
Digerati ModeratorHardware ExpertMicrosoft MVP (Ret.) Staff member Joined Aug 28, 2012 Posts 4,908 Location Nebraska, USA Aug 19, 2015 #23 Just learned something. I did not know you could run PowerShell from within the command prompt but that works. I tried the other way around too and you can run a command prompt from within PowerShell too. Anyway, I was going to say for CMD to select "Run as administrator".
Just learned something. I did not know you could run PowerShell from within the command prompt but that works. I tried the other way around too and you can run a command prompt from within PowerShell too. Anyway, I was going to say for CMD to select "Run as administrator".
A azroach Well-known member Joined Aug 16, 2015 Posts 94 Aug 19, 2015 #24 How is running cmd as administrator going to help?
Digerati ModeratorHardware ExpertMicrosoft MVP (Ret.) Staff member Joined Aug 28, 2012 Posts 4,908 Location Nebraska, USA Aug 19, 2015 #25 It may not now. I just automatically run as administrator because many things cannot be done via the command prompt unless run as administrator.
It may not now. I just automatically run as administrator because many things cannot be done via the command prompt unless run as administrator.
jcgriff2 Co-Founder / AdminBSOD Instructor/ExpertMicrosoft MVP (Ret.) Staff member Joined Feb 19, 2012 Posts 21,541 Location New Jersey Shore Aug 19, 2015 #26 Digerati said: Just learned something. I did not know you could run PowerShell from within the command prompt but that works. I tried the other way around too and you can run a command prompt from within PowerShell too. Anyway, I was going to say for CMD to select "Run as administrator". Click to expand... That is how I've always run powershell - via CMD screen! azroach said: How is running cmd as administrator going to help? Click to expand... Running CMD "as Administrator" to then run powershell is a good idea in the event that files from \windows or certain other protected directories is needed and your admin user account may not have the proper perms that the "super admin/hidden admin" user account does, which is accessible by running *whatever* "as Administrator".
Digerati said: Just learned something. I did not know you could run PowerShell from within the command prompt but that works. I tried the other way around too and you can run a command prompt from within PowerShell too. Anyway, I was going to say for CMD to select "Run as administrator". Click to expand... That is how I've always run powershell - via CMD screen! azroach said: How is running cmd as administrator going to help? Click to expand... Running CMD "as Administrator" to then run powershell is a good idea in the event that files from \windows or certain other protected directories is needed and your admin user account may not have the proper perms that the "super admin/hidden admin" user account does, which is accessible by running *whatever* "as Administrator".
Digerati ModeratorHardware ExpertMicrosoft MVP (Ret.) Staff member Joined Aug 28, 2012 Posts 4,908 Location Nebraska, USA Aug 20, 2015 #27 That is how I've always run powershell - via CMD screen! Click to expand... Hmmm, I always just call up PowerShell. In fact, since I cannot live without the Quicklaunch toolbar (and fortunately it still is available in W10) I have a PowerShell shortcut on my Quicklaunch toolbar. And BTW, if you use a CMD or PowerShell shortcut, you can edit the shortcut Advanced properties to always run as administrator.
That is how I've always run powershell - via CMD screen! Click to expand... Hmmm, I always just call up PowerShell. In fact, since I cannot live without the Quicklaunch toolbar (and fortunately it still is available in W10) I have a PowerShell shortcut on my Quicklaunch toolbar. And BTW, if you use a CMD or PowerShell shortcut, you can edit the shortcut Advanced properties to always run as administrator.
A azroach Well-known member Joined Aug 16, 2015 Posts 94 Aug 20, 2015 #28 I have it pinned to my taskbar too