PSSmb

1.0

PSSmb contains commands for getting the status of SMB client and server components, and enabling and disabling the different versions installed on local and remote computers.

Due to recent vulnerabilities like EternalBlue that was used by the ransomware WannaCry and the wiper PetyaWrap, it is now recommended to disable both the client and server components of SMB v
PSSmb contains commands for getting the status of SMB client and server components, and enabling and disabling the different versions installed on local and remote computers.

Due to recent vulnerabilities like EternalBlue that was used by the ransomware WannaCry and the wiper PetyaWrap, it is now recommended to disable both the client and server components of SMB version 1 entirely.

It is important to point out that SMB versions 2 and 3 use the same stack, so enabling or disabling one of these versions will cause the same thing to happen to the other version.

When using the Enable-Smb or Disable-Smb commands, it is recommended to use the Restart parameter to cause the computer to immediately reboot after the changes have been made. This is required for the changes to take effect.
Show more

Minimum PowerShell version

2.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSSmb -RequiredVersion 1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSSmb -Version 1.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2017 Chris Carter. All rights reserved.

Package Details

Author(s)

  • Chris Carter

Tags

SMB WannaCry WCry EternalBlue SMB1 SMB2

Functions

Get-Smb Disable-Smb Enable-Smb

Dependencies

This module has no dependencies.

Release Notes

Initial Release

FileList

Version History

Version Downloads Last updated
2.0.1 1,220 7/6/2017
1.0 (current version) 35 7/3/2017