SQLAdmin
SQL Server administration, infrastructure, automation, instrumentation etc.
Pages
(Move to ...)
SQLAdmin blog
DBA Security
DBA Litterature
DBA SQL Server Tools
Microsoft Resources
▼
Showing posts with label
SQL Server Agent
.
Show all posts
Showing posts with label
SQL Server Agent
.
Show all posts
2023-02-14
Add SQL Agent job step with tokens in output file name
›
If you create a new SQL Agent job step with tokens in output file name using the stored procedure sp_add_jobstep or want to add a filename...
2016-11-09
MS16-136
›
For the first time in a long time we have a security update for SQL Server with MS16-136 . Some technical details on the update itself are ...
2014-10-09
DBCC CHECKDB with PowerShell
›
Microsoft Transact-SQL (T-SQL) is really great for many things inside the SQL Server Database Engine, but automated maintenance with file h...
2 comments:
2014-10-08
SQL Agent check error count step
›
I had to create a workaround on a database backup job for a server withe 50+ important databases. To be sure that an attempt is made to tak...
2013-05-20
SMO by SQLPS
›
With SQL Server 2012 SQLPS was changes from a mini-PowerShell to a PowerShell module. This makes is much simpler to import the functionality...
2013-03-15
SQLPS Clear-Host error
›
When a ps1-scriptfile contains a Clear-Host statement, which I often use when testing a script in PowerShell ISE, the script fails on SQLPS ...
2012-11-28
Job history template using SQL Server Agent tokens
›
To log the execution and output from all steps in a SQL Server Agent job into a single logfile, you can use SQL Server tokens and macros to ...
2012-04-06
Get SQL Server root folder with xp_instance_regread
›
I often use the standard folders of SQL Server, like the folder "Log" with SQL Server Error Log files and my SQL Server Agent job ...
2012-03-13
Log failure in a SQL Agent PowerShell job step
›
I wanted to have a template for a SQL Server Agent PowerShell job step. A key feature of the template is to make the job step fail controlle...
2012-02-14
SQL Server Agent PowerShell job step
›
Some time ago I wrote about this in another blog entry , and I do it again while there are some major changes in what I want to use. First ...
2010-10-11
SQL PowerShell output
›
There are several CmdLets for output in PowerShell. I got some by the statements man write-* and man out-* Putting the CmdLets in a scr...
2010-08-24
CodePlex novice
›
I have entered CodePlex. After some looking around, my first project is published. Please take a look. The subject is maintaining the dat...
2010-02-08
SQL Server Agent schedule owner
›
When a database mirroring session is created using Microsoft SQL Server Management Studio (SSMS) the job "Database Mirroring Monitor Jo...
2008-10-07
SQL Server Agent PowerShell job step
›
I have had some problems executing a PowerShell script in a SQL Server Agent job step. The errormessage I got – several times – was Execut...
2008-08-14
SQL Server Agent PowerShell job step
›
This seems like a valid and simple way to execute a PowerShell script in a SQL Server Agent job step. The script I've been testing with...
1 comment:
›
Home
View web version