Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Last active March 27, 2016 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/b5cac574910ae8d9a1e7 to your computer and use it in GitHub Desktop.
Save PlagueHO/b5cac574910ae8d9a1e7 to your computer and use it in GitHub Desktop.
Remove iSNS Registration from an iSCSI Initiator using PowerShell
Get-WmiObject `
-Class MSiSCSIInitiator_iSNSServerClass `
-Namespace root\wmi `
-Filter "iSNSServerAddress='ISNSSERVER.CONTOSO.COM'" | Remove-WmiObject -Verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment