edit this page

Import-DhcpServerLog

SYNOPSIS

Import DHCP Server Log files.

SYNTAX

Import-DhcpServerLog [[-Path] <Object>] [[-Filter] <Object>] [[-ComputerName] <Object>] [-Latest]
 [<CommonParameters>]

DESCRIPTION

This function imports DHCP Server Log files from CSV format.

EXAMPLES

EXAMPLE 1

Import-DhcpServerLog

Import all logs found in the default log folder.

PARAMETERS

-Path

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: C:\Windows\System32\dhcp
Accept pipeline input: False
Accept wildcard characters: False

-Filter

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: DhcpSrvLog*.log
Accept pipeline input: False
Accept wildcard characters: False

-ComputerName

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Latest

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

[psobject]

NOTES

General notes