PackageDeployment Module Help

Package Deployment Module

Read-RightString Cmdlet

Version 3.1.0.0

Read-RightString

Synopsis

Extract substring from the right side of the string

Syntax

Read-RightString [-String] <String> [-Length] <String> [-ResultVariable] <String> [-ContinueOnError] [<CommonParameters>]

Description

Copies a fixed number of characters starting at the right side of a string and stores the resulting string in a variable.

Parameters

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

-Length <String>

Number of characters to copy (0 = no character).

Required

True

Position

1

Accepts pipeline input

False

-ResultVariable <String>

A variable that collects the result.

Required

True

Position

2

Accepts pipeline input

False

-String <String>

The string from which characters should be copied.

Required

True

Position

0

Accepts pipeline input

False

<CommonParameters>

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