< Back

Initialize-TickleDatabase

Sat Jan 18, 2020 4:57 pm

NAME Initialize-TickleDatabase



SYNOPSIS

Initialize a new tickle event database





SYNTAX

Initialize-TickleDatabase [-DatabasePath] <String> [-Confirm] -Credential <PSCredential> [-ServerInstance

<String>] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Use this command to initialize a new tickle event database and table. You need to specify the path for the new

database file. The command will use the built in Tickle variables so update them if necessary prior to running

this command.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Credential <PSCredential>

Specify a credential to authenticate to the SQL Server instance. This should normally not be required.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DatabasePath <String>

The folder for the database to be created.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ServerInstance <String>

The name of your SQL Server instance. The parameter will default to the module variable.



Required? false

Position? named

Default value $TickleServerInstance

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

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

None







OUTPUTS

System.Object







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Initialize-Tickledatabase -databasepath c:\\db\\mytickle



Initialize and empty database and create the files at c:\\db\\mytickle. The folder must exist before running this

command.



RELATED LINKS