Skip to content

Instantly share code, notes, and snippets.

@SweetAsNZ
Created May 22, 2025 20:53
Show Gist options
  • Save SweetAsNZ/30b3c1292a2a5abf680802ea4e8167ff to your computer and use it in GitHub Desktop.
Save SweetAsNZ/30b3c1292a2a5abf680802ea4e8167ff to your computer and use it in GitHub Desktop.
Get iSCSi NQN Unique Identifier with Windows PowerShell
function Get-iSCSiIQN {
Write-Host -f Green "$($env:COMPUTERNAME)`r`n"
Get-InitiatorPort | Select-Object -ExpandProperty NodeAddress
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment