Hi, thanks for the reply.
I just need one last bit of help please.

When you are defining the informtion, how do you format it?
for example take $port =
Does the information have to be contained between the brackets or do you just type 192.168.1.1, "192.168.1.1", (192.168.1.1), ("192.168.1.1")

I think once I know the answer to this it should be pretty stright forward

;Parameters:
; $Port = "192.168.1.1"
; IPAddress(RAW) (xxx.xxx.xxx.xxx)
; IPAddress(LPR) (xxx.xxx.xxx.xxx:LPRQueueName)
; LPT (LPT1:)
; COM (COM1:)
; PrintServer (\\server\printer)

Thanks again