≡ Menu

Check if WiFi is connected

If your have a WiFi connection, how do you find out if your computer is connected to WiFi or not? The command netsh interface is used to find your WiFi connection status from command prompt. Execute the below command to know WiFi connection status netsh interface show interface | findstr /C:"Wireless" /C:"Name" Example on my [...]

Learn the run command for active directory users and computers console. In this console, domain admins can manage domain users/groups and computers that are part of the domain. Execute the command dsa.msc to open active directory console from Run window. The command dsa.msc is used to open active directory from command prompt too.

Learn how to check VPN connection status on your Windows system from command prompt.  Netsh command is used to find connection status of different networks, including the VPN. Run the below command to find the VPN status c:\>netsh interface show interface An example run on my Windows 7 computer when I am connected to VPN. [...]

Windows automatically shares certain folders over the network, examples being C drive, C:\Windows & IPC$. Learn how to disable these administrative shares from command prompt. Execute the below net share command to delete the system/hidden shares. net share sharedFolder /delete So to delete each of the system shares, we can run a separate command net [...]

Do you need to find DNS address of a website from command prompt? Learn how to use Windows command nslookup to find DNS addresses. Run below command to find DNS address. nslookup DomainName An example command below that finds DNS address for this website. C:\>nslookup www.windows-commandline.com Server: UnKnown Address: 192.168.0.1 Non-authoritative answer: Name: www.windows-commandline.com Addresses: [...]

Set password to never expire

Learn how to configure a user account so that the password never expires. This can be done from Windows command prompt as well as in "local user accounts" console. Run the following steps to disable password expiry from command line. Open elevated admin command prompt Run the command. WMIC USERACCOUNT WHERE Name='username' SET PasswordExpires=FALSE Example: [...]

Check IP address from CMD

Ipconfig command is used to find the IP address of a system from command line. Run the command ipconfig to print IP addresses for all network adapters installed on the system. c:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . [...]

This post explains how to delete files using Powershell command 'Remove-Item'. We can delete a file using remove-item command as below. Open powershell prompt and execute the command. remove-item file-path Example: PS C:\> Remove-Item C:\test\testFile.txt PS C:\> We can delete as many files as we want with single remove-item command. We just need to add [...]

There are couple of ways to check if Microsoft Silverlight is installed on your Windows computer. This post explains both the methods with examples. This console shows all installed software on your system and also features available on your Windows installation that you can enable as add-on. You can look for Microsoft Silverlight among the [...]

Run command for task manager

Windows has shortcut commands which can be used from Run to launch applications quickly. Run command for opening 'task manager' is taskmgr. Here are the steps to open task manager from 'Run'. Open run window( press keys [Win]+[R] ) Type 'taskmgr' and press [Enter]