mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-01 03:36:28 +02:00
Add list-error-types.ps1
This commit is contained in:
parent
da55be390b
commit
d9c6286503
7
scripts/list-error-types.ps1
Normal file
7
scripts/list-error-types.ps1
Normal file
@ -0,0 +1,7 @@
|
||||
[appdomain]::CurrentDomain.GetAssemblies() | ForEach {
|
||||
Try {
|
||||
$_.GetExportedTypes() | Where {
|
||||
$_.Fullname -match 'Exception'
|
||||
}
|
||||
} Catch {}
|
||||
} | Select BaseType,Name,FullName
|
Loading…
Reference in New Issue
Block a user