From 5cc79073f91eba50b9d18c4e8264c23d5afd2856 Mon Sep 17 00:00:00 2001
From: Alex Kup <116945542+Lifailon@users.noreply.github.com>
Date: Sat, 18 Mar 2023 09:59:34 +0300
Subject: [PATCH] Update README.md
---
README.md | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 60bf5fe..14c6538 100644
--- a/README.md
+++ b/README.md
@@ -1186,7 +1186,7 @@
`Get-VBRBackupServerCertificate` \
`Get-VBRRestorePoint` \
`Get-VBRViProxy` \
-`https://veeam-11:9419/swagger/ui/index.html` RAST API
+`https://veeam-11:9419/swagger/ui/index.html` API
# XML
@@ -1202,17 +1202,17 @@
`else {return}` \
`}`
-`$FilterXPath = ''`
-`$RDPAuths = Get-WinEvent -ComputerName $srv -LogName "Microsoft-Windows-TerminalServices-LocalSessionManager/Operational" -FilterXPath $FilterXPath`
-`[xml[]]$xml = $RDPAuths | Foreach {$_.ToXml()}`
-`$EventData = Foreach ($event in $xml.Event) {`
-`New-Object PSObject -Property @{`
-`"Connection Time" = (Get-Date ($event.System.TimeCreated.SystemTime) -Format 'yyyy-MM-dd hh:mm K')`
-`"User Name" = $event.UserData.EventXML.User`
-`"User ID" = $event.UserData.EventXML.SessionID`
-`"User Address" = $event.UserData.EventXML.Address`
-`"Event ID" = $event.System.EventID`
-`}}`
+`$FilterXPath = ''` \
+`$RDPAuths = Get-WinEvent -ComputerName $srv -LogName "Microsoft-Windows-TerminalServices-LocalSessionManager/Operational" -FilterXPath $FilterXPath` \
+`[xml[]]$xml = $RDPAuths | Foreach {$_.ToXml()}` \
+`$EventData = Foreach ($event in $xml.Event) {` \
+`New-Object PSObject -Property @{` \
+`"Connection Time" = (Get-Date ($event.System.TimeCreated.SystemTime) -Format 'yyyy-MM-dd hh:mm K')` \
+`"User Name" = $event.UserData.EventXML.User` \
+`"User ID" = $event.UserData.EventXML.SessionID` \
+`"User Address" = $event.UserData.EventXML.Address` \
+`"Event ID" = $event.System.EventID` \
+`}}` \
`$EventData`
# Git