Copy-VPASRotationalPlatform


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

DUPICATE ROTATIONAL PLATFORM


Description:

USE THIS FUNCTION TO DUPLICATE A ROTATIONAL PLATFORM


Syntax:

Copy-VPASRotationalPlatform -DuplicateFromRotationalPlatformID <String> -NewRotationalPlatformID <String> [-Description <String>] [-token <Hashtable>] [<CommonParameters>]

Copy-VPASRotationalPlatform -InputParameters <Hashtable> [-token <Hashtable>] [<CommonParameters>]


Parameters:

-DuplicateFromRotationalPlatformID <String>
Specify which RotationalPlatformID will be the base of the new platform

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-NewRotationalPlatformID <String>
New unique RotationalPlatformID for the new platform

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-Description <String>
An explanation/details of the target resource
Best practice states to leave informative descriptions to help identify the resource purpose

Required: false
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-InputParameters <Hashtable>
HashTable of values containing the parameters required to make the API call

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-token <Hashtable>
HashTable of data containing various pieces of login information (PVWA, LoginToken, HeaderType, etc).
If -token is not passed, function will use last known hashtable generated by New-VPASToken

Required: false
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug
ErrorAction, ErrorVariable, WarningAction, WarningVariable
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216)


Examples:

$NewRotationalPlatformIDJSON = Copy-VPASRotationalPlatform -DuplicateFromRotationalPlatformID {DUPLICATE FROM ROTATIONAL PLATFORMID VALUE} -NewRotationalPlatformID {NEW ROTATIONAL PLATFORMID VALUE} -Description {DESCRIPTION VALUE}

$InputParameters = @{
        DuplicateFromRotationalPlatformID = "ExistingRotationalPlatformID"
         NewRotationalPlatformID = "NewRotationalPlatformID"
         Description = "Description for new platform here"
}
$NewRotationalPlatformIDJSON = Copy-VPASRotationalPlatform -InputParameters $InputParameters


Outputs:

If successful:
{
         "ID": 30,
         "PlatformID": "NewRotationalPlatform",
         "Name": "NewRotationalPlatform",
         "Description": "New rotational platform for documentation"
}

$false if failed