Jump to content

halbaradkenafin

Members
  • Posts

    1,219
  • Joined

  • Last visited

Everything posted by halbaradkenafin

  1. You need to change the line slightly as you don't have a $string variable in use. You'll need to change it to: $sAMAccountName = $_.Intake + $_.Forename.Substring(0,$_.Forename.length+3) + $_.Surname.Substring(0,$_.Surname.length+4)
  2. From looking over your script and mine and doing a bit more testing it's almost certainly because you're not creating the folder as part of the script. Both the scripts posted by @sted and @SteveM555 do create the folders and assign permissions and I'd guess don't have the problem. I'm in the process of updating my script to do this (I thought AD would do it automatically like it does with Profiles but apparently not), I'll post my script once I'm done with it (mostly writing help comments) to give you another perspective on it.
  3. That looks awesome. I'm actually really tempted to get that version on Steam now despite having no real reason to play it again for a while (got WoWS and Skyrim to play more of first). I finally watched the trailer last night and the voice over and general feel of it suggests that's not a true remake and more likely set between 7 and AC, talk of the calm and not being able to forget the Star was the main thing that makes me think that. I'd love a FF7-2 game as a true sequel.
  4. I finished Steamworld: Dig earlier today, quite a fun little game and for ~£7 it's good value for money with how long I played it for (just over 7 hours). Not sure if I want to play Monster Hunter 4 next or pick up Fire Emblem: Awakening.
  5. Then I'd check the permissions on the folder where the home drives should be created and ensure the security group (probably the intake one) has modify permissions.
  6. That's definitely possible and there are a few ways to do it. I'll assume using Powershell to do this as it's what I know best and is going to be more useful to learn (or at least use) in the long run than vbscript or batch (though they both work well and have their place). Assuming you are running roughly the same commands on each user then the easiest way to do it would be to write the script as if you were doing it for one user but have it accept a parameter for the username (or some other identifier of your choice). Once you've got that it's as simple as: Import-csv -path "c:\path\to\file.csv" | foreach-object { c:\path\to\script.ps1 -username $_.username} You can change the -username to whatever you call your parameter and the username part of the next bit to whatever your column is called in the csv. Edit: Obviously you can expand this quite a bit but that should get you started. If you've got any questions then feel free to PM me or post here. If you've got some more details on what you'd like to do with the script then let us know, I'm sure some of us have probably done either the same thing or something similar and can help you out.
  7. Does it set the HomeDirectory details in the AD account that's created? If it does then I'd guess it's a permissions problem on the parent folder. I'm also curious why you're not using New-ADUser to create accounts, it's a bit more readable and makes it easier to troubleshoot as you can specify -Verbose for extra logging when creating the accounts. Are all your pupil accounts part of Domain Guests? I've never put any users into that group and just use the default Domain Users and any extras we need (intake etc).
  8. I'm still torn about whether I want this to happen or not. I haven't watched the trailer yet so I'm expecting my hype level to jump a lot when I do. Still the scale is 7 > 9 >>> 8 > others. 7 and 9 are pretty close for me, whenever I think about them they both have lots of great features and 7 wins out just because of playing it first and spending way too many hours talking about it with friends.
  9. Two things we do is to replace the Ntuser.dat file with one from a working profile (need to enable visible system files) and use delprof to clear all the local profiles.
  10. There are two ways to find this out, one is to query the Event Logs of the actual device (not possible in this situation) and the other is to query the event logs of the DC (may not be possible depending on how long ago it was). I've got a script in the "Have you got a script for..." thread that can query DCs and could be modified slightly to let you find a specific device. Edit: something else that occurs to me is that it might be possible to track it down using your web filtering solution, depending on what you have. If your web filter logs username and source ip/computer then you should be able to bring up all the recent logs for the last IP that device had (hopefully still in DHCP or DNS) and find out the user that way.
  11. But what size smartphone? The range of sizes makes it a bit tough to make one without some sort of expandable slot for it.
  12. My only problem with the SOE ships like the Astero is that I don't like the colour scheme, something about the white/gray look doesn't appeal to me much.
  13. Another week of Mordheim and another player discovers that Skaven are a tough foe to beat at times. It was a simple game of Surprise Attack with about 6 skaven on the board to start with (all spread out) and 11 Orcs. I pulled back a little with the models that I could to avoid being charged early and had 2 slings on a first floor building, he advances and can't do much else. I get a few more models in turn 2 and pull back a little more and throw some stones to no effect. He closes in on some of my models with plans to charge next turn. I get a hero appearing behind his orcs and within charge range of a straggler (thanks Animosity), throw a few more skaven into fights with Orcs (2v1 where possible) and throw some more slings and take out his leader and another hero with 2 criticals in a row, he basically concedes there but we play out the rest of the turn and I kill his straggler and to prevent losing more in the other combat just concedes. There was some discussion after this among a few of us about how the game had went, the general consensus was that it was probably my victory before we'd even started my turn 1 as he'd clumped all his models up (sort of sensible as I can't charge them without lots of counter charges) and I was able to easily outmaneuver him due to higher movement and Animosity (only 2 models effected so not a huge impact especially with one of them being turn 1 where I couldn't take advantage of that) and I had some models above ground level where he couldn't reliably get to them (Initiative test to climb walls). I didn't gain much in game from the game but it reinforced how much more tactically I have to play than most of the other warbands if I want to stand a reasonable chance of winning, though 9 slings does help a lot as there isn't much shooting in the other warbands (witch hunters who I've beaten twice and a dwarfs who I haven't played yet).
  14. Might be worth contacting @ICTDirect_Dave as he's usually got some great deals on PCs.
  15. I encountered a similar issue previously, the solution was to not use the Connect plugin and just try to connect to the meeting (or a test meeting I think they have available), it defaults to some other "player" and I never had any problems with it. I'm not sure why it worked that way for teachers but I'd guess that it's related to the filtering system and how Connect interacts with it (or doesn't).
  16. Without watching the video or knowing any real detail I'd speculate they will go with something similar to Hearthfire DLC for Skyrim (always want to call it hearthstone), where it's more a "do it if you want but if not then no negative impact on gameplay".
  17. Powershell from an admin prompt with Stop-Vm? Probably throw in the -Force and -TurnOff parameters to try to make it really turn off. If not then @Steve21 probably has the right idea.
  18. Going to bookmark this for the next time someone complains about Wordle not working. Thanks
  19. You can do it pretty easily with Powershell and the NTFS Security module but an easier solution would be to just redirect the Desktop using GPOs to a central location and only have Read/Execute permissions on that folder. It would make managing the Desktop considerably easier and save you having to use a script such as this.
  20. Just because they don't tell you what you've used doesn't mean they aren't tracking it. I'd be highly surprised if it's not part of various metrics they need to report on, especially for the marketing side when planning upcoming sales campaigns.
  21. I've had it working at various points by updating to the latest java and putting in exceptions for the site. I think we also had an issue with Java not doing Kerberos Auth for Smoothwall so I had to set up a separate port for NTLM purely for Java and point it at that in the config for Proxy use. I haven't looked at it in a few weeks so it's probably broken again with the new version of java being out.
  22. Haven't checked mine in a while but I wouldn't be surprised if we're around 120GB+ per month, it's dropped recently as a flat mate moved out and he used to watch a lot of youtube and other video streaming.
  23. I've heard you can't actually do it with the new GTA V bundles they are selling on sale, something to do with the cards being auto redeemed and therefore not eligible for the refund. I haven't looked into it myself but that sounds like something they'd try to get away with if they could.
  24. Shared library, apparently it wouldn't let her play any games of mine but I didn't have a look into it as I was busy skulking through a draugr crypt or something.
  25. I'm not too bothered about saving another £5, ~£20 saving was good enough for me and I'm wanting to try out the DLC on my next play through anyway (probably 5 - 10 more hours game play left on current character).
×
×
  • Create New...