hope someone can help me with this problem please..
Below is a script to print a word document but i want it to print as
different user not as user who is logged in..
$objWord = New-Object -comobject Word.Application
$objDoc = $objWord.Documents.Open("c:\test\new.doc")
$a = $objWord.Quit()
A user will upload a file (done via php) with their username and
password. then the php will pass the argument to powershell and I want
the above script to print as that user using their authentication..
thank you so much