Get-DbaDatabasePartitionFunction

Gets database Partition Functions

Screenshots

dbatools - Get-DbaDatabasePartitionFunction

Examples

Gets all database Partition Functions

Get-DbaDatabasePartitionFunction -SqlInstance sql2016

Gets the Partition Functions for the db1 database

Get-DbaDatabasePartitionFunction -SqlInstance Server1 -Database db1

Gets the Partition Functions for all databases except db1

Get-DbaDatabasePartitionFunction -SqlInstance Server1 -ExcludeDatabase db1

Gets the Partition Functions for the databases on Sql1 and Sql2/sqlexpress

‘Sql1′,’Sql2/sqlexpress’ | Get-DbaDatabasePartitionFunction

Author

This command was created by Klaas Vandenberghe. You can find Klaas on Twitter and his blog.