Contains useful functions that I use
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
Archived
.gitignore
Backup-OLADatabase.ps1
Create-Database.ps1
Get-DriveSize.Tests.ps1
Get-DriveSize.ps1
Get-PwnedPassword.ps1
Install-DbaSSMS.Tests.ps1
Install-DbaSSMS.ps1
Invoke-SqlFailOverDetection.Tests.ps1
Invoke-SqlFailOverDetection.ps1
LICENSE
Match-SCSIToDisk.ps1
New-GitHubRepository.ps1
New-WindowsDataScienceVM.ps1
PublishPBIXFile.ps1
README.md
Schedule-OlaJobs.history.zip
Schedule-OlaJobs.ps1
Set-OlaJobsSchedule.ps1
Set-OlaJobsSchedule.tests.ps1
Snippets List.ps1
Test-OLA.ps1
Test-OLAInstance.ps1
Test-SQLDefaults.ps1
Update-AllModules.ps1
When-WillSQLComplete.ps1
agentjobstofileproperly.ps1
powershell.json

README.md

Functions

Contains useful functions that I use and am able to share.

Get-DriveSize - Returns the Drive or Volume Name, Label, Size in Gb, Free Space in GB and Free space as a percentage of drives and mount points on local and remote servers

Test-SQLDefault - Runs a series of Pester tests against a SQL Instance or an array of SQL Instances. Should be easy to customise to your own environments required defaults

Show-DatabasesOnServer - Returns the Name and sizes of databases on a server or array of servers

Set-OlaJobSchedule - Sets the agent job schedule for the jobs created by Ola Hallengrens Maintenance plan

When-WillSQLComplete - Quick function to check progress of SQL Commands via sys.dm_exec_requests. Useful for DBCC, Backup, Restore and indexing progress

Test-OLAInstance - Wrapper to call a Pester Test script Test-OLA to test Ola Hallengren Maintenance Solution is installed correctly