< Back
ConvertFrom-NmapXml
Post
NAME ConvertFrom-NmapXml
SYNOPSIS
Converts NmapXML into various formats. Currently supported are JSON, PSObject, NmapReport
SYNTAX
ConvertFrom-NmapXml [[-InputObject] <String[]>] [[-OutFormat] <Object>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-InputObject <String[]>
Reads XML "Strings" one by one
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-OutFormat <Object>
Choose the format that you want to convert the NMAPXML to. Valid options are: JSON or HashTable
Required? false
Position? 2
Default value PoshNmap
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Only supports nmap reports piped from nmap directly. In the future will support existing full nmap reports
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>nmap localhost -oX - | ConvertFrom-NmapXML -OutFormat JSON
Takes an NMAP run output and converts it into JSON
RELATED LINKS
CommonParameters : False
WorkflowCommonParameters : False
details : @{name=Get-NmapPresetArguments; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Get-NmapPresetArguments [[-Preset] <Object>]
ModuleName : PoshNmap
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Get-NmapPresetArguments
Category : Function
Component :
Role :
Functionality :
SYNOPSIS
Converts NmapXML into various formats. Currently supported are JSON, PSObject, NmapReport
SYNTAX
ConvertFrom-NmapXml [[-InputObject] <String[]>] [[-OutFormat] <Object>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-InputObject <String[]>
Reads XML "Strings" one by one
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-OutFormat <Object>
Choose the format that you want to convert the NMAPXML to. Valid options are: JSON or HashTable
Required? false
Position? 2
Default value PoshNmap
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Only supports nmap reports piped from nmap directly. In the future will support existing full nmap reports
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>nmap localhost -oX - | ConvertFrom-NmapXML -OutFormat JSON
Takes an NMAP run output and converts it into JSON
RELATED LINKS
CommonParameters : False
WorkflowCommonParameters : False
details : @{name=Get-NmapPresetArguments; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Get-NmapPresetArguments [[-Preset] <Object>]
ModuleName : PoshNmap
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Get-NmapPresetArguments
Category : Function
Component :
Role :
Functionality :