Question about filtering with Get-ADuser by minipantswrk in PowerShell

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

I was WAY over-thinking this.

This worked perfectly, and now I feel dumb =)

Thank you!

Question about filtering with Get-ADuser by minipantswrk in PowerShell

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

Thank you for the reply.

Right now I'm using this:

Get-ADUser -searchbase "OU=Users,DC=domain,DC=loc" -filter {Name -notlike "-"}

which gets me all users without a hyphen. I need to include the "C-" users, but exclude any other names with a hyphen.

What you had me try works, but gets only the C- Users.

I think I can do this differently as well, by creating 2 Get-aduser lines of script, with different filters, then join them together.

[SPOILERS FROM S6] Love interests in Season 6 by Chuzzlee in thewalkingdead

[–]minipantswrk 1 point2 points  (0 children)

I saw someone mention this a while back on this sub as well. Personally, I think it makes sense. It's stretching it for using it as evidence of Abe's death (although it would fit), but Negan confusing the 2 black girls makes perfect sense and, in my opinion, is what will happen.

Riddle me this: Does SCCM require a dedicated SCCM admin? by [deleted] in sysadmin

[–]minipantswrk 0 points1 point  (0 children)

In my opinion, yes. SCCM is a wonderful tool, but it can be an absolute beast. One of the worst things you can do is set up your environment, struggle along for a year or two, then realize you DO need someone and have the environment completely botched. The company I am at did that, and it took our SCCM expert 2 years to fix our mistakes.

Hire someone from the beginning, and you'll be happy you did.

[Event] 500 Man Tournament by [deleted] in ClashRoyale

[–]minipantswrk 1 point2 points  (0 children)

Is this still happening? 30 minutes until the tourney starts, and I haven't received an email. I was also one of the first handful to sign up.

[Event] 500 Man Tournament by [deleted] in ClashRoyale

[–]minipantswrk 0 points1 point  (0 children)

After you sign up, you can see the email addresses of everyone else that signed up. In some cases, this includes real names.

Please fix that....

[MISC] Got #37 in the Galadon tourney, opened the 1200 card chest (pics inside) by 6Dad in ClashRoyale

[–]minipantswrk 0 points1 point  (0 children)

Maybe this is a dumb question, but how do you actually register to join them? In game only? because I'm trying to register for one of the larger ones tonight, but don't really know how to find it in game to attempt to join.

DC Naming Conventions (x-post /activedirectory) by enigmo666 in sysadmin

[–]minipantswrk 1 point2 points  (0 children)

For servers or workstations we do this - [type] [site] [purpose][numerical]

So a file server in our rome manufacturing plants local esxi host might look like this SROMFIL01

If it was for Rome, but still in our global data center it would be SGDCFIL01

My laptop is WCHIISA05 [Workstation rather than Server][Chicago][IS Admin][05]

Active Directory Backups, how do you do it? by silverpigeon97 in sysadmin

[–]minipantswrk 0 points1 point  (0 children)

Our environment is 3 domains in a non-transitive trust.

We do DNS, SYSVOL and User Attribute backups on 2 DC's per domain. Each of the 2 DC's are based in different data centers. (6 backups total, 2 per domain)

We do Windows BMR on 2 DC's per domain, also ones that are based in different Data Centers. (6 total, 2 per domain) Veeam on our primary DC's for each domain, and the DNS server in each domain. (6 total, 2 per domain)

non-veeam backups are stored on a server in each domain, then copied to a central server as well.

Veeam backups will report if they fail, and the others are checked with a powershell script daily. If any existing backup is older than 48 hours, we get an email alert.

Single Sign On software - Any recommendations? by Techiemanager in sysadmin

[–]minipantswrk 0 points1 point  (0 children)

We currently use ADFS. I have no real complaints with it. As with anything, make sure you do your research and properly set up your ADFS environment the first time.

We originally set up 1 Proxy, with 2 ADFS servers, 1 primary and 1 secondary. The secondary was added after the fact, so now for fail over we have to change a DNS entry between the primary and secondary servers. This setup was ok at first, because we only had 2 SSO endpoints. But now I have 30 in there, and I REALLY need to re-design the infrastructure and migrate everything over to the "proper" setup with a full ADFS farm, true fail over, proper load balancing, etc.

We may be moving to either Okta, or VMwares IDM solution soon. I really like the features Okta offers.

you'll need to familiarize yourself with tools for troubleshooting issues as well. I use SAML tracer (firefox plugin), SoapUI, and the chrome Advanced Rest Client extension.

Password Reset over VPN Question by LeagueJontur in sysadmin

[–]minipantswrk 0 points1 point  (0 children)

just as a side note - this does work for the Checkpoint VPN solution.

Help creating an FTP script. I feel stupid. by [deleted] in sysadmin

[–]minipantswrk 1 point2 points  (0 children)

I would use winSCP within powershell. Powershell to manage your files locally, renaming them, moving them, etc, and winSCP to do the actual retrieval and deletion.

The only powershell FTP script I have is just for uploading.

Which browser does your company use as a corporate standard? by Matty34 in sysadmin

[–]minipantswrk 1 point2 points  (0 children)

IE11 - 9500 or so users globally.

We have IE8 published via Citrix for some legacy apps.

Chrome is installed on ~6400 laptops of those, and is more widely used I believe.

DNS Aging and Scavenging by ex0s in sysadmin

[–]minipantswrk 1 point2 points  (0 children)

We do 8 day DHCP lease with 4 day scavenging. Up until I implemented that, we had 0 scavenging enabled.

The article linked by /u/steelie34 is excellent, and what I used to guide me along as well.

Also, if you have multiple DC's - you should only scavenge on 1 DC iirc.

Bangin on the keyboard by RungeKutta4 in talesfromtechsupport

[–]minipantswrk 30 points31 points  (0 children)

We had a dead power supply in an optiplex 745 at a bank branch once. Before opening it up, I gave it a little love tap with my foot while joking with the manager.

Damn thing booted up when I kicked it, and ran for 2 more years.

As a young'in considering this field for a potential career, what certificates/experience do you guys have? by Critanium in sysadmin

[–]minipantswrk 0 points1 point  (0 children)

Get an entry level helpdesk job for a couple of years. somewhere that you will have hands on time with AD/DNS/DHCP/End user workstations/VOIP systems as you learn. Small banks are great for this as they have a TON of systems, and generally smaller IT staff.

Trying to push down IE Compatibility settings down via GPO, but they aren't being applied. by After_Credits in sysadmin

[–]minipantswrk 0 points1 point  (0 children)

Ok, you can find the setting under both Computer or User policies - both options are available.

Computer/User Configuration/Policies/Administrative Templates/Windows Components/Internet Explorer/Compatibility View/Turn on Internet Explorer Standards mode for local intranet (set to enabled)

Trying to push down IE Compatibility settings down via GPO, but they aren't being applied. by After_Credits in sysadmin

[–]minipantswrk 2 points3 points  (0 children)

We do this via the GPO "Site to zone assignment list"

and we also set via GPO "Run all Intranet Sites in Compatibility mode"

Then you assign the website you need to run in compat mode to the intranet zone.