Rename-TppObject

SYNOPSIS

Rename an object of any type

SYNTAX

Rename-TppObject [-Path] <String> [-NewName] <String> [[-TppSession] <TppSession>] [<CommonParameters>]

DESCRIPTION

Rename an object of any type

EXAMPLES

EXAMPLE 1

Rename-TppObject -Path '\VED\Policy\My Devices\OldDeviceName' -NewName 'NewDeviceName'

Rename device

PARAMETERS

-Path

Full path to an object in TPP

Type: String
Parameter Sets: (All)
Aliases: SourceDN

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

-NewName

New name for the object

Type: String
Parameter Sets: (All)
Aliases:

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

-TppSession

Session object created from New-TppSession method. The value defaults to the script session object $TppSession.

Type: TppSession
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: $Script:TppSession
Accept pipeline input: False
Accept wildcard characters: False

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

none

OUTPUTS

NOTES

http://venafitppps.readthedocs.io/en/latest/functions/Rename-TppObject/

http://venafitppps.readthedocs.io/en/latest/functions/Test-TppObject/

https://github.com/gdbarron/VenafiTppPS/blob/main/VenafiTppPS/Code/Public/Rename-TppObject.ps1

https://docs.venafi.com/Docs/20.4SDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Config-renameobject.php?tocpath=Web%20SDK%7CConfig%20programming%20interface%7C_____35