I've written a powershell script that I've turned into a scheduled task. So far, so good. The issue I have is that every time Powershell is started, it causes my floppy drive to seek; this means every five minutes (on the task schedule), I get a little "grind" from the floppy drive.
How do I disable this behavior?
C:\fa>powershell -noprofile Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights reserved. PS C:\fa> exit C:\fa>
When I do this test, I get a seek when I start and when I exit. I assume the error would go away if I had a floppy disk to put in the drive.
As a poor work-around, I disabled the floppy drive in BIOS. I've removed the red herring about the drive not being available; this was because of another issue.
The suggested way to find what, in my profile, points to A:, turned up nothing.
PS C:\fa2> dir Env:\ | ?{$_.Value -like "A:\*"}
PS C:\fa2>
this was, of course, after I re-enabled the floppy drive in BIOS.