Category: Development
-
oh-my-zsh slow on WSL2 git directory
You might notice oh-my-zsh very slow on WSL2 shell, especially when you cd into a directory with git enabled. This can be resolved by running following command
-
git clone error “Operation not permitted” on WSL2 Shell
On a clean installed WSL2 (Windows SubSystem for Linux Gen 2), you might get error “Operation not permitted” when trying to run command git clone on the shell. To resolve this, simple run following commands: You might need to replace the drive letter if you hit error on other drivers.
-
Run Disk Cleanup tool on Windows Server without Installing
If you are getting a low disk space alert on a Windows Server, the safest way to free some space is to run the Disk Cleanup wizard. However on Windows Server, by default Disk Cleanup is not installed. Installing it through “Add Windows Features” would trigger a reboot. To avoid this you can simply install…
-
Delete a project in Visual Studio Online Portal
Microsoft announces Visual Studio Online general available this week. Visual Studio Online (aka VS Online) was named TFS Online for preview for quite a long time. Previously if you create test projects for practice, you might find it’s hard to discover how to delete projects. You can do that in either TFS Online Portal or…
-
Error The update is not applicable to your computer When Installing PowerShell V3
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 Solution Installed Windows 7 and Windows Server 2008 R2 Service Pack…
-
Registering ASP.NET 4.5 with IIS8
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…
-
Install PowerShell and Powershell ISE on Windows Server
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…
-
TFS How to change the computer name or owner for a workspace
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…
-
Using SCVMM 2012 Cmdlets in PowerShell
SCVMM Cmdlets allow SCVMM admin/users to do everything they can do in SCVMM AdminConsole in windows PowerShell command line. In SCVMM 2008 R2, you can run following command in PowerShell to run SCVMM cmdlets. Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager But this does not work in SCVMM 2012 as SCVMM 2012 uses PowerShell module. For SCVMM 2012 now you…
-
Highlight the file you work with in Visual Studio Solution Explorer
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.