Here is the code, although the names have been changed to protect the innocent:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
USE master
go
PRINT 'Adding filegroup, DatabaseArchivePartition, for archive partition data.'
ALTER DATABASE MyDatabase
...