< Back

Set-TemplateOwner

Sat Jan 18, 2020 8:26 pm

NAME Set-TemplateOwner



SYNOPSIS

Change the Template Owner to another user





SYNTAX

Set-TemplateOwner [-SkyTapAuth] <String> [-TemplateID] <Int32> [-OwnerID] <Int32> [<CommonParameters>]





DESCRIPTION

Changes the Template OwnerID to the UserID of

a different user.





PARAMETERS

-SkyTapAuth <String>

Base64-encoded string containing Username:Password

that was set using the Set-SkyTapAuth function



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TemplateID <Int32>

The ID number of the Template



Required? true

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-OwnerID <Int32>

The ID number of the User to make the new owner



Required? true

Position? 3

Default value 0

Accept pipeline input? false

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).



INPUTS



OUTPUTS

Returns the response received from the REST API call





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$responseTemplateOwner = Set-TemplateOwner -SkyTapAuth $authSkyTap -TemplateID 12345 -OwnerID 123















RELATED LINKS