By making Samyama on the discrimination between the Sattva and the Purusha come omnipotence and omniscience.
In plain words: By focusing deeply on the difference between the mind (Sattva) and the true Self (Purusha), the yogi gains power over everything and knowledge of everything.
When nature has been conquered, and the difference between the Purusha and nature realised — that the Purusha is indestructible, pure and perfect — then come omnipotence and omniscience.
Namaste.
A calm guide to life, the mind and the old teachings.