McGlovin1337 / PSAsigraDSClient

Powershell Cmdlets to Manage the Asigra DS-Client
0 stars 0 forks source link

Simplify and Reduce Code Duplication in Get-DSClientStoredItem #134

Closed McGlovin1337 closed 3 years ago

McGlovin1337 commented 3 years ago

Get-DSClientStoredItem has duplicate code in two "ProcessRecord" methods, one used for retrieving items from a RestoreSession and one when querying a backup set directly.

The Cmdlet should be simplified to a single method that can cover both scenarios.