Disable the Microsoft iSCSI Initiator Service (MSiSCSI) with PowerShell

You can easily disable the MSiSCSI service with this simple line:

 

$ret = Set-Service MSiSCSI -Status Stopped -StartupType Disabled
if (!$?) {write-host (“Warning: $($error[0])”)} Else {write-host (“Successfully disabled Microsoft iSCSI Initiator Service (MSiSCSI)”)}

Sharing is caring!

Leave a comment

Your email address will not be published. Required fields are marked *

18 − eight =