Size of SHAREs - Powershell JOBS/WORKFLOW ?

Welcome Forums General PowerShell Q&A Size of SHAREs - Powershell JOBS/WORKFLOW ?

This topic contains 1 reply, has 2 voices, and was last updated by

4 years, 2 months ago.

  • Author
  • #20662

    Points: 1
    Rank: Member

    Trying to get directory size of multiple shares. Created a script which works but doing everything sequentially takes 8:30 hrs. Looking to optimise.

    Using Boe Prox's Get-FolderItem function ( against the following shares


    There is approx 1.5TB of data in these shares

    Haven't grasped JOBS and WORKFLOWs. Is this where I should start ? Are there other/better ways of doing this ? Any help would be greatly appreciated.

  • #20708

    Points: 1,785
    Helping HandTeam Member
    Rank: Community Hero

    Workflow would be a good way to approach that, as the necessary commands are exposed as Workflow activities, and can therefore run within a Parallel block. But you might not be able to use Boe's function as-is that way – data handling in Workflow can get pretty complicated.

    Jobs would also be valid as an approach.

The topic ‘Size of SHAREs - Powershell JOBS/WORKFLOW ?’ is closed to new replies.