You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **Get-SmbGlobalMapping** cmdlet retrieves an SMB global mapping on the SMB client to an SMB share. Global mappings allow all users to use the same mapping. Its primary use is for Windows Containers.
24
+
25
+
The `Get-SmbGlobalMapping` cmdlet retrieves an SMB global mapping on the SMB client to an SMB
26
+
share. Global mappings allow all users to use the same mapping. Its primary use is for Windows
27
+
Containers.
25
28
26
29
## EXAMPLES
27
30
28
-
### Example 1 - Retrieve SMB client directory global mappings
31
+
### Example 1: Retrieve SMB client directory global mappings
29
32
30
33
This command retrieves the SMB client directory global mappings created for the SMB server.
31
34
32
35
```powershell
33
-
PS C:\> Get-SmbGlobalMapping
36
+
Get-SmbGlobalMapping
34
37
```
35
38
36
39
```output
@@ -42,7 +45,9 @@ OK G: \\fs1.contoso.com\public
42
45
## PARAMETERS
43
46
44
47
### -AsJob
45
-
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.
48
+
49
+
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a `New-CimSession` or `Get-CimSession` cmdlet. The default is the current session on the local computer.
65
+
66
+
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session
67
+
object, such as the output of a [New-CimSession](/powershell/module/cimcmdlets/new-cimsession) or
68
+
[Get-CimSession](/powershell/module/cimcmdlets/get-cimsession) cmdlet. The default is the
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.
116
+
117
+
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If
118
+
this parameter is omitted or a value of `0` is entered, then Windows PowerShell calculates an
119
+
optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the
120
+
computer. The throttle limit applies only to the current cmdlet, not to the session or to the
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, -`OutVariable`, -`OutBuffer`, -`PipelineVariable`, -`Verbose`, -`WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
136
+
137
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
0 commit comments