Copy-VPASGroupPlatform


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

DUPICATE GROUP PLATFORM


Description:

USE THIS FUNCTION TO DUPLICATE A GROUP PLATFORM


Syntax:

Copy-VPASGroupPlatform [-DuplicateFromGroupPlatformID] <String> [-NewGroupPlatformID] <String> [[-Description] <String>] [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-DuplicateFromGroupPlatformID <String>
Specify which GroupPlatformID will be the base of the new platform

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

-NewGroupPlatformID <String>
New unique GroupPlatformID for the new platform

Required: true
Position: 2
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: 3
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: 4
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:

$NewGroupPlatformIDJSON = Copy-VPASGroupPlatform -DuplicateFromGroupPlatformID {DUPLICATE FROM GROUP PLATFORMID VALUE} -NewGroupPlatformID {NEW GROUP PLATFORMID VALUE} -Description {DESCRIPTION VALUE}


Outputs:

If successful:
{
         "ID": 95,
         "PlatformID": "NewGroupPlatform",
         "Name": "NewGroupPlatform",
         "Description": "New group platform for documentation"
}

$false if failed