k
Size: a a a
k
VB
... | select @{n="UserName";e={if($_.Message -match 'которым владеет "(?''username''[^"]+)"'){$Matches['username']}}
VB
VB
A
Get-WinEvent -FilterHashTable @{LogName="Microsoft-Windows-PrintService/Operational"; ID=307; StartTime=(Get-Date).AddDays(-1)} |
Format-Table -Property TimeCreated,
@{label='UserName';expression={$_.properties[2].value}},
@{label='ComputerName';expression={$_.properties[3].value}},
@{label='PrinterName';expression={$_.properties[4].value}},
@{label='PrintSize';expression={$_.properties[6].value}},
@{label='Pages';expression={$_.properties[7].value}}
VB
Æ
S
VG
AL
VB
AL
VB
AL
VB
VG
VB
AL
AL
VB