of course you can and it works.  when pc detects a discrete video card it automatically disables the integrated video adapter. many user validated examples of 7060 i7-8700 1050ti  [URL] optimal psu to support 1050 ti would be 300w (you may get by using stock 260 psu for MT) Load Wattage:249 WRecommended PSU Wattage:299 W
So i have an Optiplex 7060 MT and it has a i7 8700 with integrated graphics card and i want to get a GTX 1050 Ti but i dont know if it works on my PC because i have an integrated graphics card i dont know if i can switch to the GTX 1050 Ti instead of the integrated graphics card
Integrated Graphics Card