bin/typealiases.ps1

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

try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("DbaInstance", "Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("DbaCmConnectionParameter", "Sqlcollaborative.Dbatools.Parameter.DbaCmConnectionParameter") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("DbaInstanceParameter", "Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("dbargx", "Sqlcollaborative.Dbatools.Utility.RegexHelper") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("dbatime", "Sqlcollaborative.Dbatools.Utility.DbaTime") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("dbadatetime", "Sqlcollaborative.Dbatools.Utility.DbaDateTime") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("dbadate", "Sqlcollaborative.Dbatools.Utility.DbaDate") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("dbatimespan", "Sqlcollaborative.Dbatools.Utility.DbaTimeSpan") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("prettytimespan", "Sqlcollaborative.Dbatools.Utility.DbaTimeSpanPretty") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("dbasize", "Sqlcollaborative.Dbatools.Utility.Size") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("dbavalidate", "Sqlcollaborative.Dbatools.Utility.Validation") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("DbaMode", "Sqlcollaborative.Dbatools.General.ExecutionMode") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("DbaCredential", "Sqlcollaborative.Dbatools.Parameter.DbaCredentialparameter") }
catch { }
try { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::add("DbaCredentialParameter", "Sqlcollaborative.Dbatools.Parameter.DbaCredentialparameter") }
catch { }