PowerShell V3 and PowerShell ISE V3 is not a port of Windows 7 and Windows Server 2008 R2. However, you can download it from here.
You might receive following error when you install the msu file
The update is not applicable to your computer
- Installed Windows 7 and Windows Server 2008 R2 Service Pack 1
- Install .NET 4.0 Full Profile. ( not client profile )
In Windows Server 2012, DotNet 4.5 are shipped as part of OS but DotNet 4.5 is not registered with IIS8 be default. If you try to run aspnet_regiis.exe as you did for Windows Server 2008 R2, you will see following error
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.17929).
This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the “Turn Windows Features On/Off” dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929).
(Following step by step tutorials are copied from IIS 8.0 Using ASP.NET 3.5 and ASP.NET 4.5 )
Step by Step Instructions enabling AspNet on IIS8
Windows Server 2003
For Windows server 2003, PowerShell V1 was released as KB ( hotfix). Download and install KB926139 – Windows PowerShell 1.0 English-Language Installation Package for Windows Server 2003
If you need PowerShell V2, make sure you have SP2 installed and then install Windows Management Framework from http://support.microsoft.com/kb/968929
Windows Server 2008
For Windows Server 2008 run the following command in an elevated Command Prompt.
servermanagercmd -install PowerShell
Windows Server 2008 R2
Windows Server 2008 R2 has PowerShell V2 built in and enabled by default, however, PowerShell ISE is not. It is installed on Windows 7 client OS, but an Optional Component on Windows Server 2008 R2. To Install PowerShell ISE on R2, run the following command in a Windows PowerShell Modules prompt
- In Server Manager, start the Add Roles and Features wizard.
- On the Features page, select Windows PowerShell ISE.
Windows Server 2012
Windows Server 2012 has both PowerShell V3 built in and installed. PowerShell ISE needs to be added as it’s an optional Windows PowerShell feature, same as Windows Server 2008 R2.
Also checkout How to run PowerShell scripts to start your first PowerShell script.
The owner and computer name of the workspace are not editable in Visual Studio 2010. However, you might need it when you renamed your machine or your account is renamed. To do this, open a Visual Studio Command Prompt (2010) from program files, and cd to your workspace, then run following
Change the computer name for a workspace
tf workspaces /updateComputerName:<OldComputerName> /collection:<CollectionURL>
You need replace <OldComputerName> to your actual old computer name and <CollectionURL> to your actual TFS collection URL.
Change the owner for a workspace
tf workspaces /updateUserName:<OldUserName> /collection:<CollectionURL>
Visual Studio 2010 Tip – Highlight the file you work with in Solution Explorer
- Go to Tools->Options->Projects and Solutions->General
- Check the "Track Active Item In Solution Explorer" checkbox.
Windows 8 includes the 2.0, 3.5 and 4.5 versions of the .NET Framework. However, only 4.5 is available for immediate use after a clean install. The versions 2.0 and 3.5 of the framework are not installed by default. If you open the Add/Remove Windows Features dialog you’ll see the “Microsoft .NET Framework 3.5 (includes .NET 2.0 and 3.0)” listed, but disabled.
To install DotNet 2.0 or 3.5 on Windows 8,
- Go to Control Panel –> Programs –> Get Programs
- Click Turn Windows features on or off
- Check ‘.NET Framework 3.5 (includes .NET 2.0 and 3.0)′
- Click OK.
You may encounter problems when entering the database connection details in the first step of database setup:
On IIS 7.5, if you upload big file thru WCF service, you might get http 404.13 error from IIS server.
HTTP Error 404.13 – Not Found
The request filtering module is configured to deny a request that exceeds the request content length.
The solution is set a higher value for maxAllowedContentLength in web.config of application
It’s very common for developer to generate a GUID in code to guarantee uniqueness. Here is the sample code to generate a GUID in Perl
my $guid = `uuidgen.exe`;
Uuuidgen.exe is a tool from DotNet Framework. You can append "-c" option to generate uppercase letters
Run uuidgen /? to see the detail usage of uuidgen.
Microsoft UUID Generator v1.01 Copyright (c) Microsoft Corporation. All rights reserved.
usage: uuidgen [-xisconvh?]
x – Generate sequential (V1) UUIDs
i – Output UUID in an IDL interface template
s – Output UUID as an initialized C struct
c – Output UUID in upper case
o<filename> – redirect output to a file, specified immediately after o
n<number> – Number of UUIDs to generate, specified immediately after n
v – display version information about uuidgen
h,? – Display command option summary