Rebuilding all the indexes in the table.?

Feb 14 at 7:46 PM
My requirement is i need to rebuild all the indexes on one table by passing the tablename.

How to code the function Invoke-DBMaint-DetailedIndexes.?