Maybe this? https://stackoverflow.com/questions/28989750/running-powershell-as-another-user-and-launching-a-script
On Wed, Dec 11, 2019 at 4:52 PM <[email protected]> wrote: > > I know this isn’t a Linux question, but I am hoping someone in the group may > know the answer. On a client’s system, I need to be able to retrieve files > from a hidden network share. This share has a name ending in a dollar sign, > which keeps it from showing up in Windows Explorer. I can browse to this > share in Windows Explorer by typing in the UNC path, including the dollar > sign. However, trying to connect to this share via code fails, with an error > message indicating that the share isn’t available. How do I connect to it via > code? > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nlug-talk/234301d5b075%24a09291c0%24e1b7b540%24%40jfeldredge.com. -- Tilghman -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/CAHPkZcXYOm-FQxRZSDv4J2MKTysj%3Dkn1kxBT8JD1qHH9otrxfw%40mail.gmail.com.
