-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Windows Server Automation with PowerShell Cookbook, Fifth Edition
By :

Windows and Windows Server provide a built-in iSCSI client component you use to access almost any iSCSI target, as previously mentioned.
In the Creating and iSCSI Target recipe, you created an iSCSI target. The target is a disk you can access remotely via an iSCSI client. To make use of the remotely shared disk via iSCSI, you attach it to the iSCSI server and start using the disk as if it were locally attached.
This recipe uses FS1, a domain-joined host in the Reskit.Org domain, on which you have installed PowerShell 7 and VS Code. This recipe also uses SS1 (the host holding the iSCSI target), and you should have DC1
online. You previously created an iSCSI target (on SS1
), and now you use the built-in iSCSI initiator to access the iSCSI disk. You run this recipe on FS1
.
Set-Service MSiSCSI -StartupType 'Automatic'
Start-Service MSiSCSI