Jump to content

halbaradkenafin

Members
  • Posts

    1,219
  • Joined

  • Last visited

Everything posted by halbaradkenafin

  1. Should be possible to script it with Powershell using Restart-NetAdapter, if they all have the same name and you can put together a text/csv file of the server names you can do something like: $Servers = Import-CSV -path 'C:\Path\to\File.csv' foreach ($Server in $Servers) { Invoke-Command -ComputerName $Server -Scriptblock {Restart-NetAdapter -Name "DMZ NIC"} } Save it to a ps1 file and then create a Scheduled task from a central device that is available at the intended time (a DC or something probably), the Action for the scheduled task is Powershell.exe and in the Additional Arguments box put the path to the ps1 file.
  2. I'd change that to RemoteSigned for security purposes. You'll still be able to run any scripts you make on site but it covers up a potential area for malware and such to get in.
  3. We've been listening to Absolute 80s in the office over the past month or two and it's been okay, they claim to never play the same song twice in a day but you do hear a few of the same songs every day but it's much less annoying than mainstream radio.
  4. Get yourself SwiftKey and whatever social media apps you use. After that it's a case of "I'd like my phone to do X" -> open Play Store and search keywords and then browse through a ton of apps that do it and pick one you like the look of, if it doesn't do something you want then change it.
  5. For future reference you can achieve the same effect with Group Policy Preferences and Item Level Targeting. We've got it set up for a few users to allow us to dictate which ones are the default printer so they override the normal choice and instead use the one sitting next to them. You can target based on user, group or device.
  6. Yes, that's possible and the process is exactly as you've described. I've done it in the past over holidays to set set passwords to never expire and then removed that box a few weeks into term (usually over the longer holidays like christmas and summer).
  7. We were using MDT and it works pretty well, it's built on top of WDS but you can just give it an iso and it will create a basic image for you which can then be customised with drivers specific to hardware at build rather than bloating the base image. You can also import applications and have them install during build, a bit more work than having an image with all your software installed but makes updating images a lot easier. I've looked at FOG in the past but never got a chance to try it out properly.
  8. Get yourself SwitftKey, it's an awesome keyboard with a pretty good dictionary (and the space detection you're missing). I'm not sure if they still do a free version but the full one is only a few quid and well worth it.
  9. https://support.servertastic.com/neterr_cert_validity_too_long-the-server-certificate-has-a-validity-period-that-is-too-long/ Chrome is no longer supporting SSL Certs with more than 39 months on them, apparently this can also effect certs that have a total length of more then 39 months regardless of if the cert expires within the next 39 months or not. I'd expect to see this behavior from the other browsers at some point in the future.
  10. You can set the screensaver to be the lock windows process/application/thing through GPO and I'd imagine it's possible to make it logoff instead. I haven't tried myself (our data security isn't that strict and staff would get very angry about it) but a few minutes in Google should reveal something for "gpo screensaver logoff" or similar.
  11. If you've got the list of usernames and emails in a csv (or the email address is in a standard format like With csv: Import-Csv -Path "C:\Path\To\File.csv" | Foreach { Set-ADUser -Identity $_.Username -EmailAddress $_.EmailAddress -whatif} Without csv but Get-ADUser -Filter * -Properties EmailAddress | Foreach { Set-ADuser -Identity $_.SAMAccountName -EmailAddress ($_.SAMAccountName + @DomAin.tld") -whatif } Just modify the @DomAin.tld to whatever it should be and give it a try, You'll get a huge list of "What If: Performing the operator "set" on target "CN=Someone,OU=Somewhere,DC=Domain,DC=Local" and if you're happy with the results then just re-run the command without the -whatif on the end.
  12. I don't think I've ever wanted to shoot a computer (throw it out a window maybe) but I'd consider shooting a printer or two.
  13. You'll need to iterate over the CDAMaps with a for loop and assign the new value to each one using something like this: for ($i = 0; $i -lt $CDAMaps.Length; $i++) { $CDAMaps[$i].ClientIP = $CDAMaps[$i].ClientIP.TrimStart("cda-request={entity-attr:entity-id:ip=") } Adding in a second line there for the Username with the same idea and it should remove that extra information too. To compare that to a list of users from the AD Group you can use Compare-Object and it will tell you which are in one list but not in the other. You might need to do some fancy work with what objects you're passing to it, probably something like: Compare-Object -ReferenceObject $CDAMaps.Username -DifferenceObject $adusers That's just a guess at what you'd have to call as I haven't tested it myself with any similar data but should be close enough to get you started on it. The output will be a list of names and then either <= or => in the second column, <= means it's in the reference object ($CDAMaps) but not in the AD Group and => means it's in the difference object ($adusers) but not in the $CDAMaps. The output can easily be parsed with a foreach and if statements to check for the <=/=> as they are just strings so -eq will work on them.
  14. You can set that in group policy I believe. If you are automating this for one specific user then you can just apply the policy to a group containing that user and it won't effect anyone else.
  15. We migrated away from CC4 over the holidays and the approach we took was to just reimage all the PCs and put them on to a new domain. The impact that CC4 has on the server and clients is such that even following proper uninstall process is likely to leave some things behind and you'll likely spend twice as long trying to patch things up as you would have just starting fresh with new DCs and migrating all the users across.
  16. Monorail?
  17. I'm actually curious who it was that did this, can you drop me a PM with the name? I'm based in the north east myself and want to keep an eye out in case we encounter them and have to deal with a similar situation.
  18. Yes, it's in System32 and is usually a hidden folder.
  19. I'd consider deleting/renaming the GroupPolicy folder that's stored locally on a test machine or two, force a gpupdate and then see what happens. If that still doesn't work then a full rebuild is probably going to be quicker than troubleshooting the problem unless you've got a lot of machines to work through. Also seems like a bit of a dick move to delete the dc when you stop supporting a school, you'd assume they'd at least let you migrate accounts and stuff out of it.
  20. Check the link above your post and it explains how it works and I think mentions backups. How it effects your backups will likely depend on what you use for them, DPM supports it natively and I believe even enforces it automatically to save space while doing backups.
  21. In this context I assume it has something to do with Job Evaluation or Workforce Reform or whatever other name they are giving it now. Normally it means Java Runtime Environment.
  22. I remember seeing signs for this but I'd forgotten when it was and assumed it was already over. I don't have any plans for that weekend so I'll probably go along for a few hours and have a wander around, I've been meaning to find some sort of project to do in my spare time.
  23. I backed the kickstarter recently for the pebble time so I'm looking forward to getting that in a few weeks, will keep any eye on this thread for apps to look into.
  24. I'd probably look at finding the process name that it uses while running and checking for that as the logoff condition, that way you don't worry too much about it logging off early. I'm not sure how to do that with vbs, powershell should do it easily with Get-Process and can probably handle the rest easily enough (though may have to call the vbscript to run the app as a shell as I've never tried that in powershell).
  25. Privateer Press make some token sets for Warmachine that could be easily adapted for this, they come in a variety of colours and you can write on them with dry wipe markers.
×
×
  • Create New...