New-SmbGlobalMapping samba share for docker is not mounted after host reboot


  • Hi,

    How can I persist the

    $creds = Get-Credential 
    New-SmbGlobalMapping -RemotePath \\contosofileserver\share1 -Credential $creds -LocalPath G:

    commands i used to mount a share for the docker containters?
    After every reboot the share is no longer available.
    Apparently no "persistent" parameter is present in the powershell commandlet.

    Thank you

    venerdì 18 maggio 2018 15:52

Tutte le risposte