PSSmb
2.0.1
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
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, and can be done with Group Policy through the Disable-SmbByGpo command.
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
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, and can be done with Group Policy through the Disable-SmbByGpo command.
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.
Minimum PowerShell version
2.0
Installation Options
Owners
Copyright
(c) 2017 Chris Carter. All rights reserved.
Package Details
Author(s)
- Chris Carter
Tags
SMB WannaCry WCry EternalBlue SMB1 SMB2 GPO
Functions
Get-Smb Disable-Smb Enable-Smb Disable-SmbByGpo
Dependencies
This module has no dependencies.
Release Notes
The command Disable-SmbByGpo was added. Please, see Get-Help Disable-SmbByGpo for details. Also, the module manifest file was changed to use older vocabulary that would allow correct importation on PowerShell 2.0.
FileList
- PSSmb.nuspec
- PSSmb.psd1
- PSSmb.psm1
- en-us\about_PSSmb.help.txt
Version History
Version | Downloads | Last updated |
---|---|---|
2.0.1 (current version) | 1,552 | 7/6/2017 |
1.0 | 36 | 7/3/2017 |