Windows Server: How to install File and iSCSI Services and File Server Role Services
Summary: This article is designed to address installing File and iSCSI Services and File Server role services on a server running Windows Server Core.
Instructions
Perform the following steps to install the File Server role service on a server running Windows Server Core.
- Type
Start PowerShellin the Command Prompt window to start Windows PowerShell. - To perform the installation type the following:
Install-WindowsFeature File-Services
Additional Information:
This information applies to Windows Server 2012 and Windows Server 2012 R2.
The File and Storage Services role is consisted of the File and iSCSI Services and Storage Services.
File and iSCSI Services is a grouping of role services and is consisted of the following role services:
- File Server
- BranchCache for Network Services
- Data Deduplication
- Distributed file system (DFS) Namespaces
- DFS Replication
- File Server Resource Manager
- File Server VSS Agent Service
- iSCSI Target Server
- iSCSI Target Storage Provider
- Server for NFS
- Work Folders
The File and Storage Services are installed by default.
The File Server role service is installed after performing the cmdlet.
Install-WindowsFeature File-Services
Each of the File and iSCSI Services role services must be installed separately.
The following cmdlets are available for managing Server Message Block (SMB) Shares on a server running Windows Server Core:
Adds a deny access control entry for a trustee to the security descriptor of the SMB share
Block-SmbShareAccess
Forcibly closes a file that is open by one of the clients of the SMB server.
Close-SmbOpenFile
Forcibly ends the SMB session.
Close-SmbSession
Disables a constrained delegation authorization for an SMB client and server
Disable-SmbDelegation
Enables a constrained delegation authorization for an SMB client and server
Enable-SmbDelegation
Gets the list of SMB bandwidth caps for each traffic category.
Get-SmbBandwidthLimit
Retrieves the SMB client configuration
Get-SmbClientConfiguration
Retrieves the network interfaces used by the SMB client.
Get-SmbClientNetworkInterface
Retrieves the connections established from the SMB client to the SMB servers
Get-SmbConnection
Gets the constrained delegation authorizations for an SMB client
Get-SmbDelegation
Retrieves the SMB client directory mappings created for a server
Get-SmbMapping
Retrieves the SMB connections made between the SMB client network interfaces and the SMB server network interfaces.
Get-SmbMultichannelConnection
Retrieves the constraints that define how the SMB client uses network interfaces to connect to the servers
Get-SmbMultichannelConstraint
Retrieves basic information about the files that are open on behalf of the clients of the SMB server
Get-SmbOpenFile
Retrieves the SMB server configuration
Get-SmbServerConfiguration
Retrieves the network interfaces used by the SMB server.
Get-SmbServerNetworkInterface
Retrieves information about the SMB sessions that are established between the SMB server and the associated clients
Get-SmbSession
Retrieves the SMB shares on the computer.
Get-SmbShare
Retrieves the access control list (ACL) of the SMB share
Get-SmbShareAccess
Adds an allow access control entry (ACE) for a trustee to the security descriptor of the SMB share
Grant-SmbShareAccess
Creates a new SMB mapping
New-SmbMapping
Creates a new SMB multi-channel constraint for the specified server
New-SmbMultichannelConstraint
Creates a new SMB share
New-SmbShare
Removes SMB bandwidth caps
Remove-SmbBandwidthLimit
Removes the SMB mapping to an SMB share
Remove-SmbMapping
Removes one or more specified SMB multi-channel constraints, which determine the network interfaces to be used when connecting to specific servers
Remove-SmbMultichannelConstraint
Deletes the specified SMB shares
Remove-SmbShare
Removes all the allowed access control entry (ACE) for a trustee from the security descriptor of the SMB share
Revoke-SmbShareAccess
Adds an SMB bandwidth cap
Set-SmbBandwidthLimit
Sets the SMB client configuration
Set-SmbClientConfiguration
Sets the ACL for the file system folder to match the ACL used by an SMB share
Set-SmbPathAcl
Sets the SMB server configuration
Set-SmbServerConfiguration
Modifies the properties of the SMB share
Set-SmbShare
Removes all the denied ACE's for the trustee from the security descriptor of the SMB share
Unblock-SmbShareAccess
Forces the SMB client to update the multi-channel-related information
Update-SmbMultichannelConnection
Additional information about File and iSCSI Services can be found on TechNet.