Provides an alternative to PSjobs with greater performance and less overhead to run commands in the background, freeing up the console and allowing throttling on the jobs
Questions tagged [poshrsjob]
4 questions
2
votes
2 answers
Recursive parallelism with PowerShell jobs to explore file shares?
I'm trying to build a high performance PowerShell script that will scan all files & folders on an NTFS\SAN share. I don't need file data, just the metadata info like attributes, timestamps and permissions.
I can scan files & folders via a simple…

The Unique Paul Smith
- 636
- 2
- 8
- 22
1
vote
1 answer
Running multiple different ScriptBlocks with RSJobs
I have multiple different scriptblocks that I want to run with Start-RSJob from the PoshRSJob module.
I have the following code:
$SB1 = {Write-Output "Hello from 1"}
$SB2 = {Write-Output "Hello from 2"}
$SB3 = {Write-Output "Hello from 3"}
$SB4 =…

sheldonzy
- 5,505
- 9
- 48
- 86
0
votes
1 answer
Exchange Online Session and Runspace
I need to execute Get-MailboxStatistics in a Runspace.
I can connect to Exchange online. If I do a 'Get-Pssession' I can see the Exchange session. But how do I pass this ExchangeOnline session to the Runspace to execute…

hdsouza
- 354
- 4
- 17
0
votes
1 answer
Piping into Start-RSJob
I have a variable defined containing 1000 objects ($P) and also have a function that will take pipeline input and add a bunch of stuff to each object in the variable (Add-Data.AccountDetail). Instead of adding the stuff to each thing coming down…

Simon Johnson
- 11
- 1
- 2