Author | Sander Stad (@sqlstad, sqlstad.nl) |
Availability | Windows, Linux, macOS |
Want to see the source code for this command? Check out Get-DbaRandomizedType on GitHub.
Want to see the Bill Of Health for this command? Check out Get-DbaRandomizedType.
Get the randomized types and sub types
Retrieves the types and sub types available
Get-DbaRandomizedType
[[-RandomizedType] <String[]>]
[[-RandomizedSubType] <String[]>]
[[-Pattern] <String>]
[-EnableException]
[<CommonParameters>]
PS C:\> Get-DbaRandomizedType
Get all the types and subtypes
PS C:\> Get-DbaRandomizedType -Pattern "Addr"
Find all the types and sub types based on a pattern
PS C:\> Get-DbaRandomizedType -RandomizedType Person
Find all the sub types for Person
PS C:\> Get-DbaRandomizedType -RandomizedSubType LastName
Get all the types and subtypes that known by "LastName"
Filter the randomized types
Alias | |
Required | False |
Pipeline | false |
Default Value |
Filter the randomized sub types
Alias | |
Required | False |
Pipeline | false |
Default Value |
Get the types and sub types based on a pattern
Alias | |
Required | False |
Pipeline | false |
Default Value |
By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message.
This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting.
Using this switch turns this "nice by default" feature off and enables you to catch exceptions with your own try/catch.
Alias | |
Required | False |
Pipeline | false |
Default Value | False |