Como instalo o Set-SMBBandwidthLimit no Windows 10 V1709

0

Estou tentando instalar o Set-SmbBandwidthLimit commandlet para uso na otimização de meus backups sobre o smb. Analisei os documentos oficiais e diz

Before you can use this cmdlet, you must enable the feature by using the following command: Add-WindowsFeature -Name FS-SMBBW For more information, type Get-Help Install-WindowsFeature

Qual RSAT até mesmo obter o comando - e esse comando não funciona realmente em uma compilação de janelas do cliente. Eu recebo o erro

PS C:\WINDOWS\system32> get-WindowsFeature -Name FS-SMBBW
get-WindowsFeature : The target of the specified cmdlet cannot be a Windows client-based operating system.
At line:1 char:1
Install-WindowsFeature : The target of the specified cmdlet cannot be a Windows client-based operating system.
At line:1 char:1
+ Install-WindowsFeature FS-SMBBW
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : DeviceError: (localhost:String) [Install-WindowsFeature], Exception
    + FullyQualifiedErrorId : WindowsClient_NotSupported,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCom
   mand

Como eu realmente instalo este recurso - ele está listado como disponível para o Windows 10

De acordo com os comentários do ramhound - ele falha quando eu o executo. De formas diferentes, indicando que preciso instalá-lo

PS C:\WINDOWS\system32> Set-SmbBandwidthLimit -Category Default -BytesPerSecond 50MB
Set-SmbBandwidthLimit : The SMB Bandwidth Limit feature is not installed. To install this feature, use Server Manager
or the following Windows PowerShell command: Install-WindowsFeature FS-SMBBW.
At line:1 char:1
+ Set-SmbBandwidthLimit -Category Default -BytesPerSecond 50MB
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotImplemented: (MSFT_SmbBandwidthLimit:ROOT/Microsoft/...bBandwidthLimit) [Set-SmbBandw
   idthLimit], CimException
    + FullyQualifiedErrorId : MI RESULT 7,Set-SmbBandwidthLimit

PS C:\WINDOWS\system32> Set-SmbBandwidthLimit

cmdlet Set-SmbBandwidthLimit at command pipeline position 1
Supply values for the following parameters:
Category: Default
BytesPerSecond: 52428800
Set-SmbBandwidthLimit : The SMB Bandwidth Limit feature is not installed. To install this feature, use Server Manager
or the following Windows PowerShell command: Install-WindowsFeature FS-SMBBW.
At line:1 char:1
+ Set-SmbBandwidthLimit
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotImplemented: (MSFT_SmbBandwidthLimit:ROOT/Microsoft/...bBandwidthLimit) [Set-SmbBandw
   idthLimit], CimException
    + FullyQualifiedErrorId : MI RESULT 7,Set-SmbBandwidthLimit
    
por Journeyman Geek 21.12.2017 / 03:04

0 respostas