Forum Discussion

oryxway's avatar
oryxway
Iron Contributor
Nov 09, 2023

Scheduled Task and WMIC script through Intune

Can I run a WMIC script to uninstall forticlient using scheduled task through Intune. This is the command

 

$command = 'wmic product where "name like ''Forti%%''" call uninstall /nointeractive'
Invoke-Expression -Command $command

 

 

Resources