How To Restart Windows Time Service From Command Line Interface?

Windows Time Service is used to clock and date synchronize for Windows operating systems. The Windows Time Service is named as W32Time a Windows service. We can manage the Windows Time Service via command line interfaces like Ms-DOS or PowerShell. We can restart the Windows Time Service by using the net command and Stop-Service command. … Read more

Start and Stop Service via Command Line In Windows

Windows is a modern operating system that heavily uses services to accomplish different tasks and provides different services. The Windows services generally started and stopped in the background according to their configuration or automated scripts. We can also start and stop services in Windows operating system by using the command line interfaces MS-DOS or PowerShell. … Read more

Run SQL Query In PowerShell

PowerShell is a very talented command line that also provides the ability to connect and query SQL servers. We can use the Invoke-Sqlcmd command in order to query SQL servers. The Invoke-Sqlcmd command provides lots of features like a query from a file, passing the variables to the query, etc. Run SQL Query We can … Read more

Start Google Chrome Using Command Line On Windows 10

Google Chrome is the most popular browser for the Windows Operating system. We can start the Chrome browser using the command line interface or command prompt or MS-DOS or PowerShell in Windows. In this tutorial, we examine how to start Google Chrome via different command line interfaces in Windows, especially in Windows 10 operating system. … Read more

How To Connect SQL Server via PowerShell?

PowerShell provides the SQLServer module in order to connect and use the SQL database servers. We can use the SQLServer module in order to connect and run queries in the connected database server. In this tutorial, we examine how to import and use the SQLServer module to connect SQL Server Database. Import SQLServer Module We … Read more

PowerShell SQL Server Tutorial

PowerShell provides the SQLServer module in order to work with the SQL Database server or Microsoft SQL Database Server. There is also the SQLPS module that is used to manage SQL server configuration. SQLServer Module The SQLServer module is mainly used to connect and consume the SQL server via the PowerShell command line interface. The … Read more

How To Test SQL Database Connection In PowerShell?

PowerShell provides the SQLServer in order to check MS-SQL database connectivity. On daily operations, we may need to set up or create an SQL database but there may be some problems with the connectivity. We can use the Test-SQLDatabase command in order to check the database connectivity for network, port, credentials, etc. Install Test-SQLDatabase The … Read more

Ping List Of Computers In PowerShell

PowerShell provides different commands and methods in order to ping a list of computers. We can check the connectivity to multiple computers in a simple and easy way with minimal effort by using the Net-Connection command or PowerShell script or foreach Loop. Ping List of Computers with Net-Connection Command The most practical and reliable way is using … Read more

Test Port (Open) Connection In PowerShell

PowerShell provides different commands in order to test remote ports whether they are open or closed. The open ports accept the connection requests but closed ports do not return any answer. In this tutorial, we examine different commands in order to check remote port connectivity. Keep in mind that the TCP protocol is used for … Read more

PowerShell Test-Connection Command Tutorial

Windows PowerShell provides the Test-Connection command in order to send packets to the remote systems. Generally, the ICMP packets are used which are also used by the ping command. Simply we can call the Test-Connection as the ping command in order to check remote system accessibility. Ping Remote IP Address  We can use the Test-Connection … Read more