< Back

Get-AzureStorSimpleDeviceConnectedInitiator

Wed Jan 30, 2019 5:40 pm

NAME Get-AzureStorSimpleDeviceConnectedInitiator



SYNOPSIS

Gets the iSCSI connections available for a StorSimple device.





SYNTAX

Get-AzureStorSimpleDeviceConnectedInitiator [-DeviceId] <String> [-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>]

[<CommonParameters>]



Get-AzureStorSimpleDeviceConnectedInitiator [-DeviceName] <String> [-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureStorSimpleDeviceConnectedInitiator cmdlet gets a list of the iSCSI connections available for a StorSimple device. The iSCSI connection

objects that this cmdlet returns contain the following properties:



-- AcrInstanceId

-- AcrName

-- AllowedVolumeNames

-- InitiatorAddress

-- Interfaces

-- Iqn

-- IscsiConnectionId



This cmdlet gets connection object only if iSCSI connections are turned on for the device. By default, connections are turned off.





PARAMETERS

-DeviceId <String>

Specifies the instance ID of the StorSimple device from which to get iSCSI initiators.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-DeviceName <String>

Specifies the name of the StorSimple device from which to get iSCSI initiators.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Profile [<Microsoft.Azure.Common.Authentication.Models.AzureProfile>]

Specifies an Azure profile.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None









OUTPUTS

List<IscsiConnection>



This cmdlet returns an iSCSI connection object that contains the following properties:



-- AcrInstanceId

-- AcrName

-- AllowedVolumeNames

-- InitiatorAddress

-- Interfaces

-- Iqn

-- IscsiConnectionId





NOTES





Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple



Example 1: Get all connections for a device



PS C:\\>Get-AzureStorSimpleDeviceConnectedInitiator -DeviceName "Contoso63-AppVm"

VERBOSE: ClientRequestId: bec615b9-79ab-4671-88b0-287adeb6bf68_PS

VERBOSE: ClientRequestId: ef976c58-2660-41c8-aa15-c84e70c9d01c_PS

VERBOSE: ClientRequestId: 9b306b96-8e76-47ed-beda-d3bd2fb2bb82_PS

VERBOSE: ClientRequestId: 0f4fc743-0b60-45da-a45a-27f4b0f32bd2_PS



AcrInstanceId : 55f24643-ab3a-4098-ade2-aa2b1a3ab18c

AcrName : Contoso63-AppVm

AllowedVolumeNames : {Policyvolume1_Default}

InitiatorAddress :

Interfaces : {Data0}

Iqn : iqn10

IscsiConnectionId : cfc144cb-00f1-44b1-9655-80b431f2161b



VERBOSE: 1 Iscsi Connection found!



This command gets all iSCSI connections for the device named Contoso63-AppVm. This command returns connections only if connections are turned on for the

device.







RELATED LINKS

Get-AzureStorSimpleAccessControlRecord