Forum Discussion

darangua's avatar
darangua
Copper Contributor
Feb 03, 2020
Solved

Access denied when I want create to File in Powershell

Hi, Please, your help me! I have problem to access denied, when i want create to file. I have the account in the group administrator. I valued the permission in the tab security and i have admini...
  • HidMov's avatar
    HidMov
    Feb 03, 2020

    Hi darangua 

     

    I reread your post - I missed something in the original.

     

    When you export out, you need to name the exported file name, not just the folder location. Try:

     

    $cre | Export-Clixml -Path c:\test\name.xml

     

    This will export out the name.xlm file in the test folder.

     

     

    The result:

     

     

    Hope this helps,

     

    Mark

Resources