News
A powershell script to run sql queries and return the output in JSON format suitable to run as a Sumologic script check. ... create a sumologic script source that executes the powershell script on a ...
There are lots of ways to create MSSQL databases via PowerShell. We could invoke a T-SQL query using the CREATE DATABASE term, we could write some code to use the [Create() method with SMO] or, if ...
1 - Get-ExecutionPolicy, if it is the first time you are running Powershell or if you are not sure you can run scripts. 2 - Set-ExecutionPolicy Unrestricted if you want to remove restrictions to ...
There are different ways to create a SQL database in Azure. We can use the Azure portal, or we can use PowerShell. Both methods have their advantages, but if you're writing a script to automate a task ...
I’ve created a script that monitors a table in a SQL Server database. I’m only interested in one column in the table: TimeStamp. If the maximum (newest) value in TimeStamp is more than 30 ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results