0
votes
0answers
98 views

Nmap XML parsing with Powershell

I am trying to parse the XML output from NMAP and isolate just the hostadddress and the vendor from the osmatch. I've actually done that with the following: select-xml -path nmap.xml -xpath ...
0
votes
3answers
250 views

How can I export the results of my script to file?

I need to get some details out of hundreds of XML files that were written for reporting. The script below provides the correct results, but I want them in file, cvs, xls, or txt so I can provide a ...
3
votes
3answers
2k views

Working with Event Logs in Powershell

I have trying to analyze records from the Windows Security log and having a bit of difficulty getting specific values out of some of the logon/logoff events. Let's take a look at a specific example - ...
1
vote
1answer
276 views

Populate object directly from XML in Powershell

I'm pretty new to PowerShell so I'm not entirely sure what the correct terminology is for what I want to do, but hopefully a description will suffice. I'm trying to use the Web-Administration module ...
0
votes
1answer
2k views

Parse wevtutil XML into a database?

I'm by no means an XML expert. Ergo, I'm having trouble importing Windows event XML from wevtutil into an SQL database. Prior to Server 2008, we exported event log data to the database directly ...
0
votes
1answer
399 views

problem with .Net xml importnode in powershell

Im trying to construct a powershell script that uses some XML. I have a XML document where I try to add some values with email addresses. The finished xml document should have this format: (I'm only ...