PowerShell 3.0 for Win 7 now available

Page 3 of 5 FirstFirst 12345 LastLast

  1. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
    Thread Starter
       #20

    another quick question, did you ever click on that "genuine"/"activation" area of:
    WIN +PAUSE keyombo | lower right ?

    Sometimes we forget to do such when we roll our own and Win 7 thinks that it's not genuine.
      My Computer


  2. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
    Thread Starter
       #21

    Related to post # 20:
    System requirements

    Supported operating systems: Windows 7 Service Pack 1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2
    Windows Management Framework 3.0 requires Microsoft .NET Framework 4.0. You can install Microsoft .NET Framework 4.0 at: Download: Microsoft .NET Framework 4 (Web Installer) - Microsoft Download Center - Download Details
      My Computer


  3. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #22

    As far as I know. I check for updates several times a day and install them except for a nvidia driver I don't want. I did notice that the only have one Network Framwork.
    Net Framework 4 Client Profile. Could that be a problem?
      My Computer


  4. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #23

    PowerShell 3.0 for Win 7 now available-legal-windows-7.png
    Have a look at the lower right. It wasn't in the last picture.
      My Computer


  5. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
    Thread Starter
       #24

    The only thing unusual is that you haven't run the Experience Index yet, although I wouldn't expect that to make a difference.
      My Computer


  6. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #25

    You ask you will receive.

    PowerShell 3.0 for Win 7 now available-just-karl.png
      My Computer


  7. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
    Thread Starter
       #26

    If you have PS 2.0 installed, then leave installed.

    run following.

    Script:
    # ************************************************************
    # Clear the EVENT LOGS
    # ************************************************************
    Get-WinEvent -ListLog * -Force | % { $_.logname;Wevtutil.exe cl $_.logname };Wevtutil.exe cl system

    EXIT
    EXIT

    # ************************************************************ 
      My Computer


  8. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
    Thread Starter
       #27

    that was some housekeeping only but will simplify further looks at the event logs.

    Reboot.

    Try to install 3.0 again.

    If install of 3.0 fais, then attach results of this script:

    Script:
    # ************************************************************
    # Places CRITICALandERROREVENTS.TXT on your DESKTOP
    #
    # Displays 100 most recent critical and error events in a Grid View
    # Writes 100 most recent critical and error events to CriticalAndErrorEvents.txt
    #
    # Change the $MAX value for more or fewer events
    # Change the $Lwidth value to 254 for example for longer lines
    # **********************************************************

    $MAX 100
    $LWidth 
    132
    $a 
    Get-WinEvent -FilterHashtable @{logname='*';  level=1,2} `
    -max 
    $MAX  -verbose:$false -erroraction:silentlycontinue |
    sort-object -property 
    `
    @{
    expression="level";Descending=$false}, `
    @{expression="timecreated";Descending=
    $true} |
    select-object -property leveldisplayname, timecreated, ID,  Message 
    $a | out-gridview -Title "Critical and Error Events"
    $a | format-table  @{Label = "Level"; Expression =  {$_.leveldisplayname} }, timecreated, ID, Message -wrap -auto |
    out-file 
    $env:userprofile\Desktop\CRITICALandERROREVENTS.TXT -width $Lwidth

    EXIT
    EXIT

    # ************************************************************ 
      My Computer


  9. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #28

    01]
    oration. All rights reserved.


    ternal or external command,



    internal or external command,


    vent -FilterHashtable @{logname='*'; level=1,

    rnal or external command,


    erbose:$false -erroraction:silentlycontinue |
    rrect.

    property `
    s an internal or external command,


    "level";Descending=$false}, `
    s an internal or external command,


    "timecreated";Descending=$true} |
    rrect.

    -property leveldisplayname, timecreated, ID,

    as an internal or external command,


    idview -Title "Critical and Error Events"
    nal or external command,


    able @{Label = "Level"; Expression = {$_.lev
    Message -wrap -auto |
    rrect.

    :userprofile\Desktop\CRITICALandERROREVENTS.TX

    n internal or external command,



    0
    n internal or external command,



    internal or external command,


    vent -FilterHashtable @{logname='*'; level=1,

    rnal or external command,


    erbose:$false -erroraction:silentlycontinue |
    rrect.

    property `
    s an internal or external command,


    "level";Descending=$false}, `
    s an internal or external command,


    "timecreated";Descending=$true} |
    rrect.

    -property leveldisplayname, timecreated, ID,

    as an internal or external command,


    idview -Title "Critical and Error Events"
    nal or external command,


    able @{Label = "Level"; Expression = {$_.lev
    Message -wrap -auto |
    rrect.

    :userprofile\Desktop\CRITICALandERROREVENTS.TX
    ----------------------
    I hope that's what you wanted. It won't let me open and install it.
    I tried it with your posted site using FireFox and I also tried it with Microsoft's site using I.E.9
      My Computer


  10. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #29

    C:\Windows\system32>'$LWidth' is not recognized as an internal or external comma
    nd,
    ''$LWidth'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>$a = Get-WinEvent -FilterHashtable @{log
    name='*'; level=1,2
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>} `
    '}' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'$a' is not recognized as an internal or external command,
    ''$a'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>-max $MAX -verbose:$false -erroraction:
    silentlycontinue |
    The syntax of the command is incorrect.
    C:\Windows\system32>The syntax of the command is incorrect.
    'The' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>sort-object -property `
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'sort-object' is not recognized as an internal or external c
    ommand,
    ''sort-object'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>@{expression="level";Descending=$false},
    `
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'{expression' is not recognized as an internal or external c
    ommand,
    ''{expression'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>@{expression="timecreated";Descending=$t
    rue} |
    The syntax of the command is incorrect.
    C:\Windows\system32>The syntax of the command is incorrect.
    'The' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>select-object -property leveldisplayname
    , timecreated, ID,
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>Message
    'Message' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'select-object' is not recognized as an internal or external
    command,
    ''select-object'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32># $a | out-gridview -Title "Critical and
    Error Events"
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'#' is not recognized as an internal or external command,
    ''#'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>$a | format-table @{Label = "Level"; Ex
    pression = {$_.leve
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>ldisplayname} }, timecreated, ID, Message -wrap -auto |
    The syntax of the command is incorrect.

    C:\Windows\system32>The syntax of the command is incorrect.
    'The' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>out-file $env:userprofile\Desktop\CRITIC
    ALandERROREVENTS.TXT
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32> -width $Lwidth
    '-width' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'out-file' is not recognized as an internal or external comm
    and,
    ''out-file'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>
    The syntax of the command is incorrect.
    C:\Windows\system32>C:\Windows\system32>EXIT$MAX = 100
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'EXIT$MAX' is not recognized as an internal or external comm
    and,
    ''EXIT$MAX'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>$LWidth = 132
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'$LWidth' is not recognized as an internal or external comma
    nd,
    ''$LWidth'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>$a = Get-WinEvent -FilterHashtable @{log
    name='*'; level=1,2
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>} `
    '}' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'$a' is not recognized as an internal or external command,
    ''$a'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>-max $MAX -verbose:$false -erroraction:
    silentlycontinue |
    The syntax of the command is incorrect.
    C:\Windows\system32>The syntax of the command is incorrect.
    'The' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>sort-object -property `
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'sort-object' is not recognized as an internal or external c
    ommand,
    ''sort-object'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>@{expression="level";Descending=$false},
    `
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'{expression' is not recognized as an internal or external c
    ommand,
    ''{expression'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>@{expression="timecreated";Descending=$t
    rue} |
    The syntax of the command is incorrect.
    C:\Windows\system32>The syntax of the command is incorrect.
    'The' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>select-object -property leveldisplayname
    , timecreated, ID,
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>Message
    'Message' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'select-object' is not recognized as an internal or external
    command,
    ''select-object'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32># $a | out-gridview -Title "Critical and
    Error Events"
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'#' is not recognized as an internal or external command,
    ''#'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>$a | format-table @{Label = "Level"; Ex
    pression = {$_.leve
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>ldisplayname} }, timecreated, ID, Message -wrap -auto |
    The syntax of the command is incorrect.

    C:\Windows\system32>The syntax of the command is incorrect.
    'The' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>out-file $env:userprofile\Desktop\CRITIC
    ALandERROREVENTS.TXT
    'C:\Windows\system32' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32> -width $Lwidth
    '-width' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>'out-file' is not recognized as an internal or external comm
    and,
    ''out-file'' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>operable program or batch file.
    'operable' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>
    C:\Windows\system32>C:\Windows\system32>
    The syntax of the command is incorrect.
    C:\Windows\system32>C:\Windows\system32>EXIT
      My Computer


 
Page 3 of 5 FirstFirst 12345 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:15.
Find Us