button flyout offcanvas contact3
button flyout offcanvas subscribe3

Contact Us

Don’t hesitate to let us know how we can help you. We are here to answer any questions you might have or assist you with a project.

CAPTCHA
Please wait...

Subscribe

Join our mailing list and stay up to date on the latest smart technology news and events.

* indicates required
Call for an appointment today 1-877-546-8540   |   4087 Harvester Road Unit 7 Burlington, Ontario L7L5M3   |   Login
          
Phand Corporation
 
 

Our Team

We love what we do and we’re committed to delivering meticulous workmanship with professional, attentive service. Our goal is to make every customer experience the best it can be. Our drive for innovation means we’re continually training and educating our team, so that we can help you navigate the latest technology and provide the right system for your needs.
 

– Meet The Team –

Our people make the difference.

   
Team Player Greg
 

Greg Scott

PRESIDENT AND DESIGNER Greg Scott founded PHAND in 2002. His vast experience in audio/visual, home automation, systems design, network administration and IT, as well as his skilled management of people and projects, has built PHAND as a respected brand. Ever courteous but straight-talking, he enjoys jumping into new projects with all their challenges, making it work and seeing the best possible results for the customer. Greg takes the term “lifelong learning” to heart, continually upgrading his knowledge in all aspects of electronics knowledge and installation. These include certification by the CEDIA Home Technology Professional Association as a Professional Electronic Systems Technician (EST) II, and becoming a Crestron DigitalMedia Certified Technician and Canadian Security Association Alarm Technician, Level 1.
Team Player Tina
 

Tina Rose

OPERATIONS MANAGER With many years of experience in office administration, customer service, graphic design and retail sales, Tina Rose is the trusted manager of day-to-day operations in the PHAND office. Customer service has always been at the heart of Tina’s work. She is a positive presence to all and enjoys working behind the scenes to help the PHAND crew stay organized and on track. Her commitment to quality work and her continual focus on taking care of her fellow staff members and customers is evident and appreciated.
Team Player Barry
 

Barry Evans

LEAD TECHNICIAN Barry Evans is the talented tech behind everything from half-hour service calls to the integration of virtually all electronic devices in a home. Customers trust Barry because of his know-how and experience but also because he’s dependable. He always arrives early for the job and takes care of the tasks at hand thoroughly. His qualifications include certification as a Professional Electronic Systems Technician (EST) II through the CEDIA Home Technology Professional Association and he is trained to be a Crestron shading installer.
Team Player Mike
 

Mike Marcone

PROGRAMMER/INSTALLER We were thrilled to have Mike join us at PHAND as he comes with a fantastic range of skills and experience. He is computer software engineer by training with a specialization in cabling and connector fabrication and networking, but he has over ten year of experience in system installations and trouble-shooting for homes and businesses requiring a high level of multimedia-AV sophistication. To round out his skill-set, Mike has also spent many years in sales – a critical piece with PHAND to be able to easily communicate and understand our clients’ needs. Mike also happens to be an audio engineer and owns a music school and analog recording studio.
     
CiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSdnZl9icm93c2VyX3Vua25vd24gZ2Zvcm1fd3JhcHBlcicgaWQ9J2dmb3JtX3dyYXBwZXJfMicgPjxhIGlkPSdnZl8yJyBjbGFzcz0nZ2Zvcm1fYW5jaG9yJyA+PC9hPjxmb3JtIG1ldGhvZD0ncG9zdCcgZW5jdHlwZT0nbXVsdGlwYXJ0L2Zvcm0tZGF0YScgdGFyZ2V0PSdnZm9ybV9hamF4X2ZyYW1lXzInIGlkPSdnZm9ybV8yJyAgYWN0aW9uPScvYWJvdXQtdXMvdGVhbS8jZ2ZfMic+CiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9J2dmb3JtX2JvZHknPjx1bCBpZD0nZ2Zvcm1fZmllbGRzXzInIGNsYXNzPSdnZm9ybV9maWVsZHMgdG9wX2xhYmVsIGZvcm1fc3VibGFiZWxfYmVsb3cgZGVzY3JpcHRpb25fYmVsb3cnPjxsaSBpZD0nZmllbGRfMl8xJyBjbGFzcz0nZ2ZpZWxkIGdmaWVsZF9jb250YWluc19yZXF1aXJlZCBmaWVsZF9zdWJsYWJlbF9iZWxvdyBmaWVsZF9kZXNjcmlwdGlvbl9iZWxvdyBnZmllbGRfdmlzaWJpbGl0eV92aXNpYmxlJyA+PGxhYmVsIGNsYXNzPSdnZmllbGRfbGFiZWwgZ2ZpZWxkX2xhYmVsX2JlZm9yZV9jb21wbGV4JyBmb3I9J2lucHV0XzJfMV8zJyA+TmFtZTxzcGFuIGNsYXNzPSdnZmllbGRfcmVxdWlyZWQnPio8L3NwYW4+PC9sYWJlbD48ZGl2IGNsYXNzPSdnaW5wdXRfY29tcGxleCBnaW5wdXRfY29udGFpbmVyIG5vX3ByZWZpeCBoYXNfZmlyc3RfbmFtZSBub19taWRkbGVfbmFtZSBoYXNfbGFzdF9uYW1lIG5vX3N1ZmZpeCBnZl9uYW1lX2hhc18yIGdpbnB1dF9jb250YWluZXJfbmFtZSBnZmllbGRfdHJpZ2dlcl9jaGFuZ2UnIGlkPSdpbnB1dF8yXzEnPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBpZD0naW5wdXRfMl8xXzNfY29udGFpbmVyJyBjbGFzcz0nbmFtZV9maXJzdCcgPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IHR5cGU9J3RleHQnIG5hbWU9J2lucHV0XzEuMycgaWQ9J2lucHV0XzJfMV8zJyB2YWx1ZT0nJyBhcmlhLWxhYmVsPSdGaXJzdCBuYW1lJyB0YWJpbmRleD0nMicgIGFyaWEtcmVxdWlyZWQ9InRydWUiIGFyaWEtaW52YWxpZD0iZmFsc2UiIC8+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGFiZWwgZm9yPSdpbnB1dF8yXzFfMycgPkZpcnN0PC9sYWJlbD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBpZD0naW5wdXRfMl8xXzZfY29udGFpbmVyJyBjbGFzcz0nbmFtZV9sYXN0JyA+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZT0ndGV4dCcgbmFtZT0naW5wdXRfMS42JyBpZD0naW5wdXRfMl8xXzYnIHZhbHVlPScnIGFyaWEtbGFiZWw9J0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