Disable RBS in sharePoint 2010

In Sharepoint 2010, the Remote Blob Storage (RBS) functionality, which allows putting documents into the database filesystem instead of the database.But the metadata about the documents is stored in content database.And each content database is located in a specific section of the file system where all the documents are stored.
 
 
Here are the list of powershell commands to disable the RBS in sharepoint.
 
 
cdb=Get-SPContentDatabase <ContentDbName>

$rbs=$cdb.RemoteBlobStorageSettings

$rbs.GetProviderNames()

$rbs.SetActiveProviderName("")

$rbs.Migrate()

$rbs.Disable()
 
 
 Happy SharePointing :-)