< Back

Remove-MdbcDatabase

Sat Jan 18, 2020 11:33 am

NAME Remove-MdbcDatabase



SYNOPSIS

Removes a database.





SYNTAX

Remove-MdbcDatabase [-Name] <String> [-Client <MongoClient>] [<CommonParameters>]





DESCRIPTION

This cmdlet removes the specified database from the client, either default (the variable $Client) or specified by

the parameter Client.





PARAMETERS

-Name

Specifies the database name.



Required? true

Position? 0

Default value

Accept pipeline input?

Accept wildcard characters?



-Client

Client instance. If it is omitted then the variable $Client is used. It is obtained by Connect-Mdbc or using

the driver API.



Required? false

Position? named

Default value

Accept pipeline input?

Accept wildcard characters?



<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



OUTPUTS





RELATED LINKS

Connect-Mdbc