Avatar of pramod1
pramod1
Flag for United States of America asked on

active directory, SMBversion 1.0

how can we use new CMI session to enable logging for SMBversion 1.0 on all on premise  domain controllers?

Active Directory* SMBv1Windows Server 2016Windows 10Azure

Avatar of undefined
Last Comment
Philip Elder

8/22/2022 - Mon
Jackie Man

What do you mean by CMI session?
Gustav Brock

CIM, I guess ...

But what would there be to log? Haven't you disabled SMBv1 - as you are advised to do?
pramod1

ASKER
I need to check first who all are using

Can you please share the command
Where I can enable logging for sometime across all domains
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Gustav Brock

Could you please rephrase your question? I don't understand your wording - or rather lack of.
pramod1

ASKER
i want to enable logging for SMB1 on all ON PREMISE  domain controllers and member servers

across americas, Europe and asia pacific domains.



as i want to find users, IP addresses  who are using SMB1 .  and then tell those users to not to use smbversion1 and then will  disable smb1

i can run this command Set-SmbServerConfiguration -AuditSmb1Access $true

The bad news its not accepting a remote computer name, so you'd use New-CIMSession ... which might not work if not configured properly.

so i was looking for proper CMI session to configure the command
ASKER CERTIFIED SOLUTION
Gustav Brock

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Philip Elder

⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.