Drop All Databases

This will create a new drop all database script.

EXEC sp_MSforeachdb '
IF DB_ID(''?'') > 4
BEGIN
    PRINT (''ALTER DATABASE [?] SET SINGLE_USER WITH ROLLBACK IMMEDIATE'')
	PRINT (''DROP DATABASE [?]'')
END'

Here is the sample output from my testing.

ALTER DATABASE [Speedy] SET SINGLE_USER WITH

ROLLBACK IMMEDIATE<br /> DROP DATABASE [Speedy]<br /> ALTER DATABASE [Sample] SET SINGLE_USER WITH ROLLBACK IMMEDIATE<br /> DROP DATABASE [Sample]

Now you can review the list to ensure it's correct. Then copy it and run it to drop all listed databases.

Restore Database with Different Name

Restores a database to to a different database name and file names.

RESTORE DATABASE [Sample] FROM  DISK = N'C:\Workspaces\Databases\Sample.bak' WITH  FILE = 1,  
MOVE N'Sample' TO N'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\Sample2.mdf',  
MOVE N'Sample_log' TO N'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\Sample2_log.ldf',  NOUNLOAD,  REPLACE,  STATS = 5

Note: You'll want to modify your server path if using a different version or installation path.