PackageDeployment Module Help

Package Deployment Module

Read-ReplacePattern Cmdlet

Version 2.1.0.0

Read-ReplacePattern

Synopsis

Modify String

Syntax

Read-ReplacePattern [-String] <String> [-Find] <String> [-Replace] <String> [-ContinueOnError] [-ResultVariable] <String> [<CommonParameters>]

Description

Searches for a substring in a specific string and replaces it with another substring. You may use wildcards for this command (*, ?).

Parameters

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

-Find <String>

Substring that is being sought.

Required

True

Position

1

Accepts pipeline input

False

-Replace <String>

The found substring is replaced with this string.

Required

True

Position

2

Accepts pipeline input

False

-ResultVariable <String>

A variable that collects the result.

Required

True

Position

3

Accepts pipeline input

False

-String <String>

The string in which characters should be replaced.

Required

True

Position

0

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".