Never mind, found another attribute to pull and it works as desired.
replaced:
@{Expression={$_.surName,",",$_.givenName};Label="Name"},
with:
@{Expression={$_.Name};Label="Name"},
-Jeepix
I've pulled this together from some information online and added my own stuff to match my environment, but I'm getting a result that isn't quite what we need. Hoping someone can help!
The output is close, but I can't have a space after the last name:
What I'm getting:
Smith , Jim
Smith , Jane...
Does VUM 5.5 support updating Microsoft VM's with Microsoft Updates? I can't seem to find a way to tell it to download updates, let alone create a baseline for them. All I see is things like making sure the Virtual Hardware and VMware Tools are up to date.
You can't use VUM to apply MS...
Did you try booting from the XP CD and going to command line mode (Recovery Mode)?:
Use FIXBOOT and FIXMBR (use /? to see the switches).
I've recovered hard drives that bombed the boot sector and gave me that error using the above.
-Jeepix
It should recognize it. Worst case you can only format up to 1TB and have to do two 1TB partitions (depending on how old the controller is), but if you're not seeing it you might want to stick another (smaller) drive on the controller to see if it is seen. If not, you have a bad controller and...
Doing some testing on another script for renaming .lnk's related to the above script and is in another thread on this forum, I discovered a case-sensitivity issue that appears to affect this script as well.
If I have any mappings that are done in either partial or all caps (not all lower-case)...
In doing some pre-run testing of this script we're noticing that there appears to be a case-sensitivity issue when renaming the shortcuts. If the filename of the .lnk has any or all capital letters in the name of the servr (i.e. share on 'Server01') the renaming is ignored becuase the script...
Yeah, I know guitarzan. As my original post stated, I was going to send it to a file...but they wanted it written to the event log. What the customer wants the customer gets. What can I do? I need a paycheck like everyone else...
Thanks for all your help!
-j
-Jeepix
'This script works well in a login script. When ran from a workstation
'it will loop thru all of the printers installed for the current logged on
'user and if they are connected to the old server they will be removed
'and then remaped to the new server. It will also attempt to descover...
Well, it'd be a pretty significant event if, for some reason, the person lost all their drive mappings and we had no idea what they were. This gives us a way to at least manually recover their mappings with the same drive letter and everything. Plus, I'm just the contractor, they're the...
That's weird. Doesn't make sense. Have you tried putting the first in line twice to see if it is really the first line being ignored or something wrong with the first line? If it ignores the first two identical lines, then there's somethign weird going on.
This was the end result of what I needed done, in case anyone else needs this:
Set objNetwork = WScript.CreateObject("WScript.Network")
Set objShell = CreateObject("WScript.Shell")
Set colDrives = objNetwork.EnumNetworkDrives
Dim Logs
For i = 0 to colDrives.Count-1 Step 2
Logs = Logs & vbCrLf...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.