Tag Archives: PowerShell

PowerShell to Remove Old SQL Error Logs

28 Feb


In a previous article article, I wrote about how to find out where the SQL Server error log is located. That particular article was in case your server instance did not start and you needed more information.

If your SQL Server instance is working, there is another way to find the location of the error logs – with a SQL query, which can then be used within PowerShell.

Continue reading

Installing PowerShell Module Without Internet Access

30 Sep


I need to install a new PowerShell module onto a server that has no access to the Internet, so I am unable to use the Install-Module command.


Continue reading