Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: PowerShell 3.0 for Win 7 now available

09 Sep 2012   #31
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

If it helps my Net Framework 4 Client Profile is dated 5/16/2011 version 4.0.303 19


My System SpecsSystem Spec
.
09 Sep 2012   #32
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

You got past me there.

Did you run the script in post #27?
My System SpecsSystem Spec
09 Sep 2012   #33
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

I most certainly did. Sorry I didn't mention it.
My System SpecsSystem Spec
.

09 Sep 2012   #34
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Something went wrong on running the script which would have placed
CRITICALandERROREVENTS.TXT on your desktop.

Here is the procedure for running a ps script:
# **********************INSTRUCTIONS**************************
# STEP 1 ** RUN POWERSHELL AS ADMINISTRATOR ******************
# ************************************************************
#
# WIN key | type POWERSHELL | do NOT hit ENTER |
# in the PROGRAMS list, right-click on WINDOWS POWERSHELL |
# choose "Run as administrator" |
# Click on the YES button (if such appears)
#
# WIN key = key with Microsoft log on top
#
# for the guru:
# WIN | type POWERSHELL | CTRL+SHIFT+ENTER key combo | ALT+Y keycombo
# ************************************************************
# STEP 2 ** COPY AND PASTE ***********************************
# ************************************************************
#
# COPY the script using CTRL+C,
# COPY every line of script down thru both EXIT statements
#
# PASTE into Powershell
#----Right-Click at the PowerShell Prompt
#----(Ctrl+V does not work)
#
# Start copying with first script line without a # at start of the line
# Note: Actually, you can paste the entire file if you rather
#-------Lines starting with a # are ignored by PowerShell
# ************************************************************
# STEP 3 ** SCRIPT OUTPUT & SCRIPT PURPOSE *******************
# ************************************************************
# --The script output and purpose is given at the very front of the script
#
# --The script output and purpose is given at the very front of the script
#
# ************************************************************
# ***************** NOTE - POWERSHELL VERSION*****************
# if you receive this error msg:
#--The system can not find the path specified
# you may need to update your PowerShell
# you must be using Powershell 2.0 or later.
#
# To determine your Powershell version:
#---Run PowerShell
#---enter $host.version
#---you should see at least:
# Major Minor Build Revision
# ----- ----- ----- --------
# 2......0......-1.....-1
#
# If you do not see the above, update your Vista/Win 7.
# ************************************************************
# *************** NOTE - EXECUTION POLICY*********************
# If you haven't set the execution policy, you may need to:
#---Run PowerShell
#---enter SET-EXECUTIONPOLICY -EXECUTIONPOLICY REMOTESIGNED
# ************************************************************
My System SpecsSystem Spec
09 Sep 2012   #35
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Level TimeCreated Id Message
----- ----------- -- -------
Error 9/9/2012 6:52:09 PM 3 Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\Windows\syste
m32\wusa.exe" "C:\Users\JACK\Downloads\WINDOW 7 BSOD\Windows6.1-KB2506143-x64.msu" ")
Error 9/9/2012 6:51:47 PM 3 Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\Windows\syste
m32\wusa.exe" "C:\Users\JACK\Downloads\WINDOW 7 BSOD\Windows6.1-KB2506143-x64.msu" ")
Error 9/9/2012 6:51:01 PM 3 Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\Windows\syste
m32\wusa.exe" "C:\Users\JACK\AppData\Local\Temp\Windows6.1-KB2506143-x64.msu" ")
Error 9/9/2012 6:50:51 PM 3 Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\Windows\syste
m32\wusa.exe" "C:\Users\JACK\AppData\Local\Temp\Windows6.1-KB2506143-x64.msu" ")
Error 9/9/2012 6:50:37 PM 3 Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\Windows\syste
m32\wusa.exe" "C:\Users\JACK\AppData\Local\Temp\Windows6.1-KB2506143-x64.msu" ")
Error 9/9/2012 6:50:04 PM 3 Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\Windows\syste
m32\wusa.exe" "C:\Users\JACK\AppData\Local\Temp\Windows6.1-KB2506143-x64.msu" ")
Error 9/9/2012 6:49:50 PM 3 Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\Windows\SysWO
W64\wusa.exe" "C:\Users\JACK\AppData\Local\Temp\Windows6.1-KB2506143-x64.msu" ")

Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> #host.version
PS C:\Windows\system32> $host.version

Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1


PS C:\Windows\system32>

You think this is hard to figure out. NA I trying to teach my cat how to make coffee. It's not going well.
My System SpecsSystem Spec
09 Sep 2012   #36
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
You think this is hard to figure out. NA I trying to teach my cat how to make coffee. It's not going well.
I like your odds better than mine.

Now how about attaching the file as an upload. Makes reading, studying much easier.
My System SpecsSystem Spec
09 Sep 2012   #37
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

CRITICALandERROREVENTS.TXT

Hope this works.


My System SpecsSystem Spec
09 Sep 2012   #38
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Exellent.

Is "Jack" an administrator?

Be sure to install using an administrator account and then as a further safety measure.
Right-click on the downloaded MSU file and choose "Run as administrator"

Another avenue, if that doesn't solve the problem is to google the message:
Windows update could not be installed because of error 2149842967

karl
My System SpecsSystem Spec
09 Sep 2012   #39
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Yes Jack is admin and I'm Jack. I have been Googling but not doing anything with out instruction except I did run sfc /scannow and it's states no problem.
My System SpecsSystem Spec
09 Sep 2012   #40
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Have you had a chance to run the MSU by right-clicking and choosing Run as administrator?

I hope your search on that error msg is fruitful because I don't have any other explanation.
My System SpecsSystem Spec
Reply

 PowerShell 3.0 for Win 7 now available




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Powershell
I was running a script on my 32bit OS that opened up IE and logged me onto my company's vpn. I am now using 64bit OS and My company's vpn does not like 64bit IE. (firefox and chrome are also iffy with our vpn, IE is the only 'official one they support'). When the script runs now on my 64bit os....
General Discussion
Powershell get-acl help
Hi, I was thinking of making a script for powershell, but it was harder than i thought. I'am a beginner of the beginners when it comes to powershell, so i was wondering if any of you could help me (or maybe make me one) with making one. This is what i was thinking of(not sure if this is even...
Software
powershell 1 or 2?
i thought windows 7 pro comes with powershell 2 installed.... when i look in sys32 folder it shows powershell 1... also when powershell is activated it is version 1.... is this correct or what is going on... system is fully updated... win 7 pro 64 bit thanks :(
General Discussion
do you use powershell?
do you use and/or have any cmdlets ?? such as: Get-counter Get-counter -Counter "\Processor(_Total)\% Processor Time" -SampleInterval 2 -MaxSamples 10
General Discussion


Our Sites

Site Links

About Us

Find 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 23:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App