SMB Share Cmdlets in Windows PowerShell
Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.
Server Message Block (SMB) Share
This reference provides cmdlet descriptions and syntax for all Server Message Block (SMB) Share-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
cmdlet | Description |
---|---|
Adds a deny access control entry (ACE) for a trustee to the security descriptor of the Server Message Block (SMB) share. |
|
Forcibly closes a file that is open by one of the clients of the Server Message Block (SMB) server. |
|
Forcibly ends the Server Message Block (SMB) session. |
|
Disables a constrained delegation authorization for an SMB client and server. |
|
Enables a constrained delegation authorization for an SMB client and server. |
|
Gets the list of SMB bandwidth caps for each traffic category. |
|
Retrieves the Server Message Block (SMB) client configuration. |
|
Retrieves the network interfaces used by the Server Message Block (SMB) client. |
|
Retrieves the connections established from the Server Message Block (SMB) client to the SMB servers. |
|
Gets the constrained delegation authorizations for an SMB client. |
|
Retrieves the Server Message Block (SMB) client directory mappings created for a server. |
|
Retrieves the Server Message Block (SMB) connections made between the SMB client network interfaces and the SMB server network interfaces. |
|
Retrieves the constraints that define how the Server Message Block (SMB) client uses network interfaces to connect to the servers. |
|
Retrieves basic information about the files that are open on behalf of the clients of the Server Message Block (SMB) server. |
|
Retrieves the Server Message Block (SMB) server configuration. |
|
Retrieves the network interfaces used by the Server Message Block (SMB) server. |
|
Retrieves information about the Server Message Block (SMB) sessions that are currently established between the SMB server and the associated clients. |
|
Retrieves the Server Message Block (SMB) shares on the computer. |
|
Retrieves the access control list (ACL) of the Server Message Block (SMB) share. |
|
Adds an allow access control entry (ACE) for a trustee to the security descriptor of the Server Message Block (SMB) share. |
|
Creates a new Server Message Block (SMB) mapping. |
|
Creates a new Server Message Block (SMB) multi-channel constraint for the specified server. |
|
Creates a new Server Message Block (SMB) share. |
|
Removes SMB bandwidth caps. |
|
Removes the Server Message Block (SMB) mapping to an SMB share. |
|
Removes one or more specified Server Message Block (SMB) multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers. |
|
Deletes the specified Server Message Block (SMB) shares. |
|
Removes all of the allow access control entries (ACEs) for a trustee from the security descriptor of the Server Message Block (SMB) share. |
|
Adds an SMB bandwidth cap. |
|
Sets the Server Message Block (SMB) client configuration. |
|
Sets the ACL for the file system folder to match the ACL used by an SMB share. |
|
Sets the Server Message Block (SMB) server configuration. |
|
Modifies the properties of the Server Message Block (SMB) share. |
|
Removes all of the deny access control entries (ACEs) for the trustee from the security descriptor of the Server Message Block (SMB) share. |
|
Forces the Server Message Block (SMB) client to update the multi-channel-related information. |
Notes
To list all the cmdlets that are available, use the Get-Command –Module SmbShare
cmdlet.
Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help
<nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :
● Get-Help
<nom de l’applet de commande> -Detailed
● Get-Help
<nom de l’applet de commande> -Examples
● Get-Help
<nom de l’applet de commande> -Full
More Information
For more information about the cmdlets, see the following:
-