Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4616,7 +4616,9 @@ internal static SessionStateAliasEntry[] BuiltInAliases
new SessionStateAliasEntry("dir", "Get-ChildItem", string.Empty, AllScope),
new SessionStateAliasEntry("echo", "Write-Output", string.Empty, AllScope),
new SessionStateAliasEntry("fc", "Format-Custom", string.Empty, ReadOnly),
#if !UNIX
new SessionStateAliasEntry("kill", "Stop-Process"),
#endif
new SessionStateAliasEntry("pwd", "Get-Location"),
new SessionStateAliasEntry("type", "Get-Content"),
// #if !CORECLR is used to disable aliases for cmdlets which are not available on OneCore or not appropriate for PSCore6 due to conflicts
Expand Down
2 changes: 1 addition & 1 deletion test/powershell/engine/Basic/DefaultCommands.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Describe "Verify approved aliases list" -Tags "CI" {
"Alias", "ise", "powershell_ise.exe", $($FullCLR ), "ReadOnly", "", ""
"Alias", "iwmi", "Invoke-WMIMethod", $($FullCLR ), "ReadOnly", "", ""
"Alias", "iwr", "Invoke-WebRequest", $($FullCLR -or $CoreWindows -or $CoreUnix), "ReadOnly", "", ""
"Alias", "kill", "Stop-Process", $($FullCLR -or $CoreWindows -or $CoreUnix), "", "", ""
"Alias", "kill", "Stop-Process", $($FullCLR -or $CoreWindows ), "", "", ""
"Alias", "lp", "Out-Printer", $($FullCLR ), "ReadOnly", "", ""
"Alias", "ls", "Get-ChildItem", $($FullCLR -or $CoreWindows ), "", "", ""
"Alias", "man", "help", $($FullCLR -or $CoreWindows ), "", "", ""
Expand Down