Score:1

Why cannot I map an DSF/SMB share using New-SmbGlobalMapping?

ru flag

I've got a DFS folder: \\my.domain\Storage$ I'd like to map it to a particular Windows Server Core machine using the New-SmbGlobalMapping PowerShell command using specific credentials.

Alas, when I attempt to do so I get a The network name cannot be found error. I know for a fact that the network name itself is OK because I can simply cd from PowerShell into that DFS folder...

Any idea what's going on here?

Score:2
us flag

See https://github.com/microsoft/Windows-Containers/issues/299.

Apparently this was intentional (not a bug) and the documentation was updated to reflect it. Unfortunately, there's no commitment to address this, just a "we may fix this" statement.

I can't find any reference to this issue in the New-SmbGlobalMapping docs online, and we don't update the built-in help, so I'm not sure if it's been addressed there.

There is a brief note in the Persistent Storage in Containers documentation, though.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.