Windows 10: Not sure with my PowerShell in Windows 10 Professional 64X Solved

Page 1 of 2 12 LastLast

  1. Posts : 93
    Windows 10 Professional 64X
       05 Jan 2018 #1

    Not sure with my PowerShell in Windows 10 Professional 64X


    I had no problem to right-click on PowerShell for Adminstrator privileges. Then I type the line with

    PS > Install-Module SpeculationControl and it works then I do the next line below:

    PS > Get-SpeculationControlSettings and doesn't work as I got the red message after type the line. Here is the message below:

    Get-SpeculationControlSettings : The term 'Get-SpeculationControlSettings' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line: 1 char: 1
    + Get-SpeculationControlSettings
    +------------------------------------
    + CategoryInfo : ObjectNotFound: (Get-SpeculationControlSettings:Strings) [ ], CommandNotFoundException
    + FullQualifiedErrorId : CommandNotFoundException

    Now you see above with my problem of PowerShell. I was trying to find information about my system is vulnerable or not.

    Is there a way for me to get my PowerShell fixed so I will be able to check this.

    Yes I have Windows Update yesterday with KB4056892 installed on my desktop.

    Let me know about this.

    John
      My ComputerSystem Spec

  2. Berton's Avatar
    Posts : 5,417
    Win10 Home and Pro, Win10 Insider Preview, WinXP Home Premium, Linux Mint
       05 Jan 2018 #2

    Tried your command, didn't work for me either.
      My ComputerSystem Spec

  3. Brink's Avatar
    Posts : 33,214
    64-bit Windows 10 Pro build 18262
       05 Jan 2018 #3

    Hello John, :)

    See if using the PowerShell commands in the news article below instead may work better for you.

    Windows Client Guidance against speculative execution vulnerabilities - Windows 10 Forums
      My ComputersSystem Spec


  4. Posts : 93
    Windows 10 Professional 64X
    Thread Starter
       05 Jan 2018 #4

    Brink -- Want to say thank you for your help but still the same after the last line. But when I typed the second line and hit ' Enter " and the box with the Apps popped up on the screen. So do I have to take one app like NotePad or other apps that show on the box.

    John
      My ComputerSystem Spec

  5.    06 Jan 2018 #5

    imcanadian said: View Post
    I had no problem to right-click on PowerShell for Adminstrator privileges. Then I type the line with

    PS > Install-Module SpeculationControl and it works then I do the next line below:

    PS > Get-SpeculationControlSettings and doesn't work as I got the red message after type the line. Here is the message below:

    Get-SpeculationControlSettings : The term 'Get-SpeculationControlSettings' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line: 1 char: 1
    + Get-SpeculationControlSettings
    +------------------------------------
    + CategoryInfo : ObjectNotFound: (Get-SpeculationControlSettings:Strings) [ ], CommandNotFoundException
    + FullQualifiedErrorId : CommandNotFoundException

    Now you see above with my problem of PowerShell. I was trying to find information about my system is vulnerable or not.

    Is there a way for me to get my PowerShell fixed so I will be able to check this.

    Yes I have Windows Update yesterday with KB4056892 installed on my desktop.

    Let me know about this.

    John
    Did you import? PS can't find it from the session you are in.
      My ComputerSystem Spec


  6. Posts : 93
    Windows 10 Professional 64X
    Thread Starter
       06 Jan 2018 #6

    Superfly -- I am not sure what you mean " Did I import? PS can't find it from the session you are in. " I am sorry I am not clear understand what you mean about this.

    John
      My ComputerSystem Spec

  7. Brink's Avatar
    Posts : 33,214
    64-bit Windows 10 Pro build 18262
       06 Jan 2018 #7

    John,

    I believe he may have meant if you got the option to type "Y" like below to import "NuGet".

    Click image for larger version. 

Name:	PowerShell_verification.png 
Views:	2 
Size:	70.3 KB 
ID:	171170
      My ComputersSystem Spec


  8. Posts : 93
    Windows 10 Professional 64X
    Thread Starter
       06 Jan 2018 #8

    Brink -- Here is my screenshot of PowerShell off my desktop and you will see the APP popped up after I type the first line below:

    Click image for larger version. 

Name:	My PowerShell.jpg 
Views:	2 
Size:	585.0 KB 
ID:	171171

    Let me know about this -- why is the APP box popped up?

    John
      My ComputerSystem Spec

  9. Brink's Avatar
    Posts : 33,214
    64-bit Windows 10 Pro build 18262
       06 Jan 2018 #9

    Let's see what you get when you run all 3 commands below in the same PowerShell window like in the news article below.

    Windows Client Guidance against speculative execution vulnerabilities - Windows 10 Forums

    Temporarily set PowerShell script execution policy
    PS> Set-ExecutionPolicy Unrestricted -Scope Process -Force

    Install the PowerShell module
    PS > Install-Module SpeculationControl -Force

    Run the PowerShell module to validate protections are enabled
    PS > Get-SpeculationControlSettings
      My ComputersSystem Spec


  10. Posts : 93
    Windows 10 Professional 64X
    Thread Starter
       06 Jan 2018 #10

    Thank you for other try and still the same with after type the second line and the APP box popped up on the screen. Now my question is that what I have on my PowerShell? Look below:

    PS C:\WINDOWS\system32> Set-ExecutionPolicy Unrestricted -Scope Process -Force

    PS C:\WINDOWS\system32> Install-Module SpeculationControl -Force

    Then the APP box popped up on the screen so I cancel this and go on to third line below:

    PS C:\WINDOWS\system32> Get-SpeculationControlSettings

    At last got the red error message below:

    Get-SpeculationControlSettings : The term 'Get-SpeculationControlSettings' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line: 1 char: 1
    + Get-SpeculationControlSettings
    +------------------------------------
    + CategoryInfo : ObjectNotFound: (Get-SpeculationControlSettings:Strings) [ ], CommandNotFoundException
    + FullQualifiedErrorId : CommandNotFoundException

    I wonder if the program of Windows PowerShell is corrupted because I already have try two different things you provided. And nothing goes further to see the whole box that you provided your screenshot here above.

    John
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hi, Where do I download Windows Professional for Workstations ? It seems like any news on this is totally buried somewhere ... I can't seem to find clear pointers to product intro/feature information or how to obtain the product. I...
Hi, Ive just bought a new PC without the OS. Im looking to purchase Windows 10 Professional 64 bit but i seem some software advertised as Pro 64 bit and others as Pro 32/64. Is there a difference because for some reason the 32/64 seems...
Has anyone successfully clean installed the 1511 update of Windows 10 Professional? I see only Windows 10 (N, K etc) with the Media Creation Tool (http://www.microsoft.com/en-us/software-download/windows10) and at the Techbench. I also saw...
This gentleman has been reviewing a multitude of Operating Systems for Years. Mr. Dedoimedo - His Email address is: www.dedoimedo.com. The article in his column is called "Windows 10 preview build 9926 - awesome and horrible". It...
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 09:51.
Find Us