Identify SMB Versions on ALL Clients across the domain.

We require to identify what SMB version is being used on all client machines on the network (Win 7 and 10).

A PowerShell script to extract the SMB version of all clients (single domain) and place the output into a CSV.
CTCRMInfrastructure EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Do you want to know the server or the client part? The basics are covered at .
You need to perform different checks for pre-W8 and W8+, and for SMB client and SMB server.
You cannot check the server part remotely (in any easy way). Remote registry, PS Remoting work though.
The client part can be checked with sc.exe, even remotely, but it is indirect by checking for service dependencies.

Another issue with such a request is that ALL - you never can make sure you get all clients. You can use the current Active Directory computer account list to go thru, but you will always miss machines because they are decommissioned or just off at this moment (or have other issues).

The best advice I can give is to just add a computer startup script to AD, which disables SMBv1 on the single machine it runs on. And log that it did.
Or just use the GPOs as stated at the end of the MS support article.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CTCRMInfrastructure EngineerAuthor Commented:
Its for Windows 7 Clients only and to be honest they're not going to be above SMB version 2.1 because of Windows 7 limitation.
CTCRMInfrastructure EngineerAuthor Commented:
Thanks, the information was helpful for this request.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.