This article is designed to address installing File and iSCSI Services and File Server role services on a server running Windows Server Core.
Perform the following steps to install File Server role service on a server running Windows Server Core.
1. Type Start PowerShell in the Command Prompt window to start Windows PowerShell.
2. Type Install-WindowsFeature File-Services and press Enter to perform the installation.
This information applies to Windows Server 2012 and Windows Server 2012 R2.
The File and Storage Services role is comprised of the File and iSCSI Services and Storage Services.
File and iSCSI Services is a grouping of role services and is comprised of the following role services:
The File and Storage Services and Storage Services are installed by default.
The File Server role service is installed after performing the Install-WindowsFeature File-Services cmdlet.
Each of the File and iSCSI Services role services must be installed separately.
The following Windows PowerShell cmdlets are available for managing Server Message Block (SMB) Shares on a server running Windows Server Core.
Block-SmbShareAccess - Adds a deny access control entry for a trustee to the security descriptor of the SMB share.
Close-SmbOpenFile - Forcibly closes a file that is open by one of the clients of the SMB server.
Close-SmbSession - Forcibly ends the SMB session.
Disable-SmbDelegation - Disables a constrained delegation authorization for an SMB client and server.
Enable-SmbDelegation - Enables a constrained delegation authorization for an SMB client and server.
Get-SmbBandwidthLimit - Gets the list of SMB bandwidth caps for each traffic category.
Get-SmbClientConfiguration - Retrieves the SMB client configuration.
Get-SmbClientNetworkInterface - Retrieves the network interfaces used by the SMB client.
Get-SmbConnection - Retrieves the connections established from the SMB client to the SMB servers.
Get-SmbDelegation - Gets the constrained delegation authorizations for an SMB client.
Get-SmbMapping - Retrieves the SMB client directory mappings created for a server.
Get-SmbMultichannelConnection - Retrieves the SMB connections made between the SMB client network interfaces and the SMB server network interfaces.
Get-SmbMultichannelConstraint - Retrieves the constraints that define how the SMB client uses network interfaces to connect to the servers.
Get-SmbOpenFile - Retrieves basic information about the files that are open on behalf of the clients of the SMB server.
Get-SmbServerConfiguration - Retrieves the SMB server configuration.
Get-SmbServerNetworkInterface - Retrieves the network interfaces used by the SMB server.
Get-SmbSession - Retrieves information about the SMB sessions that are currently established between the SMB server and the associated clients.
Get-SmbShare - Retrieves the SMB shares on the computer.
Get-SmbShareAccess - Retrieves the access control list (ACL) of the SMB share.
Grant-SmbShareAccess - Adds an allow access control entry (ACE) for a trustee to the security descriptor of the SMB share.
New-SmbMapping - Creates a new SMB mapping.
New-SmbMultichannelConstraint - Creates a new SMB multi-channel constraint for the specified server.
New-SmbShare - Creates a new SMB share.
Remove-SmbBandwidthLimit - Removes SMB bandwidth caps.
Remove-SmbMapping - Removes the SMB mapping to an SMB share.
Remove-SmbMultichannelConstraint - Removes one or more specified SMB multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers.
Remove-SmbShare - Deletes the specified SMB shares.
Revoke-SmbShareAccess - Removes all of the allow ACEs for a trustee from the security descriptor of the SMB share.
Set-SmbBandwidthLimit - Adds an SMB bandwidth cap.
Set-SmbClientConfiguration - Sets the SMB client configuration.
Set-SmbPathAcl - Sets the ACL for the file system folder to match the ACL used by an SMB share.
Set-SmbServerConfiguration - Sets the SMB server configuration.
Set-SmbShare - Modifies the properties of the SMB share.
Unblock-SmbShareAccess - Removes all of the deny ACEs for the trustee from the security descriptor of the SMB share.
Update-SmbMultichannelConnection - Forces the SMB client to update the multi-channel-related information.
Additional information about File and iSCSI Services can be found on TechNet.
Identificateur de l'article : HOW10122
Date de la dernière modification : 08/28/2014 03:26 PM
Nous vous remercions pour vos commentaires.