Windows Server 2016

Add iSCSI target Windows Server 2016 Hyper-V Core

Working with Windows Server 2016 Server Core is a bit more difficult than working with the GUI enabled version of Windows Server. Also, with Windows Server 2016 Microsoft has removed the ability to go back from GUI to Server Core, so you must stick with one or the other, which means we are either installing Core or GUI and not thinking about switching between. In thinking about a production Hyper-V environment, Server Core minimizes footprint and increases on the security posture of your infrastructure. Let’s take a look at how to Add iSCSI target Windows Server 2016 Hyper-V Core.

Add iSCSI target Windows Server 2016 Hyper-V Core

To begin with, we need to set the Microsoft Windows iSCSI service to automatic and then start the service. To do that we run the following commands:

set-service -name msiscsi -startuptype automatic
start-service msiscsi

Now with the iSCSI service up and running and configured to start automatically, let’s add our portal address and then we can add our iSCSI targets.  To add a new target portal address from a PowerShell command prompt, we run the new-iscsitargetportal command.

new-iscsitargetportal -TargetPortalAddress <targetIP>


Next, we can add the target iqn names for the target portal.  For that we run the connect-iscsitarget command.

Connect-IscsiTarget -nodeaddress -IsPersistent $true -IsMultipathEnabled $true -InitiatorPortalAddress <InitiatorIPAddress> -TargetPortalAddress <targetportalIP>


To verify you have added the targets, you can then run the get-iscsitarget command.



Windows Server 2016 Server Core is trickier to work with as everything for the most part is done via the commandline or PowerShell code.  When thinking about how to Add iSCSI target Windows Server 2016 Hyper-V Core it might strike fear in your mind, however, it is doable with the command shown above and really isn’t that difficult.

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.