PowerTip: Install the File and Storage Services Tools

Doctor Scripto

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

0 comments

Discussion is closed.

Feedback usabilla icon