Hi anyweb, thanks for your reply and apologies for the delay in acknowledging it.
As I say, I'm very new to SCCM and have even less knowledge of Powershell or other languages (I know, I've really been dropped in the deep end here!), so I'm really limited to using my small knowledge of SCCM to get this working.
Thank you for the advice.