PowerShell Transcript - montEMPPC.hcuzU4vi.20220413113738
PowerShell Transcript - montEMPPC.hcuzU4vi.20220413113738
PS C:\Users\vb_po> Get-History
Id CommandLine
-- -----------
1 Start-Transcript
2 $file=" C:\Users\vb_po\Documents\PowerS...
3 $file
4 Get-Command
5 Get-Command Set*
6 Get-Command -Noun Service
7 Get-Command -Noun Service| Select-Object Name, Source, Version
8 $aa= Get-Command -Noun Service| Select-Object Name, Source, Version...
PS C:\Users\vb_po>
get-help Clear-Content -online
PS C:\Users\vb_po> Get-Process -Name MicrosoftEdge
Get-Process : Impossible de trouver un processus nommé «MicrosoftEdge». Vérifiez le
nom du processus et appelez de
nouveau l'applet de commande.
Au caractère Ligne:1 : 1
+ Get-Process -Name MicrosoftEdge
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (MicrosoftEdge:String) [Get-Process],
ProcessCommandException
+ FullyQualifiedErrorId :
NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
Get-Process : Impossible de trouver un processus nommé «MicrosoftEdge».
Vérifiez le nom du processus et appelez de nouveau l'applet de commande.
Au caractère Ligne:1 : 1
+ Get-Process -Name MicrosoftEdge
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (MicrosoftEdge:String) [Get-Proc
ess], ProcessCommandException
+ FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.
Commands.GetProcessCommand
PS C:\Users\vb_po> cls
PS C:\Users\vb_po> Get-Process -Name M*
Name : MoUsoCoreWorker
Id : 14036
PriorityClass :
FileVersion :
HandleCount : 395
WorkingSet : 73764864
PagedMemorySize : 55435264
PrivateMemorySize : 55435264
VirtualMemorySize : 211968000
TotalProcessorTime :
SI : 0
Handles : 395
VM : 2203530190848
WS : 73764864
PM : 55435264
NPM : 21456
Path :
Company :
CPU :
ProductVersion :
Description :
Product :
__NounName : Process
BasePriority : 8
ExitCode :
HasExited :
ExitTime :
Handle :
SafeHandle :
MachineName : .
MainWindowHandle : 0
MainWindowTitle :
MainModule :
MaxWorkingSet :
MinWorkingSet :
Modules :
NonpagedSystemMemorySize : 21456
NonpagedSystemMemorySize64 : 21456
PagedMemorySize64 : 55435264
PagedSystemMemorySize : 178720
PagedSystemMemorySize64 : 178720
PeakPagedMemorySize : 89657344
PeakPagedMemorySize64 : 89657344
PeakWorkingSet : 119050240
PeakWorkingSet64 : 119050240
PeakVirtualMemorySize : 253169664
PeakVirtualMemorySize64 : 2203571392512
PriorityBoostEnabled :
PrivateMemorySize64 : 55435264
PrivilegedProcessorTime :
ProcessName : MoUsoCoreWorker
ProcessorAffinity :
Responding : True
SessionId : 0
StartInfo : System.Diagnostics.ProcessStartInfo
StartTime :
SynchronizingObject :
Threads : {14040, 14120, 14144, 14160...}
UserProcessorTime :
VirtualMemorySize64 : 2203530190848
EnableRaisingEvents : False
StandardInput :
StandardOutput :
StandardError :
WorkingSet64 : 73764864
Site :
Container :
Name
----
Memory Compression
MoUsoCoreWorker
TypeName : System.Diagnostics.Process
TypeName : System.Diagnostics.Process
Name MemberType Definition
---- ---------- ----------
Handles AliasProperty Handles = Handlecount
Name AliasProperty Name = ProcessName
NPM AliasProperty NPM = NonpagedSystemMemorySize64
PM AliasProperty PM = PagedMemorySize64
SI AliasProperty SI = SessionId
VM AliasProperty VM = VirtualMemorySize64
WS AliasProperty WS = WorkingSet64
Disposed Event System.EventHandler Disposed(Syste...
ErrorDataReceived Event System.Diagnostics.DataReceivedEve...
Exited Event System.EventHandler Exited(System....
OutputDataReceived Event System.Diagnostics.DataReceivedEve...
BeginErrorReadLine Method void BeginErrorReadLine()
BeginOutputReadLine Method void BeginOutputReadLine()
CancelErrorRead Method void CancelErrorRead()
CancelOutputRead Method void CancelOutputRead()
Close Method void Close()
CloseMainWindow Method bool CloseMainWindow()
CreateObjRef Method System.Runtime.Remoting.ObjRef Cre...
Dispose Method void Dispose(), void IDisposable.D...
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetLifetimeService Method System.Object GetLifetimeService()
GetType Method type GetType()
InitializeLifetimeService Method System.Object InitializeLifetimeSe...
Kill Method void Kill()
Refresh Method void Refresh()
Start Method bool Start()
ToString Method string ToString()
WaitForExit Method bool WaitForExit(int milliseconds)...
WaitForInputIdle Method bool WaitForInputIdle(int millisec...
__NounName NoteProperty string __NounName=Process
BasePriority Property int BasePriority {get;}
Container Property System.ComponentModel.IContainer C...
EnableRaisingEvents Property bool EnableRaisingEvents {get;set;}
ExitCode Property int ExitCode {get;}
ExitTime Property datetime ExitTime {get;}
Handle Property System.IntPtr Handle {get;}
HandleCount Property int HandleCount {get;}
HasExited Property bool HasExited {get;}
Id Property int Id {get;}
MachineName Property string MachineName {get;}
MainModule Property System.Diagnostics.ProcessModule M...
MainWindowHandle Property System.IntPtr MainWindowHandle {get;}
MainWindowTitle Property string MainWindowTitle {get;}
MaxWorkingSet Property System.IntPtr MaxWorkingSet {get;s...
MinWorkingSet Property System.IntPtr MinWorkingSet {get;s...
Modules Property System.Diagnostics.ProcessModuleCo...
NonpagedSystemMemorySize Property int NonpagedSystemMemorySize {get;}
NonpagedSystemMemorySize64 Property long NonpagedSystemMemorySize64 {g...
PagedMemorySize Property int PagedMemorySize {get;}
PagedMemorySize64 Property long PagedMemorySize64 {get;}
PagedSystemMemorySize Property int PagedSystemMemorySize {get;}
PagedSystemMemorySize64 Property long PagedSystemMemorySize64 {get;}
PeakPagedMemorySize Property int PeakPagedMemorySize {get;}
PeakPagedMemorySize64 Property long PeakPagedMemorySize64 {get;}
PeakVirtualMemorySize Property int PeakVirtualMemorySize {get;}
PeakVirtualMemorySize64 Property long PeakVirtualMemorySize64 {get;}
PeakWorkingSet Property int PeakWorkingSet {get;}
PeakWorkingSet64 Property long PeakWorkingSet64 {get;}
PriorityBoostEnabled Property bool PriorityBoostEnabled {get;set;}
PriorityClass Property System.Diagnostics.ProcessPriority...
PrivateMemorySize Property int PrivateMemorySize {get;}
PrivateMemorySize64 Property long PrivateMemorySize64 {get;}
PrivilegedProcessorTime Property timespan PrivilegedProcessorTime {...
ProcessName Property string ProcessName {get;}
ProcessorAffinity Property System.IntPtr ProcessorAffinity {g...
Responding Property bool Responding {get;}
SafeHandle Property Microsoft.Win32.SafeHandles.SafePr...
SessionId Property int SessionId {get;}
Site Property System.ComponentModel.ISite Site {...
StandardError Property System.IO.StreamReader StandardErr...
StandardInput Property System.IO.StreamWriter StandardInp...
StandardOutput Property System.IO.StreamReader StandardOut...
StartInfo Property System.Diagnostics.ProcessStartInf...
StartTime Property datetime StartTime {get;}
SynchronizingObject Property System.ComponentModel.ISynchronize...
Threads Property System.Diagnostics.ProcessThreadCo...
TotalProcessorTime Property timespan TotalProcessorTime {get;}
UserProcessorTime Property timespan UserProcessorTime {get;}
VirtualMemorySize Property int VirtualMemorySize {get;}
VirtualMemorySize64 Property long VirtualMemorySize64 {get;}
WorkingSet Property int WorkingSet {get;}
WorkingSet64 Property long WorkingSet64 {get;}
PSConfiguration PropertySet PSConfiguration {Name, Id, Priorit...
PSResources PropertySet PSResources {Name, Id, Handlecount...
Company ScriptProperty System.Object Company {get=$this.M...
CPU ScriptProperty System.Object CPU {get=$this.Total...
Description ScriptProperty System.Object Description {get=$th...
FileVersion ScriptProperty System.Object FileVersion {get=$th...
Path ScriptProperty System.Object Path {get=$this.Main...
Product ScriptProperty System.Object Product {get=$this.M...
ProductVersion ScriptProperty System.Object ProductVersion {get=...
TypeName : System.Diagnostics.Process
PS C:\Users\vb_po> Get-History
Id CommandLine
-- -----------
1 Start-Transcript
2 $file=" C:\Users\vb_po\Documents\PowerS...
3 $file
4 Get-Command
5 Get-Command Set*
6 Get-Command -Noun Service
7 Get-Command -Noun Service| Select-Object Name, Source, Version
8 $aa= Get-Command -Noun Service| Select-Object Name, Source, Version...
9 Get-History
10 Get-Command Clear*
11 ...
12 Get-Process -Name MicrosoftEdge
13 Get-Process -Name Micro*
14 Get-Process micro*
15 Get-Process
16 cls
17 Get-Process -Name M*
18 Get-Process -Name M*|Select-Object *
19 Get-Process -Name M*|Select-Object -Property Name
20 Get-Process -Name M*|Get-Member
21 $bb=Get-Process -Name M*|Get-Member
22 $bb
23 $bb=Get-Process -Name M*
24 $bb|Get-Member
25 Get-Process Mic*
26 Get-Process M*
PS C:\Users\vb_po> $bb.name
Memory Compression
MoUsoCoreWorker
PS C:\Users\vb_po> $bb.kill()
Exception lors de l'appel de « Kill » avec « 0 » argument(s) : « Accès refusé »
Au caractère Ligne:1 : 1
+ $bb.kill()
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : Win32Exception
Exception lors de l'appel de « Kill » avec « 0 » argument(s) : « Accès refusé »
Au caractère Ligne:1 : 1
+ $bb.kill()
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : Win32Exception
PS C:\Users\vb_po> $bb
PS C:\Users\vb_po> $bb.GetType()
PS C:\Users\vb_po> $bb.Kill()
Exception lors de l'appel de « Kill » avec « 0 » argument(s) : « Accès refusé »
Au caractère Ligne:1 : 1
+ $bb.Kill()
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : Win32Exception
Exception lors de l'appel de « Kill » avec « 0 » argument(s) : « Accès refusé »
Au caractère Ligne:1 : 1
+ $bb.Kill()
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : Win32Exception
PS C:\Users\vb_po> $bb|Get-Member
TypeName : System.Diagnostics.Process
PS C:\Users\vb_po> $bb
PS C:\Users\vb_po> $bb|Get-Member
TypeName : System.Diagnostics.Process