Evotec

Project

PSPublishModule

PSPublishModule is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars 43
Forks 13
Open issues 1
PowerShell Gallery downloads 13,876
Release v3.0.3
Language: C# Updated: 2026-04-14

API Reference

Cmdlet

New-ConfigurationDotNetServiceRecovery

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishServiceRecoveryOptions

Creates service recovery options for DotNet publish service targets.

Remarks

Creates service recovery options for DotNet publish service targets.

Examples

Authored help example

Create service recovery options


New-ConfigurationDotNetServiceRecovery -Enabled -ResetPeriodSeconds 86400 -RestartDelaySeconds 60 -ApplyToNonCrashFailures
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-ConfigurationDotNetServiceRecovery [-ApplyToNonCrashFailures <Boolean>] [-Enabled] [-OnFailure <Warn|Fail|Skip>] [-ResetPeriodSeconds <Int32>] [-RestartDelaySeconds <Int32>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

ApplyToNonCrashFailures Boolean optionalposition: namedpipeline: False
Applies recovery actions for non-crash failures.
Enabled SwitchParameter optionalposition: namedpipeline: False
Enables applying recovery policy.
OnFailure DotNetPublishPolicyMode optionalposition: namedpipeline: Falsevalues: 3
Policy on recovery command failures.
Possible values: Warn, Fail, Skip
ResetPeriodSeconds Int32 optionalposition: namedpipeline: False
Failure reset period in seconds.
RestartDelaySeconds Int32 optionalposition: namedpipeline: False
Restart delay in seconds.

Outputs

PowerForge.DotNetPublishServiceRecoveryOptions