You'll need the right attachment, which is a disc holder and a cutting disc appropriate to the type of metal to be cut. You will also need to clamp down the metal.
A hack-saw is a better tool for the job, or better still, a tube cutter.
Don't forget to wear glasses- metal shards get EVERYWHERE with a power cutting tool of any type.