Skip to content

Commit 4f1a84b

Browse files
Merge pull request #272803 from khdownie/patch-2
Update storage-files-identity-auth-domain-services-enable.md
2 parents c172379 + 6c194db commit 4f1a84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/storage/files/storage-files-identity-auth-domain-services-enable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Unless you're using [custom domain names](storage-files-identity-ad-ds-mount-fil
319319
$connectTestResult = Test-NetConnection -ComputerName <storage-account-name>.file.core.windows.net -Port 445
320320
if ($connectTestResult.TcpTestSucceeded) {
321321
cmd.exe /C "cmdkey /add:`"<storage-account-name>.file.core.windows.net`" /user:`"localhost\<storage-account-name>`""
322-
New-PSDrive -Name Z -PSProvider FileSystem -Root "\\<storage-account-name>.file.core.windows.net\<file-share-name>" -Persist
322+
New-PSDrive -Name Z -PSProvider FileSystem -Root "\\<storage-account-name>.file.core.windows.net\<file-share-name>" -Persist -Scope global
323323
} else {
324324
Write-Error -Message "Unable to reach the Azure storage account via port 445. Check to make sure your organization or ISP is not blocking port 445, or use Azure P2S VPN, Azure S2S VPN, or Express Route to tunnel SMB traffic over a different port."
325325
}

0 commit comments

Comments
 (0)