Problem exporting from remote session

Hello,

I am trying to export a csv from a remote computer on my network but everywhere I try to save it says"access denied".

[xxxx]: PS C:\Users\xxxx\Documents> get-wmiobject -class win32_product | select-object -property name |export-csv -path “path name”

The credential I am using should give me access to everything on my lan, but I am unable to export anything from a remote session. Is there something I am missing?

Alex.

Sounds like the Kerberos double-hop issue. Kerberos by it’s nature will not pass your credentials from your target machine to another computer on your network. The only solution to this is to set up CredSSP as an alternative to Kerberos, but this is not recommended for security reasons. The best bet would be to export to csv locally and then copy the file to it’s final location from your local session.

This is well-covered in “Secrets of PowerShell Remoting,” if you’re interested.

Thank you!