Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PoshRSJob
1.7.2.2
Private/Increment.ps1
Function
Increment
{
Write-Verbose
"Incrementing job ID"
Set-Variable
-Name
PoshRS_JobId
-Value
(
$PoshRS_JobId
+
1
)
-Force
-Scope
Script
Write-Output
$PoshRS_JobId
}