Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PoshRSJob
1.5.6.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
}