Powershell – How to launch Explorer.exe with path \\server\c$ (different credential)

powershell

The Context: Powershell launched as a domain admin.

From this Powershell window, Is it possible to open c$ of a remote box (\server\c$) in explorer.exe without asking for credential (using the current credential) ?

Thanks

Best Answer

Yes, if you cd into \\server\c$ you can run invoke-item on the current directory.

cd \\server\c$
ii .

Or you can invoke the directory directly

invoke-item \\server\c$