forked from dataplat/dbatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbatools.psd1
869 lines (836 loc) · 28.4 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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
#
# 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.9.793'
# 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 = 'Copyright (c) 2019 by dbatools, licensed under MIT'
# Description of the functionality provided by this module
Description = "The community module that enables SQL Server Pros to automate database development and server administration"
# 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 = @("xml\dbatools.Types.ps1xml")
# 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
# Specific functions to export for Core, etc are also found in psm1
# FunctionsToExport specifically helps with AUTO-LOADING so do not remove
FunctionsToExport = @(
'Start-DbaMigration',
'Copy-DbaDatabase',
'Copy-DbaLogin',
'Copy-DbaAgentServer',
'Copy-DbaSpConfigure',
'Copy-DbaDbMail',
'Copy-DbaDbAssembly',
'Copy-DbaAgentSchedule',
'Copy-DbaAgentOperator',
'Copy-DbaAgentJob',
'Copy-DbaCustomError',
'Copy-DbaServerAuditSpecification',
'Copy-DbaEndpoint',
'Copy-DbaServerAudit',
'Copy-DbaServerRole',
'Copy-DbaResourceGovernor',
'Copy-DbaXESession',
'Copy-DbaBackupDevice',
'Copy-DbaServerTrigger',
'Copy-DbaCmsRegServer',
'Copy-DbaSysDbUserObject',
'Copy-DbaAgentProxy',
'Copy-DbaAgentAlert',
'Get-DbaDetachedDatabaseInfo',
'Restore-DbaBackupFromDirectory',
'Copy-DbaAgentJobCategory',
'Test-DbaPath',
'Export-DbaLogin',
'Watch-DbaDbLogin',
'Expand-DbaDbLogFile',
'Test-DbaMigrationConstraint',
'Test-DbaNetworkLatency',
'Find-DbaDuplicateIndex',
'Remove-DbaDatabaseSafely',
'Set-DbaTempdbConfig',
'Test-DbaTempdbConfig',
'Repair-DbaDbOrphanUser',
'Remove-DbaDbOrphanUser',
'Find-DbaDbUnusedIndex',
'Get-DbaDbSpace',
'Test-DbaDbOwner',
'Set-DbaDbOwner',
'Test-DbaAgentJobOwner',
'Set-DbaAgentJobOwner',
'Test-DbaDbVirtualLogFile',
'Get-DbaDbRestoreHistory',
'Get-DbaTcpPort',
'Test-DbaDbCompatibility',
'Test-DbaDbCollation',
'Test-DbaConnectionAuthScheme',
'Test-DbaServerName',
'Repair-DbaServerName',
'Stop-DbaProcess',
'Find-DbaOrphanedFile',
'Get-DbaAvailabilityGroup',
'Get-DbaLastGoodCheckDb',
'Get-DbaProcess',
'Get-DbaRunningJob',
'Set-DbaMaxDop',
'Test-DbaDbRecoveryModel',
'Test-DbaMaxDop',
'Remove-DbaBackup',
'Get-DbaPermission',
'Get-DbaLastBackup',
'Connect-DbaInstance',
'Get-DbaBackupHistory',
'Read-DbaBackupHeader',
'Test-DbaLastBackup',
'Get-DbaMaxMemory',
'Set-DbaMaxMemory',
'Get-DbaDbSnapshot',
'Remove-DbaDbSnapshot',
'Get-DbaDbRoleMember',
'Get-DbaServerRoleMember',
'Resolve-DbaNetworkName',
'Export-DbaAvailabilityGroup',
'Write-DbaDbTableData',
'New-DbaDbSnapshot',
'Restore-DbaDbSnapshot',
'Get-DbaServerTrigger',
'Get-DbaDbTrigger',
'Get-DbaDbState',
'Set-DbaDbState',
'Get-DbaHelpIndex',
'Get-DbaAgentAlert',
'Get-DbaAgentOperator',
'Get-DbaSpConfigure',
'Rename-DbaLogin',
'Find-DbaAgentJob',
'Find-DbaDatabase',
'Get-DbaXESession',
'Test-DbaOptimizeForAdHoc',
'Find-DbaStoredProcedure',
'Measure-DbaBackupThroughput',
'Get-DbaDatabase',
'Find-DbaUserObject',
'Get-DbaDependency',
'Find-DbaCommand',
'Backup-DbaDatabase',
'New-DbaDirectory',
'Get-DbaDbQueryStoreOption',
'Set-DbaDbQueryStoreOption',
'Restore-DbaDatabase',
'Copy-DbaDbQueryStoreOption',
'Get-DbaExecutionPlan',
'Export-DbaExecutionPlan',
'Set-DbaSpConfigure',
'Test-DbaIdentityUsage',
'Get-DbaDbAssembly',
'Get-DbaAgentJob',
'Get-DbaCustomError',
'Get-DbaCredential',
'Get-DbaBackupDevice',
'Get-DbaAgentProxy',
'Get-DbaDbEncryption',
'Remove-DbaDatabase',
'Get-DbaQueryExecutionTime',
'Get-DbaTempdbUsage',
'Find-DbaDbGrowthEvent',
'Test-DbaLinkedServerConnection',
'Get-DbaDbFile',
'Read-DbaTransactionLog',
'Get-DbaDbTable',
'Invoke-DbaDbShrink',
'Get-DbaEstimatedCompletionTime',
'Get-DbaLinkedServer',
'New-DbaAgentJob',
'Get-DbaLogin',
'New-DbaScriptingOption',
'Save-DbaDiagnosticQueryScript',
'Invoke-DbaDiagnosticQuery',
'Export-DbaDiagnosticQuery',
'Invoke-DbaWhoIsActive',
'Set-DbaAgentJob',
'Remove-DbaAgentJob',
'New-DbaAgentJobStep',
'Set-DbaAgentJobStep',
'Remove-DbaAgentJobStep',
'New-DbaAgentSchedule',
'Set-DbaAgentSchedule',
'Remove-DbaAgentSchedule',
'Backup-DbaDbCertificate',
'Get-DbaDbCertificate',
'Get-DbaEndpoint',
'Get-DbaDbMasterKey',
'Get-DbaSchemaChangeHistory',
'Get-DbaServerAudit',
'Get-DbaServerAuditSpecification',
'Get-DbaProductKey',
'Get-DbatoolsLog',
'Restore-DbaDbCertificate',
'New-DbaDbCertificate',
'New-DbaDbMasterKey',
'New-DbaServiceMasterKey',
'Remove-DbaDbCertificate',
'Remove-DbaDbMasterKey',
'New-DbaConnectionStringBuilder',
'Get-DbaInstanceProperty',
'Get-DbaInstanceUserOption',
'New-DbaConnectionString',
'Get-DbaAgentSchedule',
'Read-DbaTraceFile',
'Get-DbaServerInstallDate',
'Backup-DbaDbMasterKey',
'Get-DbaAgentJobHistory',
'Get-DbaMaintenanceSolutionLog',
'Invoke-DbaDbLogShipRecovery',
'Find-DbaTrigger',
'Find-DbaView',
'Invoke-DbaDbUpgrade',
'Get-DbaDbUser',
'Get-DbaAgentLog',
'Get-DbaDbMailLog',
'Get-DbaDbMailHistory',
'Get-DbaDbView',
'Get-DbaDbUdf',
'Get-DbaDbPartitionFunction',
'Get-DbaDbPartitionScheme',
'Get-DbaDefaultPath',
'Get-DbaDbStoredProcedure',
'Test-DbaDbCompression',
'Mount-DbaDatabase',
'Dismount-DbaDatabase',
'Get-DbaAgReplica',
'Get-DbaAgDatabase',
'Get-DbaModule',
'Sync-DbaLoginPermission',
'New-DbaCredential',
'Get-DbaFile',
'Set-DbaDbCompression',
'Get-DbaTraceFlag',
'Invoke-DbaCycleErrorLog',
'Get-DbaAvailableCollation',
'Get-DbaUserPermission',
'Get-DbaAgHadr',
'Find-DbaSimilarTable',
'Get-DbaTrace',
'Get-DbaSuspectPage',
'Get-DbaWaitStatistic',
'Clear-DbaWaitStatistics',
'Get-DbaTopResourceUsage',
'New-DbaLogin',
'Get-DbaAgListener',
'Invoke-DbaDbClone',
'Disable-DbaTraceFlag',
'Enable-DbaTraceFlag',
'Start-DbaAgentJob',
'Stop-DbaAgentJob',
'New-DbaAgentProxy',
'Test-DbaDbLogShipStatus',
'Get-DbaXESessionTarget',
'New-DbaXESmartTargetResponse',
'New-DbaXESmartTarget',
'Get-DbaDbVirtualLogFile',
'Get-DbaBackupInformation',
'Start-DbaXESession',
'Stop-DbaXESession',
'Set-DbaDbRecoveryModel',
'Get-DbaDbRecoveryModel',
'Get-DbaWaitingTask',
'Remove-DbaDbUser',
'Get-DbaDump',
'Invoke-DbaAdvancedRestore',
'Format-DbaBackupInformation',
'Get-DbaAgentJobStep',
'Test-DbaBackupInformation',
'Invoke-DbaBalanceDataFiles',
'Select-DbaBackupInformation',
'Publish-DbaDacPackage',
'Copy-DbaDbTableData',
'Invoke-DbaQuery',
'Remove-DbaLogin',
'Get-DbaAgentJobCategory',
'New-DbaAgentJobCategory',
'Remove-DbaAgentJobCategory',
'Set-DbaAgentJobCategory',
'Get-DbaDbRole',
'Get-DbaServerRole',
'Find-DbaBackup',
'Remove-DbaXESession',
'New-DbaXESession',
'Get-DbaXEStore',
'New-DbaXESmartTableWriter',
'New-DbaXESmartReplay',
'New-DbaXESmartEmail',
'New-DbaXESmartQueryExec',
'Start-DbaXESmartTarget',
'Get-DbaDbOrphanUser',
'Get-DbaOpenTransaction',
'Get-DbaDbLogShipError',
'Test-DbaBuild',
'Get-DbaXESessionTemplate',
'ConvertTo-DbaXESession',
'Start-DbaTrace',
'Stop-DbaTrace',
'Remove-DbaTrace',
'Set-DbaLogin',
'Copy-DbaXESessionTemplate',
'Get-DbaXEObject',
'ConvertTo-DbaDataTable',
'Find-DbaDisabledIndex',
'Get-DbaXESmartTarget',
'Remove-DbaXESmartTarget',
'Stop-DbaXESmartTarget',
'Get-DbaCmsRegServerGroup',
'New-DbaDbUser',
'Measure-DbaDiskSpaceRequirement',
'New-DbaXESmartCsvWriter',
'Invoke-DbaXeReplay',
'Find-DbaInstance',
'Test-DbaDiskSpeed',
'Get-DbaDbExtentDiff',
'Read-DbaAuditFile',
'Get-DbaDbCompression',
'Invoke-DbaDbDecryptObject',
'Get-DbaDbForeignKey',
'Get-DbaDbCheckConstraint',
'Set-DbaAgentAlert',
'Get-DbaWaitResource',
'Get-DbaDbPageInfo',
'Get-DbaConnection',
'Test-DbaLoginPassword',
'Get-DbaErrorLogConfig',
'Set-DbaErrorLogConfig',
'Get-DbaPlanCache',
'Clear-DbaPlanCache',
'ConvertTo-DbaTimeline',
'Get-DbaDbMail',
'Get-DbaDbMailAccount',
'Get-DbaDbMailProfile',
'Get-DbaDbMailConfig',
'Get-DbaDbMailServer',
'New-DbaDbMailServer',
'New-DbaDbMailAccount',
'New-DbaDbMailProfile',
'Get-DbaResourceGovernor',
'Get-DbaRgResourcePool',
'Get-DbaRgWorkloadGroup',
'Get-DbaRgClassifierFunction',
'Export-DbaInstance',
'Invoke-DbatoolsRenameHelper',
'Measure-DbatoolsImport',
'Get-DbaDeprecatedFeature',
'Test-DbaDeprecatedFeature'
'Get-DbaDbFeatureUsage',
'Stop-DbaEndpoint',
'Start-DbaEndpoint',
'Set-DbaDbMirror',
'Repair-DbaDbMirror',
'Remove-DbaEndpoint',
'Remove-DbaDbMirrorMonitor',
'Remove-DbaDbMirror',
'New-DbaEndpoint',
'Invoke-DbaDbMirroring',
'Invoke-DbaDbMirrorFailover',
'Get-DbaDbMirrorMonitor',
'Get-DbaDbMirror',
'Add-DbaDbMirrorMonitor',
'Test-DbaEndpoint',
'Get-DbaDbSharePoint',
'Get-DbaDbMemoryUsage',
'Clear-DbaLatchStatistics',
'Get-DbaCpuRingBuffer',
'Get-DbaIoLatency',
'Get-DbaLatchStatistic',
'Get-DbaSpinLockStatistic',
'Add-DbaAgDatabase',
'Add-DbaAgListener',
'Add-DbaAgReplica',
'Grant-DbaAgPermission',
'Invoke-DbaAgFailover',
'Join-DbaAvailabilityGroup',
'New-DbaAvailabilityGroup',
'Remove-DbaAgDatabase',
'Remove-DbaAgListener',
'Remove-DbaAvailabilityGroup',
'Revoke-DbaAgPermission',
'Get-DbaDbCompatibility',
'Set-DbaDbCompatibility',
'Invoke-DbatoolsFormatter',
'Remove-DbaAgReplica',
'Resume-DbaAgDbDataMovement',
'Set-DbaAgListener',
'Set-DbaAgReplica',
'Set-DbaAvailabilityGroup',
'Set-DbaEndpoint',
'Suspend-DbaAgDbDataMovement',
'Sync-DbaAvailabilityGroup',
'Get-DbaMemoryCondition',
'Remove-DbaDbBackupRestoreHistory',
'New-DbaDatabase'
'New-DbaDacOption',
'Get-DbaDbccHelp',
'Get-DbaDbccMemoryStatus',
'Get-DbaDbccProcCache',
'Get-DbaDbccUserOption',
'Get-DbaAgentServer',
'Set-DbaAgentServer',
'Invoke-DbaDbccFreeCache',
'Export-DbatoolsConfig',
'Import-DbatoolsConfig',
'Reset-DbatoolsConfig',
'Unregister-DbatoolsConfig',
'Join-DbaPath',
'Resolve-DbaPath',
'Invoke-DbaDbDataMasking',
'New-DbaDbMaskingConfig',
'Get-DbaDbccSessionBuffer',
'Get-DbaDbccStatistic',
'Get-DbaDbDbccOpenTran',
'Invoke-DbaDbccDropCleanBuffer',
'Invoke-DbaDbDbccCheckConstraint',
'Invoke-DbaDbDbccCleanTable',
'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',
'New-DbaDbDataGeneratorConfig',
'Invoke-DbaDbDataGenerator',
'Get-DbaRandomizedValue',
'Get-DbaRandomizedDatasetTemplate',
'Get-DbaRandomizedDataset',
'Get-DbaRandomizedType',
'Export-DbaDbTableData',
# noncoresmo
# SMO issues
'Export-DbaUser',
'Get-DbaSsisExecutionHistory',
'Get-DbaRepDistributor',
'Copy-DbaPolicyManagement',
'Copy-DbaDataCollector',
'Copy-DbaSsisCatalog',
'New-DbaSsisCatalog',
'Get-DbaSsisEnvironmentVariable',
'Get-DbaPbmCategory',
'Get-DbaPbmCategorySubscription',
'Get-DbaPbmCondition',
'Get-DbaPbmObjectSet',
'Get-DbaPbmPolicy',
'Get-DbaPbmStore',
'Get-DbaRepPublication',
'Test-DbaRepLatency',
'Export-DbaRepServerSetting',
'Get-DbaRepServer',
# windowsonly
# solvable filesystem issues or other workarounds
'Install-DbaSqlWatch',
'Uninstall-DbaSqlWatch',
'Get-DbaRegistryRoot',
'Install-DbaMaintenanceSolution',
'New-DbatoolsSupportPackage',
'Export-DbaScript',
'Get-DbaAgentJobOutputFile',
'Set-DbaAgentJobOutputFile',
'Get-DbaBuildReference',
'New-DbaDacProfile'
'Import-DbaXESessionTemplate',
'Export-DbaXESessionTemplate',
'Import-DbaSpConfigure',
'Export-DbaSpConfigure'
'Update-Dbatools',
'Install-DbaWhoIsActive',
'Install-DbaFirstResponderKit',
'Read-DbaXEFile',
'Watch-DbaXESession',
'Test-DbaMaxMemory', # can be fixed by not testing remote when linux is detected
'Rename-DbaDatabase', # can maybebe fixed by not remoting when linux is detected
# CM and Windows functions
'Install-DbaInstance',
'Invoke-DbaAdvancedInstall',
'Update-DbaInstance',
'Invoke-DbaAdvancedUpdate',
'Invoke-DbaPfRelog',
'Get-DbaPfDataCollectorCounter',
'Get-DbaPfDataCollectorCounterSample',
'Get-DbaPfDataCollector',
'Get-DbaPfDataCollectorSet',
'Start-DbaPfDataCollectorSet',
'Stop-DbaPfDataCollectorSet',
'Export-DbaPfDataCollectorSetTemplate',
'Get-DbaPfDataCollectorSetTemplate',
'Import-DbaPfDataCollectorSetTemplate',
'Remove-DbaPfDataCollectorSet',
'Add-DbaPfDataCollectorCounter',
'Remove-DbaPfDataCollectorCounter',
'Get-DbaPfAvailableCounter',
'Export-DbaXECsv',
'Get-DbaOperatingSystem',
'Get-DbaComputerSystem',
'Set-DbaPrivilege',
'Set-DbaTcpPort',
'Set-DbaCmConnection',
'Get-DbaUptime',
'Get-DbaMemoryUsage',
'Clear-DbaConnectionPool',
'Get-DbaLocaleSetting',
'Get-DbaFilestream',
'Enable-DbaFilestream',
'Disable-DbaFilestream',
'Get-DbaCpuUsage',
'Get-DbaPowerPlan',
'Get-DbaWsfcAvailableDisk',
'Get-DbaWsfcCluster',
'Get-DbaWsfcDisk',
'Get-DbaWsfcNetwork',
'Get-DbaWsfcNetworkInterface',
'Get-DbaWsfcNode',
'Get-DbaWsfcResource',
'Get-DbaWsfcResourceType',
'Get-DbaWsfcRole',
'Get-DbaWsfcSharedVolume',
'Export-DbaCredential',
'Export-DbaLinkedServer',
'Get-DbaFeature',
'Update-DbaServiceAccount',
'Remove-DbaClientAlias',
'Disable-DbaAgHadr',
'Enable-DbaAgHadr',
'Stop-DbaService',
'Start-DbaService',
'Restart-DbaService',
'New-DbaClientAlias',
'Get-DbaClientAlias',
'Remove-DbaNetworkCertificate',
'Enable-DbaForceNetworkEncryption',
'Disable-DbaForceNetworkEncryption',
'Get-DbaForceNetworkEncryption',
'Remove-DbaComputerCertificate',
'New-DbaComputerCertificate',
'Get-DbaComputerCertificate',
'Add-DbaComputerCertificate',
'Get-DbaNetworkCertificate',
'Set-DbaNetworkCertificate',
'Invoke-DbaDbLogShipping',
'New-DbaCmConnection',
'Get-DbaCmConnection',
'Remove-DbaCmConnection',
'Test-DbaCmConnection',
'Get-DbaCmObject',
'Set-DbaStartupParameter',
'Get-DbaNetworkActivity',
'Get-DbaServerProtocol'
'Watch-DbaUpdate',
'Uninstall-DbaWatchUpdate',
'Install-DbaWatchUpdate',
'Get-DbaPrivilege',
'Get-DbaMsdtc',
'Get-DbaPageFileSetting',
'Copy-DbaCredential',
'Test-DbaConnection',
'Reset-DbaAdmin',
'Copy-DbaLinkedServer',
'Get-DbaDiskSpace',
'Test-DbaDiskAllocation',
'Test-DbaPowerPlan',
'Set-DbaPowerPlan',
'Test-DbaDiskAlignment',
'Get-DbaStartupParameter',
'Get-DbaSpn',
'Test-DbaSpn',
'Set-DbaSpn',
'Remove-DbaSpn',
'Get-DbaService',
'Get-DbaClientProtocol',
'Get-DbaWindowsLog',
# WPF
'Show-DbaServerFileSystem',
'Show-DbaDbList',
# AD?
'Test-DbaWindowsLogin',
'Find-DbaLoginInGroup',
# 3rd party non-core DLL or exe
'Import-DbaCsv',
'Export-DbaDacPackage', # relies on sqlpackage.exe
# Config system
'Get-DbatoolsConfig',
'Get-DbatoolsConfigValue',
'Register-DbatoolsConfig',
# Unknown
'Get-DbaErrorLog',
'Get-DbaManagementObject',
'Test-DbaManagementObject'
)
# Cmdlets to export from this module
CmdletsToExport = @(
'Select-DbaObject',
'Set-DbatoolsConfig'
)
# Variables to export from this module
VariablesToExport = ''
# 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
AliasesToExport = @(
'Add-DbaRegisteredServer',
'Add-DbaRegisteredServerGroup',
'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'
)
# 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', 'mac', 'linux', 'core')
# 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 = "https://opensource.org/licenses/MIT"
# Release notes for this particular version of the module
ReleaseNotes = "https://dbatools.io/changelog"
# 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'
}
}
}