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