Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Install the File and Storage Services Tools

$
0
0

Summary: Use Windows PowerShell to install the File and Storage Services tools.

Hey, Scripting Guy! Question How can I add all of the File and Storage Services tools by using Windows PowerShell?

Hey, Scripting Guy! Answer Use the Get-WindowsFeature cmdlet to enumerate the required tools for File and Storage Services and pipe the results to the Add-WindowsFeature cmdlet. (On Windows Server 2012 with Windows PowerShell 3.0, Add-WindowsFeature is an alias for the Install-WindowsFeature cmdlet.) This technique is shown here.

Get-WindowsFeature *file* | Add-WindowsFeature


Viewing all articles
Browse latest Browse all 36188

Trending Articles