Windows PowerShell Microsoft . PowerShell , , Windows , , - . , , , , .
:
COM, WMI .NET. , COM-, , WMI .NET.
. , CD cmd.
, . ( PowerShell ) -, , Get-Process ( ), Stop-Service ( ), Clear-Host ( ) .. , , . .
. PowerShell , . , PowerShell.
. PowerShell cmd Unix-. , , Unix-, ls, : ( DIR).
. . .
, , . .
|
|
PowerShell, , , , .
2. 1.2. PowerShell
, . PowerShell .NET.
. cmd TASKLIST, , ( 2.1).
, cmd , smss.exe. TASKLIST , , . PowerShell Get-Process, , . , smss.exe, , WS , .
2.1 TASKLIST
.NET PowerShell , .NET. , , 9 1977 , PowerShell :
(Get-Date "09.11.1974").DayOfWeek.TostRing()
Get-Date .NET- DateTime, DayOfWeek, .