I have three questions that I got stuck with !
Q1) How can I use PowerShell to find my personal printer which is connected to the same WIFI as my Macbook, how to configure and how can I send a file to print?
Q2) Opening a text file from the command-line with APP: E.g (Atom and view the content of text file? (Running Executables)
PS: Path to my text file and the app I want to use are mentioned below!
For this one I tried to assign two variables then ‘Start-Process’ but nothing happened!
|$MyPC = "./Desktop/Scripting/Exercises PowerShell/MyPC.txt"
$Atom = “./Users/Mido/Applications/Atom”
Start-Process $Atom++ $MyPC
Q3) If I have two hard-drives and my main’s root is “./” what would the main root of my secondary hard-drive if i’m trying to access it from the main hard-drive?
Any help would be appreciated