Hi Geethapiriyan,
You can set the initiator name by using the following cmdlet
1. If the name is not set then you can try the below cmdlet. If your SP name is TestSP
Get-UcsServiceProfile -Name TestSP | Add-UcsVnicIScsiNode -ModifyPresent -InitiatorName "TestName" -InitiatorPolicyName ""
2. If the name is already present and you want to modify it then you can use the below cmdlet
Get-UcsVnicIScsiNode | Set-UcsVnicIScsiNode -InitiatorName RenameTest -Force
Best way to get the cmdlet for a particular configuration is to use the ConvertTo-UcsCmdlet. You can perform any configuration on the UCS Manager GUI and then use ConvertTo-UcsCmdlet to generate the equivalent cmdlets for the configuration. You can refer to the UCS Manager PowerTool User Guide for more details.
Hope this helps.
Thanks,
Sumanth BR