Viewing 15 posts - 76 through 90 (of 972 total)
sqlnewbie17 (11/21/2015)
[System.Data.Sql.SqlDataSourceEnumerator]::Instance.GetDataSources()
It creates a text extract with 4 columns as below.
ServerName ...
November 21, 2015 at 4:14 pm
coolchaitu (11/20/2015)
Good Morning Experts,Backup completes at time t1. Exactly at time t1, a transaction A starts. Will the backup contain this transaction A?
It is a depends answer but the likelihood...
November 20, 2015 at 10:28 pm
I'm curious to know why you are using SMO's WMI class to get service information? It is much easier to just use Get-Service or win32_service:
Get-WmiObject win32_service | where {$_.DisplayName -match...
November 18, 2015 at 12:48 pm
Based on version of SQL Server and if you are integrated into IIS or not.
If IIS is not being used you can simply go into the Reporting Services Configuration Manager...
November 13, 2015 at 9:26 am
Manic Star (11/12/2015)
Wouldn't it be easier to work with a network admin to do a group policy instead?
I would think it would be because even if you disabled it from...
November 12, 2015 at 7:11 am
The problem you have with that script is in the way you are calling it.
Your script contains the line $instance = $args[0]
. This line is is grabbing the value being...
November 11, 2015 at 5:20 pm
Manic Star (11/11/2015)
You're trying to disable windows update from a script running in sql?
It has come to be a more common thing to do for some reason. I have seen...
November 11, 2015 at 3:28 pm
jonesg 74626 (11/3/2015)
November 3, 2015 at 7:34 am
You are going to need to explicitly specify the columns most likely to deal with the conversion issue. Chrissy's script does not handle that, you can check the comments from...
October 29, 2015 at 6:59 am
I would also suggest starting here in BOL: Scripting and PowerShell with Reporting Services. The basic gist of it all is there are no native PowerShell commands to interact or...
October 27, 2015 at 10:29 pm
It depends on what is your script doing, can you provide the script or an example? What version of SQL Server?
October 27, 2015 at 5:07 pm
If you are not concerned with it and just to delete it all, just pipe that dir command to "Remove-Item -force".
If you need only certain files deleted then just...
October 21, 2015 at 3:23 pm
You will generally design your packages with your connections parametized (SSIS 2012+) or using variables to build your connection string, which will provide your path to that file accessible in...
October 19, 2015 at 2:03 am
If remote command execution is open between the servers or computers you can use Invoke-Command:
Invoke-Command -Computer MYSERVER28 {(dir 'T:\System Volume Information').Count}
October 8, 2015 at 8:09 pm
Viewing 15 posts - 76 through 90 (of 972 total)