inventoryplus-1

2 Comments

    Christopher Moore

    I like this, but actually need it to show less. Specifically, I just need to see the folders and folder paths. I’m a n00b when it comes to scripting, so any advise you can give would be appreciated. I figure there should be a way to specify that I only want to see the folders and path after the Get-InventoryPlus command.

      LucD

      Hi Christopher,
      You can use a Where-Object clause to filter the returned objects.
      And with Select-Object you can specify which properties you want to see in the output.


      Get-InventoryPlus |
      where{$_.Type -eq 'Folder'} |
      Select-Object -Property Name,Path,BluePath

Leave a Reply

Your email address will not be published.

*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.