These are some PowerShell snippets to configure a specific set of systems for Hyper-V over SMB testing.Posting it here mainly for my own reference, but maybe someone else out there is configuring a server with 48 disks split into 6 pools of 8 disks.These systems do not support SES (SCSI Enclosure Services) so I could not use slot numbers.This setup includes only two computers: a file server (ES-FS2) and a Hyper-V host (ES-HV1).Obviously a standalone setup. I'm using those mainly for some SMB Direct performance testing.

PowerShell script sqlioloop.ps1 on a shared X: drive (mapped SMB share) run from each VMNode identified by the last byte of its IPv4 address.Empty file go.go works as a flag to start running the workload on several VMs at once.Also saves SQLIO output to a text file on the shared X: driveUsing a separate batch files to run SQLIO itself so they can be easily tuned even when the script is running on all VMs