Might try the connect-iscsi/disconnect-iscsi cmdlets in Windows 2012. Connect-IscsiTarget: https://technet.microsoft.com/en-us/library/hh826098(v=wps.630).aspx
Disconnect-IscsiTarget: https://technet.microsoft.com/en-us/library/hh826108(v=wps.630).aspx If you're dealing with OS' older than Windows 2012, there's a legacy tool (iSCSICLI.exe) that you can investigate as well. Either use the pre/post script capability of your backup solution or schedule a task. - Sean On Fri, Aug 11, 2017 at 9:59 AM, J- P <[email protected]> wrote: > Is it possible to schedule iSCSI connections (connect at 11pm, disconnect > 6 am) > > > We currently backup our hyper-v guests to our NAS which is presented to > the host via iSCSI, > > > The goal is to achieve the equivalent of ejecting a tape after backup is > complete, in case of a ransomware infection. > > > We do also have it offsite, however, I'd much rather restore 6tb locally > than over the wire. > > > Any thoughts feedback are greatly appreciated > > > > >

