New-RoyalStore |
![]() |
New-RoyalStore
Creates a new RoyalStore.
New-RoyalStore -UserName <string> [<CommonParameters>]
The New-RoyalStore cmdlet creates a new RoyalStore. A RoyalStore is a basic container that is used for workign with
RoyalDocuments.
-UserName <string>
Used for logging purposes.
Required? true
Position? named
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
System.String
Used for logging purposes.
What is a RoyalStore
The RoyalStore is the basic container that is needed when working with RoyalDocuments (the same documents known
from Royal TS).
---------- EXAMPLE 1 ----------
$store = New-RoyalStore -UserName "username"
$doc = New-RoyalDocument -Store $store -FileName doc.rtsz -Name "documentname"
The variable $store is used for New-RoyalDocument cmdlet.
---------- EXAMPLE 2 ----------
$doc = New-RoyalStore -UserName "username"| New-RoyalDocument -FileName doc.rtsz -Name "documentname"
Pipe the RoyalStore tot he New-RoyalDocument cmdlet.