Skip to content

Commit 59271cb

Browse files
Added PS Gallery header
1 parent 87cb702 commit 59271cb

File tree

2 files changed

+65
-3
lines changed

2 files changed

+65
-3
lines changed

Get-SQLAgentJobDuration.ps1

+32-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
1-
Function Get-SQLAgentJobDuration
1+
<#PSScriptInfo
2+
3+
.VERSION 1.0
4+
5+
.GUID 5ebeb3ec-36b0-4dad-a3e3-bbff1ffcbfd7
6+
7+
.AUTHOR Rob Sewell
8+
9+
.COMPANYNAME Sewells Consulting
10+
11+
.COPYRIGHT Rob Sewell - please credit Rob Sewell - https://sqldbawithbeard.com if used
12+
13+
.DESCRIPTION Returns the Job Duration for an agent job on an instance
14+
15+
.TAGS SQL,SQL Agent Jobs, Duration
16+
17+
.LICENSEURI
18+
19+
.PROJECTURI
20+
21+
.ICONURI
22+
23+
.EXTERNALMODULEDEPENDENCIES sqlserver
24+
25+
.REQUIREDSCRIPTS
26+
27+
.EXTERNALSCRIPTDEPENDENCIES
28+
29+
.RELEASENOTES Initial
30+
#>
31+
#Requires -Module sqlserver
32+
Function Get-SQLAgentJobDuration
233
{
334
<#
435
.Synopsis

Get-SQLAgentJobOutPutFile.ps1

+33-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,39 @@
1-
Function Get-SQLAgentJobOutPutFile
1+
<#PSScriptInfo
2+
3+
.VERSION 1.0
4+
5+
.GUID 7c5ca05d-c0dd-45c7-b850-c20d8565c5fd
6+
7+
.AUTHOR Rob Sewell
8+
9+
.COMPANYNAME Sewells Consulting
10+
11+
.COPYRIGHT Rob Sewell - please credit Rob Sewell - https://sqldbawithbeard.com if used
12+
13+
.DESCRIPTION This function returns the output file value for each step in an agent job
14+
15+
.TAGS SQL,SQL Agent Jobs, Duration
16+
17+
.LICENSEURI
18+
19+
.PROJECTURI
20+
21+
.ICONURI
22+
23+
.EXTERNALMODULEDEPENDENCIES sqlserver
24+
25+
.REQUIREDSCRIPTS
26+
27+
.EXTERNALSCRIPTDEPENDENCIES
28+
29+
.RELEASENOTES Initial
30+
#>
31+
#Requires -Module sqlserver
32+
Function Get-SQLAgentJobOutPutFile
233
{
334
<#
435
.Synopsis
5-
Returns the OutPut File for each step of an agent job with the Job Names provided dynamically
36+
Returns the Output File for each step of an agent job with the Job Names provided dynamically
637
.DESCRIPTION
738
This function returns the output file value for each step in an agent job with the Job Names provided dynamically
839
.EXAMPLE

0 commit comments

Comments
 (0)