Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend cmdlet with Get-IshFolderContent parameter RequestedMetadata optimizing pipeline throughput #123

Closed
ddemeyer opened this issue Mar 29, 2021 · 0 comments

Comments

@ddemeyer
Copy link
Contributor

This cmdlet returns content objects located in the given folder. For now the cmdlet returns initialized IshObjects initialized by IshSession.DefaultRequestedMetadata which is Basic fields (user friendly fields used in tables) by default.

So what if you want 1 or 2 extra system fields, you have to put an extra Get-IshDocumentObj on the pipeline to retrieve the extra fields. Add parameter -RequestedMetadata so you can merge in extra fields on the initial Get-IshFolderContent

If you need extra fields, and you don't mind extra server side load, then you could add the following line

$ishSession.DefaultRequestedMetadata="All"
@ddemeyer ddemeyer added this to the v0.13 milestone Apr 2, 2021
ddemeyer added a commit that referenced this issue Apr 3, 2021
… matching Pester test and Release notes. Something to double check is RequestedMetadata that doesn't match object type like PublicationOutput.
ddemeyer added a commit that referenced this issue Apr 5, 2021
… allowing to skip an additional Get-IshDocumentObj call which slows things down on bigger legacy data sets. Now with tweaked examples, and Pester tests.
ddemeyer added a commit that referenced this issue Apr 8, 2021
…edmetadata (#125)

* #123 Parameter RequestedMetadata is added, cs *.cs is done. Next is a matching Pester test and Release notes. Something to double check is RequestedMetadata that doesn't match object type like PublicationOutput.

* #123 Parameter -RequestedMetadata added similar Search-IshDocumentObj allowing to skip an additional Get-IshDocumentObj call which slows things down on bigger legacy data sets. Now with tweaked examples, and Pester tests.
@ddemeyer ddemeyer closed this as completed Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant