Sample 5: Move a specific resource to a new Group

using (var cluster = newClusterManager{Username = "UserName",Machine = "MYCLUSTER2003"})
{
cluster.Connect();
//if the group does not exist it will be created
cluster.Resources.MoveToNewGroup("ResourceTest","NewGroup");
}
Console.ReadKey();