GitHub    Download    Forum
Overview
Tutorial
C++ API
C# API
DTDL
DADL
Setup
DataFS SDK setup
DataFS setup
DataFS Tools
Connection
Server instances
Configuration connections
Client connections
Domain
Disk
Storage
Schema
Settings
Recovery
DataFS setup parameters

DataFS Tools

DataFS_Tools.exe can be used to configure DataFS.
You can use the command line tool (DataFS_Tools.exe) or the PowerShell module (DataFS_ToolsPS.dll) to use the tools.
In the command line tool, you need to establish a connection to a server instance before calling any configuration functions. When using the PowerShell module, you have to pass a connection to every function as a parameter.

Function categories

CategoryDescription
Connection Establish a connection to a server.
Server instances Create and delete named instances.
Configuration connections Set and modify binding and security settings of the configuration interface.
Client connections Set and modify binding, security and additional settings of the client interface.
Domain Domain functions.
Disk Disk functions.
Storage Storage functions.
Schema Extend schema of a domain.
Settings Set and modify additional settings.
Recovery Recovery functions to recover a crashed database.

How to use DataFS_Tools.exe


.\DataFS_Tools.exe

DataFS> Open-Connection -ServerAddress 127.0.0.1 -ServerPort 9012 -ServerName "server.domain.local"
connected
DataFS> Create-Domain -DomainGuid "{78F18ADB-6F0A-4885-B151-B5A729F35F8B}"
domain created
DataFS> Close-Connection
disconnected
DataFS> exit

How to use DataFS_Tools.exe with a script file.


 .\DataFS_Tools.exe < input.txt

input.txt
Open-Connection -ServerAddress 127.0.0.1 -ServerPort 9012 -ServerName "server.domain.local"
Create-Domain -DomainGuid "{78F18ADB-6F0A-4885-B151-B5A729F35F8B}"
Close-Connection

How to use DataFS_ToolsPS.dll with PowerShell.


Import-Module .\DataFS_ToolsPS.dll

$c = Open-Connection -ServerAddress 127.0.0.1 -ServerPort 9012 -ServerName "server.domain.local"
connected
$c | Create-Domain -DomainGuid "{78F18ADB-6F0A-4885-B151-B5A729F35F8B}"
domain created
$c | Close-Connection
disconnected
© 2022 Mobiland AG