I just got a new requirement. Before we remap everyone's network drives during a file server migration they want a list of current drive mappings for the computer before the whole process happens.
I had wrote a basic batch file to drop this to a .txt file, but they didn't want an errant file laying around and didn't want to do a mass 'delete' from all these PC's.
I have no idea where to even start with this one and have never written to an event log before.
Something quick and dirty is absolutely fine. Just need something like this:
- User name of currently logged in account
- Current network drive mappings (whether persistent or non-persistent would be great, but not required kind of like a 'wmic netuse' kind of output.)
- Written to the application log?
Many thanks in advance for any help!!!
-j
I had wrote a basic batch file to drop this to a .txt file, but they didn't want an errant file laying around and didn't want to do a mass 'delete' from all these PC's.
I have no idea where to even start with this one and have never written to an event log before.
Something quick and dirty is absolutely fine. Just need something like this:
- User name of currently logged in account
- Current network drive mappings (whether persistent or non-persistent would be great, but not required kind of like a 'wmic netuse' kind of output.)
- Written to the application log?
Many thanks in advance for any help!!!
-j