dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.47k stars 802 forks source link

Get-DbaDbVirtualLogFiles #2709

Closed jpomfret closed 6 years ago

jpomfret commented 6 years ago

Bug Report

Examples aren't accurate

General Troubleshooting steps

Version Information

Steps to Reproduce

get-help Get-DbaDbVirtualLogFile -e

image

Feature Request

I can update this - just wanted to make sure it was agreed upon this was an issue, I believe it should state the the VLF details are returned not number of VLFs, perhaps we could add an example that pipes into Group-Object to get counts per database.

Problem to solve

Additional information

jpomfret commented 6 years ago

@gbargsley can you test this and confirm?

gbargsley commented 6 years ago

I am not sure of the question. Are you saying the examples are not worded properly for the output expected?

jpomfret commented 6 years ago

Yeah, maybe I'm wrong. I looked at the help and saw I was going to get 'all user database virtual log file counts' so was suprised when I got a more raw output of an object containing all the VLFs, I had to pipe to a Group-Object to get the database - count format I was expecting.