Posts

syntax question when importing data from CSV file

hello all, i'm wondering when need use double quotes when referencing column in csv file. example, following code pulls data csv file has 1 column called "samaccountname": import-csv c:\results.csv | foreach-object { $name1 = ($_.samaccountname) $name2 = ($_."samaccountname") $name1 $name2 } both $name1 , $name2 work fine. know is, when reference csv column double quotes in code? when csv column name not correspond ad attribute, i.e. if above column name called "samaccountname users"? hi, you need quote property name when property has space in it. take input: attributeone,attribute two a1 data one,a2 data one a1 data two,a2 data two save input.csv , run this: import-csv .\input.csv | foreach { $name1 = $_.attributeone $name2 = $_.'attribute two' $name1 $name2 } edit: aside, use single quotes in situation. use double quotes in powershell when explicitly want variable expand, oth...

blue screen in install xp whit wds

hi. i deploy xpsp3 , image pe . when client install wds , after install , when windows loading , they see blue screen .  why happening ? hi,   from problem description, understand install windows xp wds. however, received blue screen. please let me know detailed information included in blue screen? think it’s checkpoint here.   i suggest run following command in command prompt elevated rights verify configurations of wds:   wdsutil /get-server /show:config   then paste output file further analysis , investigation.   towards blue screen scenario in cases, need make sure extendoempartition=0 in sysprep.inf before capturing windows xp image.   if extendoempartion=1 issue cause windows welcom change ntfs metadata. there links reference:   title : best practices using sysprep ntfs volumes url : http://support.microsoft.com/kb/240126   title : cannot ...

migrating redirected documents to new file server

hello, we in process of migrating our existing server 2003 file server server 2008 storage server.  of users 1 of our ous have documents/documents folders redirected file server. to move these file shares can copy them on , change group policy point new server?  or change group policy first? thanks in advance. hi sencha, i'm in process of doing well. there's nifty option in gp option called "move contents of <redirected folder> new location" (see shot here - http://cl.ly/1i1v4727390z3c0d3m1x). option selected, after change location of redirected folders, next time user logs in files moved automatically new server.  keep in mind initial login take quite time xp users cannot log in until files moved. may best move users new settings gradually, , not @ once.  thanks, -mrcur Windows Server  >  ...

specified network name is no longer available

hello experts, i deployed 2 pcs windows 7 via mdt 2012. found not connect samba network drive. i'm pretty sure samba fine, rest of our pcs don't have problem. disabled firewall , without anti-virus software. changed lan management , set samba port 139 , 445 in smb.conf.  any of have ideas situation? thank in advance! brs yumin hi, have try following steps: 1. please enter “gpedit.msc” in start search box. 2. navigate computer configuration\windows settings\security settings\local policies\security settings. 3. in right panel, please change following policy: network security: lan manager authentication level change value “send lm & ntlm - use ntlmv2 session security if negotiated”. 4. please search advanced sharing settings in control panel, click manage advanced sharing settings , expand home or work. in file sharing connections section, please choose enable file sharing devices use 40- or 56-bit encryption. meanwhile why not using nfs ...

Screensaver not applying with 60+ minute timeout

i having strange issue screensaver gpo. gpo configured apply screensaver after 60 minutes , loop policy override default 15 minute screen saver lock out. problem screen saver doesn't come on when timeout on 60 minutes. if change less works expected, current setting 55 minutes , working. have unplugged both keyboard , mouse make sure nothing can reset countdown. pc windows 7 pro part of 2012 r2 domain. have checked registry keys, tried on different computers same result.  hi, >> the problem screen saver doesn't come on when timeout on 60 minutes. if change less works expected, current setting 55 minutes , working. for group policy screensaver settings configured under user configuration, here, want confirm if phenomenon happens user accounts apply group policy screensaver settings. besides, can try clean boot computer check if phenomenon occurs. regarding how perform clean boot in windows, following article can referred more information. how perfor...

Task Scheduler suddenly no longer runs .bat

i set task scheduler on server 2008 r2 run executable index program under user account indexuser. i gave indexuser permissions run batch job and logon service. running fine 4 months , stopped working. running task manually executes process, process stalls, , closes after 10 seconds. running .bat works fine, runs admin account, , need run regardless of logged in. please let me know if else has issue recently, can't see changes made in group policy, hasn't been touched knowledge.  the task scheduler stopped working 2 weeks ago on 3/26.  all. i'd check in windows system , application event logs. check task log. event viewer\applications\microsoft\windows\taskscheduler\operational       regards, dave patrick .... microsoft certified professional microsoft mvp [windows] disclaimer: posting provided "as is" no warranties or guarantees , , confers no rights. ...

Running out of IP addresses, best practice to increase available addresses

first off, inherited network. address scheme 10.108.18.0 /24. although think of addressing in cidr terms, looks class address class c subnet mask. we running out of available addresses our dhcp server. in process of upgrading infrastructure ms 2012 servers , address ip issue during upgrade. considering using /22 (252) cidr instead of /24 give me 1023 available addresses instead of 255 have now. existing network, wireless network on different subnet 10.108.19.0 /24.  what best way addressing? avoid have 2 wired networks on different subnets. recommended /22 address scheme include .18 , not overflow .19 network? range of addresses , best way implement this. reconfigure dhcp scope. static addresses , update routers? thank you. steve why not /16 , simplify yourself? yes, youd need adjust subnet mask on nodes , adjust scope , mask option in dhcp. you implement vlans, said dont want 2 subnets reason. mike crowley | mvp my blog -- baseline technologies ...