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

    sexta-feira, 18 de maio de 2018 15:52

Todas as Respostas