forked from dataplat/dbatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbatools.psd1
326 lines (293 loc) · 9.3 KB
/
dbatools.psd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
#
# Module manifest for module 'dbatools'
#
# Generated by: Chrissy LeMaire
#
# Generated on: 9/8/2015
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'dbatools.psm1'
# Version number of this module.
ModuleVersion = '0.8.951'
# ID used to uniquely identify this module
GUID = '9d139310-ce45-41ce-8e8b-d76335aa1789'
# Author of this module
Author = 'Chrissy LeMaire'
# Company or vendor of this module
CompanyName = 'dbatools.io'
# Copyright statement for this module
Copyright = '2017 Chrissy LeMaire'
# Description of the functionality provided by this module
Description = 'Provides extra functionality for SQL Server Database admins and enables SQL Server instance migrations.'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'
# Name of the Windows PowerShell host required by this module
PowerShellHostName = ''
# Minimum version of the Windows PowerShell host required by this module
PowerShellHostVersion = ''
# Minimum version of the .NET Framework required by this module
DotNetFrameworkVersion = ''
# Minimum version of the common language runtime (CLR) required by this module
CLRVersion = ''
# Processor architecture (None, X86, Amd64, IA64) required by this module
ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @()
# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @()
# Script files () that are run in the caller's environment prior to importing this module
ScriptsToProcess = @()
# Type files (xml) to be loaded when importing this module
TypesToProcess = @()
# Format files (xml) to be loaded when importing this module
# "xml\dbatools.Format.ps1xml"
FormatsToProcess = @("xml\dbatools.Format.ps1xml")
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @()
# Functions to export from this module
FunctionsToExport = @(
'Start-SqlMigration',
'Copy-SqlDatabase',
'Copy-SqlLogin',
'Copy-SqlServerAgent',
'Copy-SqlSpConfigure',
'Copy-SqlLinkedServer',
'Copy-SqlDatabaseMail',
'Copy-SqlDatabaseAssembly',
'Copy-SqlPolicyManagement',
'Copy-SqlSharedSchedule',
'Copy-SqlOperator',
'Copy-SqlJob',
'Copy-SqlDataCollector',
'Copy-SqlCustomError',
'Copy-SqlAuditSpecification',
'Copy-SqlEndpoint',
'Copy-SqlAudit',
'Copy-SqlServerRole',
'Copy-SqlResourceGovernor',
'Copy-SqlExtendedEvent',
'Copy-SqlBackupDevice',
'Copy-SqlServerTrigger',
'Copy-SqlCredential',
'Copy-SqlCentralManagementServer',
'Copy-SqlSysDbUserObjects',
'Copy-SqlProxyAccount',
'Copy-SqlAlert',
'Import-SqlSpConfigure',
'Export-SqlSpConfigure'
'Get-DbaDetachedDatabaseInfo',
'Restore-SqlBackupFromDirectory',
'Test-SqlConnection',
'Import-CsvToSql',
'Copy-SqlAgentCategory',
'Update-dbatools',
'Test-SqlPath',
'Sync-SqlLoginPermissions',
'Export-SqlLogin',
'Get-SqlServerKey',
'Reset-SqlAdmin',
'Watch-SqlDbLogin',
'Expand-SqlTLogResponsibly',
'Test-SqlMigrationConstraint',
'Get-SqlRegisteredServerName',
'Test-SqlNetworkLatency',
'Find-SqlDuplicateIndex',
'Show-SqlServerFileSystem',
'Get-DbaDiskSpace',
'Remove-SqlDatabaseSafely',
'Show-SqlDatabaseList',
'Set-SqlTempDbConfiguration',
'Test-SqlTempDbConfiguration',
'Repair-SqlOrphanUser',
'Remove-SqlOrphanUser',
'Find-SqlUnusedIndex',
'Update-SqlWhoIsActive',
'Test-DbaDiskAllocation',
'Test-DbaPowerPlan',
'Set-DbaPowerPlan',
'Test-DbaDiskAlignment',
'Get-DbaDatabaseFreespace',
'Get-DbaClusterActiveNode',
'Test-DbaDatabaseOwner',
'Set-DbaDatabaseOwner',
'Test-DbaJobOwner',
'Set-DbaJobOwner',
'Test-DbaVirtualLogFile',
'Get-DbaRestoreHistory',
'Get-DbaTcpPort',
'Test-DbaDatabaseCompatibility',
'Test-DbaDatabaseCollation',
'Test-DbaConnectionAuthScheme',
'Test-DbaServerName',
'Repair-DbaServerName',
'Stop-DbaProcess',
'Copy-SqlSsisCatalog',
'Find-DbaOrphanedFile',
'Get-DbaAvailabilityGroup',
'Get-DbaLastGoodCheckDb',
'Get-DbaProcess',
'Get-DbaRunningJob',
'Set-DbaMaxDop',
'Test-DbaFullRecoveryModel',
'Test-DbaMaxDop',
'Remove-DbaBackup',
'Get-DbaPermission',
'Get-DbaLastBackup',
'Connect-DbaSqlServer',
'Get-DbaStartupParameter',
'Get-DbaMemoryUsage',
'Get-DbaBackupHistory',
'Read-DbaBackupHeader',
'Test-DbaLastBackup',
'Get-DbaMaxMemory',
'Set-DbaMaxMemory',
'Test-DbaMaxMemory',
'Get-DbaDatabaseSnapshot',
'Remove-DbaDatabaseSnapshot',
'Get-DbaRoleMember',
'Resolve-DbaNetworkName',
'Test-DbaValidLogin',
'Get-DbaMemoryUsage',
'Export-DbaAvailabilityGroup',
'Out-DbaDataTable',
'Write-DbaDataTable',
'New-DbaDatabaseSnapshot',
'Restore-DbaFromDatabaseSnapshot',
'Get-DbaTrigger',
'Invoke-Sqlcmd2',
'Export-SqlUser',
'Get-DbaDatabaseState',
'Set-DbaDatabaseState',
'Move-DbaDatabaseFile',
'Get-DbaHelpIndex',
'Get-DbaAgentAlert',
'Get-DbaAgentOperator',
'Get-DbaPageFileSetting',
'Get-DbaSpConfigure',
'Rename-DbaLogin',
'Find-DbaAgentJob',
'Find-DbaDatabase',
'Get-DbaMsdtc',
'Get-DbaUptime',
'Get-DbaXEventsSession',
'Test-DbaOptimizeForAdHoc',
'Find-DbaStoredProcedure',
'Measure-DbaBackupThroughput',
'Find-DbaLoginInGroup',
'Get-DbaSpn',
'Test-DbaSpn',
'Set-DbaSpn',
'Remove-DbaSpn',
'Get-DbaDatabase',
'Find-DbaUserObject',
'Get-DbaSqlService',
'Get-DbaDependency',
'Clear-DbaSqlConnectionPool',
'Find-DbaCommand',
'Get-DbaConfig',
'Get-DbaConfigValue',
'Set-DbaConfig',
'Get-DbaClientProtocol',
'Backup-DbaDatabase',
'New-DbaSqlDirectory',
'Get-DbaPrivilege',
'Install-DbaWatchUpdate',
'Watch-DbaUpdate',
'Uninstall-DbaWatchUpdate',
'Get-DbaQueryStoreConfig',
'Set-DbaQueryStoreConfig',
'Restore-DbaDatabase',
'Copy-DbaQueryStoreConfig',
'Get-DbaExecutionPlan',
'Export-DbaExecutionPlan',
'Get-DbaServerProtocol',
'Get-DbaLocaleSetting',
'Get-DbaSqlBuildReference',
'Set-DbaSpConfigure',
'Test-DbaIdentityUsage',
'Get-DbaDatabaseAssembly',
'Get-DbaAgentJob',
'Get-DbaCustomError',
'Get-DbaCredential',
'Get-DbaBackupDevice',
'Get-DbaServerAuditSpecification',
'Get-DbaJobCategory',
'Get-DbaDatabaseEncryption',
'New-DbaSsisCatalog',
'Remove-DbaDatabase',
'Get-DbaQueryExecutionTime',
'Get-DbaTempdbUsage',
'Find-DbaDatabaseGrowthEvent',
'Get-DbaNetworkActivity',
'Get-DbaWhoisActive',
'Get-DbaAgentJobOutputFile',
'Set-DbaAgentJobOutputFile',
'Test-DbaLinkedServerConnection',
'Get-DbaDatabaseFile',
'Read-DbaTransactionLog',
'Get-DbaTable',
'Invoke-DbaDatabaseShrink',
'Get-DbaEstimatedCompletionTime',
'Export-DbaScript',
'New-DbaScriptingOption',
'Get-DbaLinkedServer',
'Set-DbaStartupParameter',
'New-DbaAgentJob',
'Export-DbaScript',
'Get-DbaLogin',
'New-DbaScriptingOption',
'Save-DbaDiagnosticQueryScript',
'Invoke-DbaDiagnosticQuery',
'Export-DbaDiagnosticQuery',
'Invoke-DbaWhoisActive',
'Install-DbaWhoIsActive'
#'Invoke-DbaLogShippingRecovery',
)
# Cmdlets to export from this module
CmdletsToExport = '*'
# Variables to export from this module
VariablesToExport = '*'
# Aliases to export from this module
# Aliases are stored in dbatools.psm1
AliasesToExport = 'Reset-SqlSaPassword',
'Copy-SqlUserDefinedMessage',
'Copy-SqlJobServer',
'Restore-HallengrenBackup',
'Update-SqlWhoIsActive',
'Install-SqlWhoIsActive',
'Show-SqlMigrationConstraint',
'Test-SqlDiskAllocation',
'Get-DiskSpace',
'Get-SqlMaxMemory',
'Set-SqlMaxMemory',
'Show-SqlWhoIsActive'
# List of all modules packaged with this module
ModuleList = @()
# List of all files packaged with this module
FileList = ''
PrivateData = @{
# PSData is module packaging and gallery metadata embedded in PrivateData
# It's for rebuilding PowerShellGet (and PoshCode) NuGet-style packages
# We had to do this because it's the only place we're allowed to extend the manifest
# https://connect.microsoft.com/PowerShell/feedback/details/421837
PSData = @{
# The primary categorization of this module (from the TechNet Gallery tech tree).
Category = "Databases"
# Keyword tags to help users find this module via navigations and search.
Tags = @('sqlserver', 'migrations', 'sql', 'dba', 'databases')
# The web address of an icon which can be used in galleries to represent this module
IconUri = "https://dbatools.io/logo.png"
# The web address of this module's project or support homepage.
ProjectUri = "https://dbatools.io"
# The web address of this module's license. Points to a page that's embeddable and linkable.
LicenseUri = "http://www.gnu.org/licenses/gpl-3.0.en.html"
# Release notes for this particular version of the module
ReleaseNotes = "https://dbatools.io/releases"
# If true, the LicenseUrl points to an end-user license (not just a source license) which requires the user agreement before use.
# RequireLicenseAcceptance = ""
# Indicates this is a pre-release/testing version of the module.
IsPrerelease = 'True'
}
}
}