How to decide if I want to pursue PhD I have a Master's in Computer Science and I currently work in a manufacturing company. My current role is IT Manufacturing Technical Leader with responsibilities split between technical and business tasks evenly. I've always wanted to move closer to more-technical-less-business tasks.
So my questions are:

Given I want to be more on the technical side, is it wise to pursue a PhD in Computer Science? I am not sure how a PhD will help or affect my future roles (in this company or otherwise).
Another conflict I have is regarding the PhD itself. I am not really sure what I would like to research. Is this something I should know and be ambitious about BEFORE applying to my PhD? My wife is currently in her Master's and she is really passionate about a lot of different topics in her respective field. She intends on pursuing her PhD. Seeing where she stands, it makes me question my desire to get into a PhD program when I have no idea what it is I want to be an expert in or research on. So to repeat my question, should I need to know what I want out of the PhD now or will it come to me while I am in the program?

I have always wanted to get a PhD and I am afraid I shouldn't. I would appreciate some guidance on this.
Think of a PhD as a funded research post. Its primary purpose isn't to get you a job but to give you a space to do academic research (with the minor caveat that I am not a computer scientist, and I understand that there are some job listings which ask for PhD graduates). Your research will be on an extremely narrow question, and these are usually not directed at an industry-relevant task. It is highly unlikely that the research output will make you any better at your job.
If you want to do the research, and there is a topic that motivates you so much that you could work on it exclusively, even if nobody else really cared about it, for many years, then a PhD may be right for you. Many PhD students discover that this isn't really the case for them, however, and you could be at a high risk of this if you begin without a reasonably specific topic in mind. Sometimes people phrase this in some sort of macho framing, as though PhDs are there to show you are tough - while toughness matters, intrisic motivation towards a potentially extremely obscure research topic is an absolute prerequisite. There is no point doing it for title, bragging rights etc.
I would suggest that if you aren't highly motivated by research in and of itself, you would do a lot better not to do a PhD. Nobody will think the less of you for not being Dr. Crazy Cucumber.
Edit: typo