Populates a new notebook with details about a database.
Initialize-DatabaseNotebook.ps1 [-ServerInstance] <String> [-DatabaseName] <String> [-DisableEncryption]
[-AllowWrites] [-Readme <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Initialize-DatabaseNotebook.ps1 -ServerInstance ServerName -DatabaseName AdventureWorks
Adds cells to the current Polyglot Notebook that generates a header, ER diagram, and table stats.
The name of a server (and optional instance) to connect and use for the query.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The the database to connect to on the server.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
By default, an encryped connection is used. This disables that for certain compatibility issues.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
By default, a read-only connection is used. This disables that and allows read/write operations, for certain compatibility issues or other needs.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
The path to a static Markdown README.md file to create in parallel since the notebook readme isn’t fully supported yet.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.