10 lines
169 B
PowerShell
10 lines
169 B
PowerShell
# PowerShell profile script
|
|
|
|
Set-Alias ps Get-Process
|
|
Set-Alias kill Stop-Process
|
|
|
|
function uptime() {
|
|
((Get-Date) - (gcim Win32_OperatingSystem).LastBootUpTime)
|
|
}
|
|
|