1.    16 Oct 2015 #1
    Join Date : Aug 2015
    Posts : 23
    Windows 10

    No PowerShell cmdlets recognized


    Running powershell as Administrator or running the ISE as Administrator (which shows Admin at top of one of the two images) isn't returning what I am expecting for looking at tasks scheduled. Any idea what's up with the output in the images? I was running Windows 7 Home Premium and updated to Windows 10 end of July/early August. I have another thread on an issue that I haven't been able to resolve and was hoping maybe using Powershell would help me locate that issue (monitor turning on by itself after physically being turned off via power button at ~3am daily (probably 2:5x timeframe but it happens daily).

    Thanks in advance for any insight.

    Mike
    Attached Thumbnails Attached Thumbnails pwrshell_admin_get_cmd.jpg   pwrshell_admin_get_cmd2.jpg  
      My ComputerSystem Spec
  2.    16 Oct 2015 #2
    Join Date : Jun 2014
    Posts : 556
    Microsoft Windows 10 Pro 64-bit

    It would probably help if you posted the command in your question, I don't mind copy pasting but I draw the line at trying to read it from a pic
      My ComputerSystem Spec
  3.    16 Oct 2015 #3
    Join Date : Aug 2015
    Posts : 23
    Windows 10
    Thread Starter

    Quote Originally Posted by sml156 View Post
    It would probably help if you posted the command in your question, I don't mind copy pasting but I draw the line at trying to read it from a pic
    Here you go: Get-ScheduledTask | Get-ScheduledTaskInfo | Sort-Object LastRunTime, TaskName | ft TaskName,LastRunTime -auto

    Mike
      My ComputerSystem Spec
  4.    16 Oct 2015 #4
    Join Date : Jun 2014
    Posts : 556
    Microsoft Windows 10 Pro 64-bit

    I ran that on my computer and it ran fine as administrator and as a non administrator and it worked both times the only thing I can think of is that somehow you don't have the correct version of PowerShell, To check your version -copy pate this into powershell
    Code:
    get-host|Select-Object version
    Version
    -------
    5.0.10240.16384


    also these should tell you
    Code:
    $psversiontable
    Name Value
    ---- -----
    PSVersion 5.0.10240.16384
    WSManStackVersion 3.0
    SerializationVersion 1.1.0.1
    CLRVersion 4.0.30319.42000
    BuildVersion 10.0.10240.16384
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    PSRemotingProtocolVersion 2.3
    Code:
    $host.version

    Major Minor Build Revision
    ----- ----- ----- --------
    5 0 10240 16384
      My ComputerSystem Spec
  5.    16 Oct 2015 #5
    Join Date : Aug 2015
    Posts : 23
    Windows 10
    Thread Starter

    Version
    -------
    5.0.10240.16384


    PS C:\WINDOWS\system32> $psversiontable

    Name Value
    ---- -----
    PSVersion 5.0.10240.16384
    WSManStackVersion 3.0
    SerializationVersion 1.1.0.1
    CLRVersion 4.0.30319.42000
    BuildVersion 10.0.10240.16384
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    PSRemotingProtocolVersion 2.3

    PS C:\WINDOWS\system32> $host.version

    Major Minor Build Revision
    ----- ----- ----- --------
    5 0 10240 16384

    That was run as administator for the ISE option.

    Mike
      My ComputerSystem Spec
  6.    16 Oct 2015 #6
    Join Date : Jun 2014
    Posts : 556
    Microsoft Windows 10 Pro 64-bit

    The only thing left that I can think of is if your pasting the command in it might be getting screwed up, try pasting it in notepad and then copy it from there and then paste it into Powershell
      My ComputerSystem Spec
  7.    16 Oct 2015 #7
    Join Date : Jun 2014
    Posts : 556
    Microsoft Windows 10 Pro 64-bit

    I don't usually use ISE but it also worked for me

    Click image for larger version. 

Name:	powershell.png 
Views:	11 
Size:	8.5 KB 
ID:	43122
      My ComputerSystem Spec
  8.    16 Oct 2015 #8
    Join Date : Aug 2015
    Posts : 23
    Windows 10
    Thread Starter

    When I type in Powershell it shows up top of list and I can right click and run as admin but it doesn't show Administrator in the title bar/etc....even the x86 did same, only when I run the ISE version does it show admin. Strange. I really don't want to go back and do a clean installation....that'd be a whole lot of work figuring out prior what I need to reinstall. I know that is sometimes better because a lot of fluff you install and don't use a lot doesn't get re-installed (for a time lol). It just is stumping me, I'm no windows guru but I am not a slouch and google is my friend (or someone a tad more knowledgable). I'm not too worried about this, my main concern is in another thread where some scheduled job is turning my monitor ON ~2:5x am daily.

    And I've been through the threads, power options, etc...and still haven't found it yet. I am leaning towards WindowsUpdate BUT I also set my Maintenance to run 8am BUT also the WIndowsUpdate is showing a runtime of 2:53am and I was not able to find out how to change that, when I did and tried to exit out of Task Scheduler earlier tonight it said it had to try and restart the process... And on top of this is when I run Task Scheduler from the search box I get a hexadecimal error message and it shows the same values every time. So I am not sure what is causing that as well....And again, I really don't want to do a clean install if I can help it. Everything else is running ok, just turning my monitor on is driving me crazy...that should *not* be happening. I haven't reset the monitor yet (an HP 23ix (something like that) model, push button underneath vs on front panel for all controls - why HP WHY?!

    Anyways, I appreciate all the assistance and would love to be able to return the favors at some point! But my monitor turning on (diff thread) is my main concern then this and the task scheduler errors, I'll take screen shots of that. Once I close the dialogs out (once or twice) I can look at anything in there and make edits, it's just on initial loading of it that it complains. But that's another topic ;-)

    Mike
      My ComputerSystem Spec
  9.    17 Oct 2015 #9
    Join Date : Apr 2014
    Space coast of Florida
    Posts : 5,379
    Windows 10 Pro X64 16299.19

    Is C:\WINDOWS\System32\WindowsPowerShell\v1.0\; in your PATH environment variable?
    Open a Command Prompt and enter path to look at it. If not, add it and see if that fixes the problem.
      My ComputersSystem Spec

 


Similar Threads
Thread Forum
CD/DVD drive not recognized
I installed Windows 10 as an upgrade to Windows 8. My Dell laptop does not see the DVD drive. I had no success getting the drive to work in Windows 8 and (maybe of course) it doesnt see it now. This seems to be a common problem I have tried numerous...
Drivers and Hardware
USB device not recognized
I have a USB port on my motherboard that never worked. I had the problem with Windows 7 complaining about it, but something I did got Windows 7 to be quiet. Now I have Windows 10. Action Center is popping a steady stream - and I do mean...
Drivers and Hardware
Solved 64-bit architecture not recognized
Hello, I recently upgraded my Windows 8.1 64-bit laptop to Windows 10 via a clean install. Windows 10 installed the 32-bit version, even though I downloaded the 64-bit version of the upgrade tool. I attempted to upgrade to the 64-bit version...
Installation and Upgrade
Powershell glitch
Hi fellow W10 users, This week I switched to using Windows 10, but I have this strange problem/glitch in PowerShell. At first I did an upgrade from Windows 8.1 to Windows 10, after which I did a full clean install. Now here it comes......
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:36.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums