none
Script to Audit ISCSi RRS feed

  • Question

  • Hi ,

    I wrote below script tom audit iscsi and I am getting the output as below.

    $AuditISCSI = Invoke-Command -ComputerName $ComputerName { get-iscsisession } | FT PSComputerName, InitiatorPortalAddress, IsConnected -autosize

    Output:

    PSComputerName InitiatorPortalAddress IsConnected
    -------------- ---------------------- -----------
    slcqc038       10.214.89.117                 True

    Is there any ways so that I will get the output in this format 

    InitiatorPortalAddress :10.214.89.117

    IsConnected:True  





    • Edited by Shimith Tuesday, October 10, 2017 3:56 AM
    • Moved by Bill_Stewart Friday, March 9, 2018 7:33 PM Abandoned
    Tuesday, October 10, 2017 3:17 AM

All replies