Viewing 15 posts - 16 through 30 (of 99 total)
Hey, in fact I was just saying about the WMI permissions and to be honest I dont read all the posts hehehe.Sorry π
August 23, 2012 at 2:27 am
Have you tried ?
http://vniklas.djungeln.se/2012/08/22/set-up-non-admin-account-to-access-wmi-and-performance-data-remotely-with-powershell/[/url]
August 23, 2012 at 1:09 am
USe Chad MillerΒ΄s Out-DataTable and Write-DataTable
it use Bulk Insert.
July 4, 2012 at 5:45 am
Try to change the Job Owner to a NON-SA Account.
if the job owner is sysadmin fixed server role step will be executed under the account used by the Sql...
June 26, 2012 at 10:15 am
yes, actually it is my next Simple-Talk article and I am showing hot to send an email too, and you can use Powershell for this π
#SQLServiceStop
$query = "select *...
July 11, 2011 at 11:40 pm
Maybe security context ?
Wen you run a Powershell sql agent job, the security context is the SQL Server Account (if the job owner is SA)..so take a look if the...
July 1, 2011 at 5:32 am
Have you tried :
(invoke-sqlcmd -serverinstance sqlserv -database playground "exec dbo.myproc" | select column1,column2 | ConvertTo-Xml -NoTypeInformation).save("c:\temp\teste.xml")
June 24, 2011 at 1:10 am
Hi Andrew, I believe it is a best scenario to use powershell. Take a look in get-service cmdlet or bing "service running powershell" you will find a lot of examples...
June 2, 2011 at 9:39 am
Hi Andrew,
I did something some time ago to my old company, but is using Powershell. If you are interest, this is the link π
September 7, 2010 at 12:35 pm
Hi rnunez,
I have tried this for a long time. According to the help of invoke-sqlcmd
Invoke-Sqlcmd does not return message output, such as the output of PRINT...
May 30, 2010 at 7:36 pm
Great π
I used messages and out-file just to format the text ...
Glad to help π
May 2, 2010 at 2:10 pm
I did not think much on how to join the output of sqlcmd with powershell, but there is a possible solution made in powershell for everything (not test with the...
May 2, 2010 at 1:08 pm
I dont Know if I understand , But If you want to capture the output from sqlcmd to txt file, you can use the -o from sqlcmd..but in powershell you...
May 1, 2010 at 10:59 pm
Hi,
I really do not understand your question, can you explain better ?
May 1, 2010 at 10:39 pm
Viewing 15 posts - 16 through 30 (of 99 total)