New-RoyalStore

New-RoyalStore

Scripting > Reference > PowerShell Commandlets >

NAME

New-RoyalStore
 
 

 

SYNOPSIS

Creates a new RoyalStore.
 
 
 

 

SYNTAX

New-RoyalStore -UserName <string> [<CommonParameters>]
 
 
 

 

DESCRIPTION

The New-RoyalStore cmdlet creates a new RoyalStore. A RoyalStore is a basic container that is used for workign with
RoyalDocuments.
 
 

 

PARAMETERS

-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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
 
 

 

INPUTS

System.String
Used for logging purposes.
 
 
 

 

OUTPUTS

 
 

 

NOTES

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.
 
 

 

RELATED LINKS

New-RoyalDocument

Open-RoyalDocument

Close-RoyalDocument

Out-RoyalDocument