New-RoyalObject

New-RoyalObject

Scripting > Reference > PowerShell Commandlets >

NAME

New-RoyalObject
 
 

 

SYNOPSIS

Creates a new RoyalObject.
 
 
 

 

SYNTAX

New-RoyalObject [-Folder] <RoyalFolder> [[-Type] <RoyalObjectType>] [[-TypeString] <string>] [-Name] <string[]>
[[-Description] <string>] [<CommonParameters>]
 
 
 

 

DESCRIPTION

RoyalStore is the base class for all connections in Royal TS. Use this cmdlet to create Remote Desktop Connections,
Web Pages etc.
 
 

 

PARAMETERS

-Folder <RoyalFolder>
The Folder or Document where the new RoyalObject should be stored.
 
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
 
-Type <RoyalObjectType>
 
Required? false
Position? 1
Default value 0
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
 
-TypeString <string>
Specifies which type is created by using a string.
 
The following types are allowed: RoyalCredential, RoyalFolder, RoyalRDSConnection, RoyalWebConnection,
RoyalAppConnection, RoyalHyperVConnection, RoyalManagementEndpoint, RoyalPerformanceConnection,
RoyalSSHConnection, RoyalTerminalServicesConnection, RoyalVNCConnection, RoyalWindowsEventsConnection,
RoyalWindowsProcessesConnection and RoyalWindowsServicesConnection
 
Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
 
-Name <string[]>
The name of the new RoyalObject.
 
Required? true
Position? 3
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
 
-Description <string>
The description of the new RoyalObject.
 
Required? false
Position? 4
Default value
Accept pipeline input? true (ByValue, 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).
 
 

 

INPUTS

RoyalDocumentLibrary.RoyalFolder
The Folder or Document where the new RoyalObject should be stored.
 
RoyalDocument.PowerShell.RoyalObjectType
 
System.String
Specifies which type is created by using a string.
 
The following types are allowed: RoyalCredential, RoyalFolder, RoyalRDSConnection, RoyalWebConnection,
RoyalAppConnection, RoyalHyperVConnection, RoyalManagementEndpoint, RoyalPerformanceConnection,
RoyalSSHConnection, RoyalTerminalServicesConnection, RoyalVNCConnection, RoyalWindowsEventsConnection,
RoyalWindowsProcessesConnection and RoyalWindowsServicesConnection
 
System.String[]
The name of the new RoyalObject.
 
 
 

 

OUTPUTS

 
---------- EXAMPLE 1 ----------
 
$cred = New-RoyalObject -folder $doc -Type RoyalCredential -Name "some name" -Description "some description"
 
The variable $doc is a RoyalDocument created with the New-RoyalDocument cmdlet.
 
 

 

RELATED LINKS

Move-RoyalObject

Copy-RoyalObject

Set-RoyalObjectValue

Get-RoyalObjectValue