< Back

Import-TickleDatabase

Sat Jan 18, 2020 4:57 pm

NAME Import-TickleDatabase



SYNOPSIS

Import event data from a Clixml file





SYNTAX

Import-TickleDatabase [-Path] <String> [-Confirm] [-Credential <PSCredential>] [-ServerInstance <String>]

[-WhatIf] [<CommonParameters>]





DESCRIPTION

If you export a tickle database with the Export-TickleDatabase command, you can re-import it into a new or

different SQL Srrver instance with 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? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Path <String>

The path and filename for the export xml file.



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

None





MyTickle







NOTES





Learn more about PowerShell: http://jdhitsolutions.com/blog/essentia ... resources/



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



PS C:\\> Import-TickleDatabase c:\\backup\\exportdb.xml



It is assumed you created the xml file with Export-TickleDatabase.



RELATED LINKS

Export-TickleDatabase