Ravi Kumar
Active Member
- Messages
- 31
- Solutions
- 2
- Reaction score
- 0
- Points
- 6
Hello All,
Hope you all are doing great,
I need your help in Enablement of the Defender antivirus in my environment on servers, i am using below mentioned command.
# For Windows Server 2016
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui
# For Windows Server 1803 and later, including Windows Server 2019 and 2022
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Now the Challenge is, i want to run this on multiple systems and for server and it ask for reboot in the second command then only we can run 3rd command. How we can achieve this from SCCM and can run all three command via script or anything.
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender --------(Reboot)
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui
Thank you in Advance.
Best Regards
Ravi Kumar
Hope you all are doing great,
I need your help in Enablement of the Defender antivirus in my environment on servers, i am using below mentioned command.
# For Windows Server 2016
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui
# For Windows Server 1803 and later, including Windows Server 2019 and 2022
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Now the Challenge is, i want to run this on multiple systems and for server and it ask for reboot in the second command then only we can run 3rd command. How we can achieve this from SCCM and can run all three command via script or anything.
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender --------(Reboot)
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui
Thank you in Advance.
Best Regards
Ravi Kumar