def METHOD_NAME(index):
    disk = "disk_" + ''.join(
        random.sample(string.ascii_letters + string.digits, 4))
    online_cmd = "echo select disk %s > " + disk
    online_cmd += " && echo online disk noerr >> " + disk
    online_cmd += " && echo clean >> " + disk
    online_cmd += " && echo attributes disk clear readonly >> " + disk
    online_cmd += " && echo detail disk >> " + disk
    online_cmd += " && diskpart /s " + disk
    online_cmd += " && del /f " + disk
    return session.cmd(online_cmd % index, timeout=timeout)