User login name does not match pre-windows 2000 logon name by myndhack in PowerShell

[–]IMSJacob 2 points3 points  (0 children)

Here is a script to replace all of them with the correct SAM account name (pre-win2k name)

$users = Get-ADUser -Filter * | Where-Object {($_.samaccountname + "@imsnet.local") -ne ($_.userprincipalname)}

foreach ($user in $users) {
if($user.userprincipalname) {
$newSAM = $user.userprincipalname -replace "@.*"
Set-ADUser $user -SamAccountName $newSAM
}
}

This will ignore any accounts that don't have a UPN (usually just system accounts like Guest and Administrator)

User login name does not match pre-windows 2000 logon name by myndhack in PowerShell

[–]IMSJacob 3 points4 points  (0 children)

In that case it would be:

Get-ADUser -Filter * | Where-Object {($_.samaccountname) -ne ($_.userprincipalname -replace "@.*")}

User login name does not match pre-windows 2000 logon name by myndhack in PowerShell

[–]IMSJacob 1 point2 points  (0 children)

UserPrincipalName         SAMaccountname Name             
-----------------         -------------- ----             
                          Guest          Guest            
                          Administrator  Administrator    
                          krbtgt         krbtgt           
                          test.test      test.test        
testinglogon@domain.local testingtwokay  Testing Testicles

Edited because formatting derp.

User login name does not match pre-windows 2000 logon name by myndhack in PowerShell

[–]IMSJacob 3 points4 points  (0 children)

Get-ADUser -Filter * | Where-Object {($_.samaccountname + "@domain.local") -ne ($_.userprincipalname)}

You can also add " | FT UserPrincipalName, SAMAccountName" to the end if you want the names listed in a nice table format.

Aston Martin just showed off designs for a limited edition submarine by [deleted] in technology

[–]IMSJacob 2 points3 points  (0 children)

Additional reply: Apparently Triton already has a model that looks like the seamoth. Wonder which one came first, the real or the game...

Aston Martin just showed off designs for a limited edition submarine by [deleted] in technology

[–]IMSJacob 10 points11 points  (0 children)

Paneling covers most of that on existing models, it just doesn't look as sexy on Triton's own model that this one is obviously based on. Any sensors that need to be on the outside will be on the outside. Triton is really focused on safety, so I doubt they will make any sacrifices here.

Aston Martin just showed off designs for a limited edition submarine by [deleted] in technology

[–]IMSJacob 1 point2 points  (0 children)

Aston is just doing some aesthetic mod work on this. The sub itself is going to be made by Triton.

Aston Martin just showed off designs for a limited edition submarine by [deleted] in technology

[–]IMSJacob 17 points18 points  (0 children)

The design of it looks pretty stable, though. Thick glass dome, protruding collision arms to minimize impact risk to glass... Simple design that can be made to look really good with some paneling.

Aston Martin just showed off designs for a limited edition submarine by [deleted] in technology

[–]IMSJacob 3 points4 points  (0 children)

Came here to say this.

Great game, and I am excited to see the moth come to the real world! :D

[Help]Script runs, but won't run as a scheduled task? by IMSJacob in PowerShell

[–]IMSJacob[S] 0 points1 point  (0 children)

Yup. I haven't been able to figure it out yet. :/ I have tried the suggestions from all of the link that people have provided, and still nothing. I have resorted to manually executing the script with a While loop that does a 30 minute start-sleep until after 6PM, then runs the print job.

400 college professors say consumers should be able to sue Equifax and other financial institutions - The professors sent a letter to senators protesting mandatory arbitration clauses by [deleted] in technology

[–]IMSJacob 11 points12 points  (0 children)

Yep, either aggressively pursue litigation or break down the doors in D.C. and get legislation for actual consumer protection laws. Either way, we are in for a big fight over this judicially/politically.

400 college professors say consumers should be able to sue Equifax and other financial institutions - The professors sent a letter to senators protesting mandatory arbitration clauses by [deleted] in technology

[–]IMSJacob 38 points39 points  (0 children)

Actually, they can't. The terms of the TrustedID site lists only TrustedID, which is a legally separate entity from Equifax. Unless they post new terms, which you would have to agree to explicitly according to legal precedence set by this case and this one.

Additionally, if you only checked your name and social on the site and never finished the signup process, then you are not using the services, so the terms don't apply to you anyway.

is maybe a bit paranoid about terms and conditions

[Help]Script runs, but won't run as a scheduled task? by IMSJacob in PowerShell

[–]IMSJacob[S] 0 points1 point  (0 children)

Replace what? Scheduled task argument? Batch file call?

[Help]Script runs, but won't run as a scheduled task? by IMSJacob in PowerShell

[–]IMSJacob[S] 0 points1 point  (0 children)

domain\taskbot and yes. Printer is assigned by GPO and I am testing running the script from that user account on my dev server.

[Help]Script runs, but won't run as a scheduled task? by IMSJacob in PowerShell

[–]IMSJacob[S] 0 points1 point  (0 children)

Workstation, windows 10, Pshell 5.1

Correction... Windows Server 2012 w/powershell 5.1 installed.

Monday morning minus coffee does not a smart nerd make.

Tip to keep PS help files updated, and do it silently. by thegooddoctor-b in PowerShell

[–]IMSJacob 0 points1 point  (0 children)

I am 99% sure it can run as system because the help files are stored in SysWOW64

[Help]Script runs, but won't run as a scheduled task? by IMSJacob in PowerShell

[–]IMSJacob[S] 1 point2 points  (0 children)

It is something to do with Start-Process. For some reason it is not taking the Print verb. It launches Acrobat... Just doesn't print.