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 … Read more

Run command for active directory

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. Open Active directory console from command prompt The command dsa.msc is used to open active … Read more

Add user to domain group from command prompt

If you are a domain administrator and looking to add users to domain  or active directory group from command prompt, this post shows you how to do that with net group command. Execute the below steps to add users to domain group. Open command prompt Run the below command net group groupName userName /ADD /DOMAIN … Read more

Check VPN connection status command line

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. … Read more

Disable administrative shares

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 … Read more

How to find DNS address of website

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: … Read more

Set password to never expire

You can configure a user account so its password never expires. Use either Command Prompt or the Local Users and Groups console. Windows 10 and Windows 11: The Local Users and Groups method below applies to Pro, Enterprise, and Education editions. The WMIC method may not be available on newer Windows 11 versions. Set password … Read more

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. . . . . . . . . . … Read more

Powershell: How To Delete Files

This post explains how to delete files using Powershell command ‘Remove-Item’. Delete file from PowerShell 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:\> Delete multiple files We can delete as many files as we want with single … Read more

How to Check if Silverlight is installed

There are couple of ways to check if Microsoft Silverlight is installed on your Windows computer. This post explains both the methods with examples. Programs and Features console 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 … Read more