sample script using get-instance-name