PowerShell v3 installing error - windows

I would like to update my PowerShell from v2 to v3 but when installing, I get a message "Update not applicable to your computer". I tried to install the Windows6.1-KB2506143-x64 Windows Management Framework 3.0 - RC because I am practicing scripting but I can not use the scripts that I am learning in v2.
I do not have a virtual machine.
What is the problem?

Make sure you meet the system requirement of .net 4.0
Windows Management Framework 3.0 requires Microsoft .NET Framework 4.0"

The full release of PowerShell and the Windows Management Framework 3.0 has been released, I would suggest using it instead of the release candidate version you mentioned. You can find download links here: http://go.microsoft.com/fwlink/?LinkId=251995
The supported systems matrix is tighter than previous releases - you have to be running one of the following operating systems with the correct service pack level as well:
Windows 7 Service Pack 1 (32-bit & 64-bit)
Windows Server 2008 R2 Service Pack 1 (64-bit only, includes Server Core)
Windows Server 2008 Service Pack 2 (32-bit & 64-bit)
Also note, if you have any of the pre-release builds of v3 installed, you will have to remove them before installing the officially released version.

Related

The procedure entry point BCryptHash could not be located in the dynamic link library while setting up MongoDB shell

When I tried to setup the MongoDB shell version 4.4.6 in my windows 8 system I am getting the following error:-
The procedure entry point BCryptHash could not be located in the dynamic link library D:..\bin\mongo.exe
Is this related to any dll file missing my windows system ?
According to [MS.Docs]: BCryptHash function (bcrypt.h) (emphasis is mine):
Minimum supported client        Windows 10 [desktop apps | UWP apps]
Then I checked [MongoDB.Docs]: Install MongoDB Community Edition on Windows - Platform Support which states (emphasis still mine):
EOL Notice
MongoDB 4.4 Community Edition removes support for Windows 8.1 / Server 2012 R2
MongoDB 4.4 Community Edition removes support for Windows 8 / Server 2012
MongoDB 4.4 Community Edition removes support for Windows 7 / Server 2008 R2
So, either upgrade to Windows 10, either install an older MongoDB version.

Updating IBM Websphere 8.5.5.14 and Java 1.7 on windows 2008 Server

I have a task to update 8.5.5.2 web sphere to 8.5.5.14 on a windows 2008 server. I have java 1.7 already installed (and java 6 as well) and all the profiles uses it.
How ever when i try to apply fix patch using IBM installation manager, by default it's installing Java 8 which is not supported on windows 2008.
Is there a way where i can by pass java 8 and install only the fix patch (8.5.5.14) from installation manager.
Any pointer/help would be really appreciated. Thanks.
Installation Manager Screenshot:
No, WebSphere 8.5.5.14 requires Java 8, and Java 8 is not supported on Windows 2008 Server. If you must stay with Windows 2008 you can't update WebSphere past 8.5.5.13. More detail here: IBM WebSphere SDK Java Technology Edition 8.0 Minimum Supported Operating Systems
This is what IBM documentation ( https://www-01.ibm.com/support/docview.wss?uid=swg27045339 ) says, I did some shortcuts to make key points easier to notice in a long article:
In 8.5.5.14 and later, it is planned that (Java8) SDK will be required for all new installations and all updates (fixpacks).
In 8.5.5.14 (...) prior operating system releases (such as Windows 2008 (...) ) will no longer be supported.
So unfortunately what you are trying to do is not supported:
Although Java7 is still fine as a runtime environment for your servers, for example if your business application is not yet Java8 compatible, you need to have Java8 installed as a default JVM for Websphere 8.5.5.14 "internal" requirements.
You cant have IBM's Java8 installed in Windows2008, which is mandatory for Websphere 8.5.5.14, that means you cant install Websphere 8.5.5.14.
In the end, I would like to remind you, that you can upgrade to a previous release: 8.5.5.13. Version 8.5.5.13 is 11 fixpacks newer than what you already have, maybe it will suffice for your needs.
Bottom line - upgrade windows to a current version that's not 11 years old. Or, better yet, put it on Linux. WAS is great on Linux! Red Hat, Suse, OpenSuse, Fedora, CentOS are good flavors.

Powershell runtime

I'm running VS 2010 under Windows 8. After installing NuGet, and running Package manager console I get the following message:
Error: The Package Manager Console requires PowerShell 2.0 runtime, which is not detected on this machine. Please install the PowerShell 2.0 from http://support.microsoft.com/kb/968929 and restart Visual Studio.
I know that PowerShell 3.0 is installed automatically along with Windows 8. Why would this error message pop up?
While the Windows Powershell 2.0 Engine feature is on by default in Windows 8, you need to turn on .Net 3.5 to actually use it, as mentioned here:
On Windows 8, the Windows PowerShell 2.0 Engine feature is turned on
by default. However, to use it, you need to turn on the option for
Microsoft .NET Framework 3.5, which it requires.
Follow the steps in the above link to get it working.
While PowerShell 3.0 on Windows 8 is installed by default, PowerShell 2.0 isn't. You can go into Programs and Features and select "Turn Windows Features On or Off" and from there you can select Windows PowerShell 2.0 for installation.

Can't Install Powershell 2.0 on XP SP3

I'm trying to install powershell 2.0 on winxp SP3 with .Net Framework 4.0 installed on my machine but I can't install it. It asks for .Net 2.0. It makes no sense to me at all, since I have an upgraded version of such framework. Here's the full message:
"Cannot Install windows powershell v2 because it requires an updated version of the .Net framework. Please, install .Net framework 2.0."
Anyone can lend a hand here? Tnx.
You need 2.0 installed. 4.0 is a side-by-side version of the .NET CLR. It's not an in-place upgrade, so something that demands 2.0 specifically will not accept 4.0. Confusingly, .NET 3.5 SP1 is the latest version of 2.0 and is what you want.
3.0, 3.5 and 4.5** are not new versions of the CLR (.NET's JRE) and are more like libraries/service packs to CLR2 and CLR4.
** well, actually 4.5 is a bit muddier than that but the comparison is sufficient.

ASP.NET MVC 3 Requirements

Will ASP.NET MVC 3 run on Windows Server 2008 R2 Core? I've done some searching and can't seem to find this information.
Thanks
I just set up a Windows Server 2008 R2 in Server Core configuration. I installed MVC3 using the standard installer:
.\AspNetMVC3Setup.exe /q /log C:\mvc3setup.htm
This installed successfully and a sample MVC3 site works just fine.
According to the Server Core Installation Option Getting Started Guide, Windows Server 2008 R2 Core supports Web Server (including a subset of ASP.NET). Based on some to the additional features you can install (optional features) it looks very limited.
The red flags that stand out for me on the optional features are:
Subset of .NET Framework 3.0 and 3.5
Subset of .NET Framework 2.0
Based on the documentation, I come to the conclusion that running MVC3 would be very difficult and not possible.

Resources