Skip to content

Latest commit

 

History

History
126 lines (97 loc) · 2.49 KB

File metadata and controls

126 lines (97 loc) · 2.49 KB
external help file PSWriteOffice-help.xml
Module Name PSWriteOffice
online version https://github.com/EvotecIT/PSWriteOffice
schema 2.0.0

Rename-OfficePowerPointSection

SYNOPSIS

Renames a PowerPoint section.

SYNTAX

__AllParameterSets

Rename-OfficePowerPointSection -Name <string> -NewName <string> [-Presentation <PowerPointPresentation>] [-CaseSensitive] [-PassThru] [<CommonParameters>]

DESCRIPTION

Renames a PowerPoint section.

EXAMPLES

EXAMPLE 1

PS>Rename-OfficePowerPointSection -Presentation $ppt -Name 'Results' -NewName 'Deep Dive'

Renames the first matching section from Results to Deep Dive.

PARAMETERS

-CaseSensitive

Use case-sensitive matching for the existing section name.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Name

Existing section name.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-NewName

New section name.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-PassThru

Emit the renamed section instead of no output.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Presentation

Presentation to update (optional inside DSL).

Type: PowerPointPresentation
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: True

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • OfficeIMO.PowerPoint.PowerPointPresentation

OUTPUTS

  • OfficeIMO.PowerPoint.PowerPointSectionInfo System.Boolean

RELATED LINKS

  • None