Skip to content

Commit

Permalink
CmsReg -> Reg, Mass Alias Removal (dataplat#5575)
Browse files Browse the repository at this point in the history
* CmsReg - > Reg

Now supports mroe than Cms, kinda

* bye aliases

* CmsReg -> Reg

* CmsReg -> Reg

* fix dat

* updates

* ugh

* remove that message
potatoqualitee authored May 22, 2019
1 parent 6e11cb2 commit d382a31
Showing 53 changed files with 448 additions and 627 deletions.
217 changes: 15 additions & 202 deletions dbatools.psd1
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@
'Copy-DbaXESession',
'Copy-DbaBackupDevice',
'Copy-DbaServerTrigger',
'Copy-DbaCmsRegServer',
'Copy-DbaRegServer',
'Copy-DbaSysDbUserObject',
'Copy-DbaAgentProxy',
'Copy-DbaAgentAlert',
@@ -333,7 +333,7 @@
'Get-DbaXESmartTarget',
'Remove-DbaXESmartTarget',
'Stop-DbaXESmartTarget',
'Get-DbaCmsRegServerGroup',
'Get-DbaRegServerGroup',
'New-DbaDbUser',
'Measure-DbaDiskSpaceRequirement',
'New-DbaXESmartCsvWriter',
@@ -445,16 +445,16 @@
'Invoke-DbaDbDbccUpdateUsage',
'Get-DbaDbIdentity',
'Set-DbaDbIdentity',
'Get-DbaCmsRegServerStore',
'Get-DbaCmsRegServer',
'Add-DbaCmsRegServer',
'Add-DbaCmsRegServerGroup',
'Export-DbaCmsRegServer',
'Import-DbaCmsRegServer',
'Move-DbaCmsRegServer',
'Move-DbaCmsRegServerGroup',
'Remove-DbaCmsRegServer',
'Remove-DbaCmsRegServerGroup',
'Get-DbaRegServerStore',
'Get-DbaRegServer',
'Add-DbaRegServer',
'Add-DbaRegServerGroup',
'Export-DbaRegServer',
'Import-DbaRegServer',
'Move-DbaRegServer',
'Move-DbaRegServerGroup',
'Remove-DbaRegServer',
'Remove-DbaRegServerGroup',
'New-DbaDbDataGeneratorConfig',
'Invoke-DbaDbDataGenerator',
'Get-DbaRandomizedValue',
@@ -636,200 +636,13 @@

# Aliases to export from this module
# Aliases are stored in dbatools.psm1
# KEEP Detach-DbaDatabase, Dismount-DbaDatabase and Start-SqlMigration FOREVER
# Also keep Get-DbaRegisteredServer and Write-DbaDataTable, prolly
# The five listed below are intentional
AliasesToExport = @(
'Add-DbaRegisteredServer',
'Add-DbaRegisteredServerGroup',
'Get-DbaRegisteredServer',
'Attach-DbaDatabase',
'Backup-DbaDatabaseCertificate',
'Backup-DbaDatabaseMasterKey',
'Clear-DbaSqlConnectionPool',
'Connect-DbaServer',
'Copy-DbaAgentCategory',
'Copy-DbaAgentProxyAccount',
'Copy-DbaAgentSharedSchedule',
'Copy-DbaCentralManagementServer',
'Copy-DbaDatabaseAssembly',
'Copy-DbaDatabaseMail',
'Copy-DbaExtendedEvent',
'Copy-DbaQueryStoreConfig',
'Copy-DbaSqlDataCollector',
'Copy-DbaSqlPolicyManagement',
'Copy-DbaSqlServerAgent',
'Copy-DbaTableData',
'Copy-SqlAgentCategory',
'Copy-SqlAlert',
'Copy-SqlAudit',
'Copy-SqlAuditSpecification',
'Copy-SqlBackupDevice',
'Copy-SqlCentralManagementServer',
'Copy-SqlCredential',
'Copy-SqlCustomError',
'Copy-SqlDatabase',
'Copy-SqlDatabaseAssembly',
'Copy-SqlDatabaseMail',
'Copy-SqlDataCollector',
'Copy-SqlEndpoint',
'Copy-SqlExtendedEvent',
'Copy-SqlJob',
'Copy-SqlJobServer',
'Copy-SqlLinkedServer',
'Copy-SqlLogin',
'Copy-SqlOperator',
'Copy-SqlPolicyManagement',
'Copy-SqlProxyAccount',
'Copy-SqlResourceGovernor',
'Copy-SqlServerAgent',
'Copy-SqlServerTrigger',
'Copy-SqlSharedSchedule',
'Copy-SqlSpConfigure',
'Copy-SqlSsisCatalog',
'Copy-SqlSysDbUserObjects',
'Copy-SqlUserDefinedMessage',
'Detach-DbaDatabase',
'Expand-DbaTLogResponsibly',
'Expand-SqlTLogResponsibly',
'Export-DbaDacpac',
'Export-DbaRegisteredServer',
'Export-SqlLogin',
'Export-SqlSpConfigure',
'Export-SqlUser',
'Find-DbaDatabaseGrowthEvent',
'Find-SqlDuplicateIndex',
'Find-SqlUnusedIndex',
'Get-DbaCmsRegServerName',
'Get-DbaConfig',
'Get-DbaConfigValue',
'Get-DbaDatabaseAssembly',
'Get-DbaDatabaseCertificate',
'Get-DbaDatabaseEncryption',
'Get-DbaDatabaseFile',
'Get-DbaDatabaseFreeSpace',
'Get-DbaDatabaseMasterKey',
'Get-DbaDatabasePartitionFunction',
'Get-DbaDatabasePartitionScheme',
'Get-DbaDatabaseSnapshot',
'Get-DbaDatabaseSpace',
'Get-DbaDatabaseState',
'Get-DbaDatabaseUdf',
'Get-DbaDatabaseUser',
'Get-DbaDatabaseView',
'Get-DbaDbQueryStoreOptions',
'Get-DbaDistributor',
'Get-DbaInstance',
'Get-DbaJobCategory',
'Get-DbaLog',
'Get-DbaLogShippingError',
'Get-DbaOrphanUser',
'Get-DbaPolicy',
'Get-DbaQueryStoreConfig',
'Get-DbaRegisteredServer',
'Get-DbaRegisteredServerGroup',
'Get-DbaRegisteredServerStore',
'Get-DbaRestoreHistory',
'Get-DbaRoleMember',
'Get-DbaSqlBuildReference',
'Get-DbaSqlFeature',
'Get-DbaSqlInstanceProperty',
'Get-DbaSqlInstanceUserOption',
'Get-DbaSqlManagementObject',
'Get-DbaSqlModule',
'Get-DbaSqlProductKey',
'Get-DbaSqlRegistryRoot',
'Get-DbaSqlService',
'Get-DbaTable',
'Get-DbaTraceFile',
'Get-DbaUserLevelPermission',
'Get-DbaXEventSession',
'Get-DbaXEventSessionTarget',
'Get-DiskSpace',
'Get-SqlMaxMemory',
'Get-SqlRegisteredServerName',
'Get-SqlServerKey',
'Import-DbaCsvToSql',
'Import-DbaRegisteredServer',
'Import-SqlSpConfigure',
'Install-SqlWhoIsActive',
'Invoke-DbaCmd',
'Invoke-DbaDatabaseClone',
'Invoke-DbaDatabaseShrink',
'Invoke-DbaDatabaseUpgrade',
'Invoke-DbaLogShipping',
'Invoke-DbaLogShippingRecovery',
'Invoke-DbaSqlQuery',
'Move-DbaRegisteredServer',
'Move-DbaRegisteredServerGroup',
'New-DbaDatabaseCertificate',
'New-DbaDatabaseMasterKey',
'New-DbaDatabaseSnapshot',
'New-DbaPublishProfile',
'New-DbaSqlConnectionString',
'New-DbaSqlConnectionStringBuilder',
'New-DbaSqlDirectory',
'Out-DbaDataTable',
'Publish-DbaDacpac',
'Read-DbaXEventFile',
'Register-DbaConfig',
'Remove-DbaDatabaseCertificate',
'Remove-DbaDatabaseMasterKey',
'Remove-DbaDatabaseSnapshot',
'Remove-DbaOrphanUser',
'Remove-DbaRegisteredServer',
'Remove-DbaRegisteredServerGroup',
'Remove-SqlDatabaseSafely',
'Remove-SqlOrphanUser',
'Repair-DbaOrphanUser',
'Repair-SqlOrphanUser',
'Reset-SqlAdmin',
'Reset-SqlSaPassword',
'Restart-DbaSqlService',
'Restore-DbaDatabaseCertificate',
'Restore-DbaDatabaseSnapshot',
'Restore-HallengrenBackup',
'Restore-SqlBackupFromDirectory',
'Set-DbaConfig',
'Set-DbaDatabaseOwner',
'Set-DbaDatabaseState',
'Set-DbaDbQueryStoreOptions',
'Set-DbaJobOwner',
'Set-DbaQueryStoreConfig',
'Set-DbaTempDbConfiguration',
'Set-SqlMaxMemory',
'Set-SqlTempDbConfiguration',
'Show-DbaDatabaseList',
'Show-SqlDatabaseList',
'Show-SqlMigrationConstraint',
'Show-SqlServerFileSystem',
'Show-SqlWhoIsActive',
'Start-DbaSqlService',
'Start-SqlMigration',
'Stop-DbaSqlService',
'Sync-DbaSqlLoginPermission',
'Sync-SqlLoginPermissions',
'Test-DbaDatabaseCollation',
'Test-DbaDatabaseCompatibility',
'Test-DbaDatabaseOwner',
'Test-DbaFullRecoveryModel',
'Test-DbaJobOwner',
'Test-DbaLogShippingStatus',
'Test-DbaRecoveryModel',
'Test-DbaSqlBuild',
'Test-DbaSqlManagementObject',
'Test-DbaSqlPath',
'Test-DbaTempDbConfiguration',
'Test-DbaValidLogin',
'Test-DbaVirtualLogFile',
'Test-SqlConnection',
'Test-SqlDiskAllocation',
'Test-SqlMigrationConstraint',
'Test-SqlNetworkLatency',
'Test-SqlPath',
'Test-SqlTempDbConfiguration',
'Update-DbaSqlServiceAccount',
'Watch-DbaXEventSession',
'Watch-SqlDbLogin',
'Write-DbaDbTableData'
'Write-DbaDataTable'
)

# List of all modules packaged with this module
Loading

0 comments on commit d382a31

Please sign in to comment.