3/31/2024 0 Comments Royal ts adding document![]() $doc = New-RoyalObject -folder $newDocument -Type RoyalFolder -Name "DMZ-NET" $newDocument = New-RoyalDocument -Name "Powershell TestDocument" -FileName $newDocumentPath -Store $storeĪdding different objects to an open RoyalDocument is easy: $newDocumentPath = "C:\Users\michaelseirer\Documents\new.rtsz" # create a new RoyalDocument with the new .rtsz format $store = New-RoyalStore -UserName "michaelseirer" With the exception of the RoyalStore which is the base class that holds all references to open RoyalDocuments.įor a complete list of all available objects and properties can be found in the scripting reference.Ī simple script that just opens a RoyalStore, adds a RoyalDocument, saves it and closes it looks like this: RoyalDocument (a document), RoyalCredential (a credential), Most of the RoyalDocument related objects are known from the Royal TS UI - e.g. Just issue the following command and you are good to go: In order to work with the RoyalDocument PowerShell commandlets, you need to register them (import them) into your PowerShell session. Simply install the module and import it in your scripts. There is no need to install Royal TS/X or to apply a license in order to use the PowerShell module. The PowerShell module can be used on Windows, macOS and Linux (using PowerShell Core).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |