Implement Get-Error cmdlet as Experimental Feature (#10727)

This commit is contained in:
Steve Lee
2019-10-15 14:32:14 -07:00
committed by Aditya Patwardhan
parent 8b68a4cd99
commit d8d32d79c2
9 changed files with 478 additions and 36 deletions
@@ -73,6 +73,7 @@ Describe "Verify approved aliases list" -Tags "CI" {
"Alias", "gcm", "Get-Command", $($FullCLR -or $CoreWindows -or $CoreUnix), "ReadOnly", "", ""
"Alias", "gcs", "Get-PSCallStack", $($FullCLR -or $CoreWindows -or $CoreUnix), "ReadOnly", "", ""
"Alias", "gdr", "Get-PSDrive", $($FullCLR -or $CoreWindows -or $CoreUnix), "ReadOnly", "", ""
"Alias", "gerr", "Get-Error", $( $CoreWindows -or $CoreUnix), "ReadOnly", "", ""
"Alias", "ghy", "Get-History", $($FullCLR -or $CoreWindows -or $CoreUnix), "ReadOnly", "", ""
"Alias", "gi", "Get-Item", $($FullCLR -or $CoreWindows -or $CoreUnix), "ReadOnly", "", ""
"Alias", "gin", "Get-ComputerInfo", $($FullCLR -or $CoreWindows ), "", "", ""
@@ -269,6 +270,7 @@ Describe "Verify approved aliases list" -Tags "CI" {
"Cmdlet", "Get-Credential", "", $($FullCLR -or $CoreWindows -or $CoreUnix), "", "", "None"
"Cmdlet", "Get-Culture", "", $($FullCLR -or $CoreWindows -or $CoreUnix), "", "", "None"
"Cmdlet", "Get-Date", "", $($FullCLR -or $CoreWindows -or $CoreUnix), "", "", "None"
"Cmdlet", "Get-Error", "", $( $CoreWindows -or $CoreUnix), "", "", "None"
"Cmdlet", "Get-Event", "", $($FullCLR -or $CoreWindows -or $CoreUnix), "", "", "None"
"Cmdlet", "Get-EventLog", "", $($FullCLR ), "", "", ""
"Cmdlet", "Get-EventSubscriber", "", $($FullCLR -or $CoreWindows -or $CoreUnix), "", "", "None"