< Back
Start-GnuCash
Post
NAME Start-GnuCash
SYNOPSIS
Starts GnuCash with a specific *.gnucash database.
SYNTAX
Start-GnuCash [[-container] <String>] [<CommonParameters>]
DESCRIPTION
Starts GnuCash after mounting a VeraCrypt container host the *.gnucash database
A GridView dialog is presented for the seletion of a specific GnuCash container if a
specific container name is not provided.
PARAMETERS
-container <String>
The name of the GnuCash container to be mount on drive letter 'B'.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
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
User Enviornment variables for Moolah are:
Name Value Description
---- ----- -----------
Moolah_DL A Driveletter for mounting the Moolah VeraCrypt container
Moolah_Offline D:\\bin\\app Offline location of VeraCrypt containers
Moolah_Online C:\\bin\\app Online location of VeraCrypt containers
Moolah_VC Moolah Name of the Moolah VeraCrypt container
Moolah_WL B Driveletter for mounting the Wallet VeraCrypt container
File: Moolah (default name)
The Moolah file is a VeraCrypt container with an Online location of C:\\bin\\app and a
offline location of D:\\bin\\app. Confidential data files such as Moolah database, Password Manager
database and other confidential files reside in this container.
The Moolah container file is mounted as drive letter 'A'.
File: A:\\MoolahDB-<COMPUTERNAME>.xml
This is an XML database containing GnuCash and application records.
The DB structure is as follows:
<MoolahDB version="1.0">
<GnuCash Name="ExampleOnly" Application="GnuCash">
<FileName>gnu-business.gnucash</FileName>
<KeepOnLine>1</KeepOnLine>
<Alert>0</Alert>
</GnuCash>
<Application Name="GnuCash">
<Binary>D:\\bin\\gnucash\\bin\\gnucash.exe</Binary>
<Process>gnucash<Process>
<ARG></ARG>
</Application>
</MoolahDB>
File: B:\\<GnuCash container name>
A VeraCrypt container containing the GnuCash *.gnucash database.
OUTPUTS
A offline backup of the GnuCash container to a USB or MicroSD drive and
optionally performs a SVN commit operation on mount folder.
NOTES
Author: Craig Dayton
0.1.5: 11/15/2017 - Initial release.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Start-GnuCash Finanical
Mounts the Moolah VeraCrypt container as drive letter 'A' and the
named GnuCash container 'Finanical' as drive letter 'B'.
The container files are stored in the default online path of C:\\bin\\app
and the offline path of D:\\bin\\app.
The Password Manager and GnuCash application are then launched.
When the GnuCash application is terminated, the contents of the online GnuCash
container is copied to the offline path and optionally the online
container is removed.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Start-GnuCash
Processes the same as the previous example, but a table of existing
GnuCash containers are displayed for selection of the desired container.
RELATED LINKS
https://github.com/cadayton/Moolah
http://Moolah.readthedocs.io
SYNOPSIS
Starts GnuCash with a specific *.gnucash database.
SYNTAX
Start-GnuCash [[-container] <String>] [<CommonParameters>]
DESCRIPTION
Starts GnuCash after mounting a VeraCrypt container host the *.gnucash database
A GridView dialog is presented for the seletion of a specific GnuCash container if a
specific container name is not provided.
PARAMETERS
-container <String>
The name of the GnuCash container to be mount on drive letter 'B'.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
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
User Enviornment variables for Moolah are:
Name Value Description
---- ----- -----------
Moolah_DL A Driveletter for mounting the Moolah VeraCrypt container
Moolah_Offline D:\\bin\\app Offline location of VeraCrypt containers
Moolah_Online C:\\bin\\app Online location of VeraCrypt containers
Moolah_VC Moolah Name of the Moolah VeraCrypt container
Moolah_WL B Driveletter for mounting the Wallet VeraCrypt container
File: Moolah (default name)
The Moolah file is a VeraCrypt container with an Online location of C:\\bin\\app and a
offline location of D:\\bin\\app. Confidential data files such as Moolah database, Password Manager
database and other confidential files reside in this container.
The Moolah container file is mounted as drive letter 'A'.
File: A:\\MoolahDB-<COMPUTERNAME>.xml
This is an XML database containing GnuCash and application records.
The DB structure is as follows:
<MoolahDB version="1.0">
<GnuCash Name="ExampleOnly" Application="GnuCash">
<FileName>gnu-business.gnucash</FileName>
<KeepOnLine>1</KeepOnLine>
<Alert>0</Alert>
</GnuCash>
<Application Name="GnuCash">
<Binary>D:\\bin\\gnucash\\bin\\gnucash.exe</Binary>
<Process>gnucash<Process>
<ARG></ARG>
</Application>
</MoolahDB>
File: B:\\<GnuCash container name>
A VeraCrypt container containing the GnuCash *.gnucash database.
OUTPUTS
A offline backup of the GnuCash container to a USB or MicroSD drive and
optionally performs a SVN commit operation on mount folder.
NOTES
Author: Craig Dayton
0.1.5: 11/15/2017 - Initial release.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Start-GnuCash Finanical
Mounts the Moolah VeraCrypt container as drive letter 'A' and the
named GnuCash container 'Finanical' as drive letter 'B'.
The container files are stored in the default online path of C:\\bin\\app
and the offline path of D:\\bin\\app.
The Password Manager and GnuCash application are then launched.
When the GnuCash application is terminated, the contents of the online GnuCash
container is copied to the offline path and optionally the online
container is removed.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Start-GnuCash
Processes the same as the previous example, but a table of existing
GnuCash containers are displayed for selection of the desired container.
RELATED LINKS
https://github.com/cadayton/Moolah
http://Moolah.readthedocs.io