Getting IPv4-related statistics for a DHCP server using Get-DhcpServerv4Statistics Analysis of scopes The statistics contain numbers that you can also get by evaluating individual scopes, but here are the totals for all scopes. To get statistics on the DHCP service for IPv4 as a whole, use: Get-DhcpServerv4Statistics -ComputerName The following examples for IPv4 can therefore be applied to IPv6: The functions all have a '4' or a '6' in their names because they relate to IPv4 or IPv6, respectively. Most of the module's functions are available in two versions. Instead, you have to evaluate this text file yourself. However, you cannot display the log content with this command. You can find out whether logging has been activated for the DHCP service and where the log file is stored. With Get-DhcpServerAuditLog -ComputerName This and other information about the database can also be obtained from the following query: Get-DhcpServerDatabase -ComputerName This cmdlet will also tell you whether the data has been restored from a backup. Some basic settings of a DHCP server, such as whether it is a member of the domain and is authorized, can be retrieved with the following query: Get-DhcpServerSetting -ComputerName
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |