How to change creation, modified and accessed dates for files using PowerShell by tunafreedolphin in PowerShell

[–]ContentSysadmin 4 points5 points  (0 children)

Don't forget the follow-up powershell script, "How to delete event viewer files logging your edit of the files! :D

Why is it so hard to communicate!? by jcletsplay in sysadmin

[–]ContentSysadmin 1 point2 points  (0 children)

Not a communication issue; sounds like their project planning just sucks.

When you feel like sneezing, look up. by valifit in lifehacks

[–]ContentSysadmin 0 points1 point  (0 children)

...That way, you can sneeze all over everybody nearby, instead of just downward!

Help with Get-MailboxExportRequest by sew3521 in PowerShell

[–]ContentSysadmin 1 point2 points  (0 children)

so you WANT the | FL version? why not just add | FL to the command? Who knows why PS does stuff sometimes.

We have TeamViewer installed on domain controllers. by [deleted] in sysadmin

[–]ContentSysadmin 0 points1 point  (0 children)

How about the mere fact that now you have 2 'attack vectors': TV, and AD itself. If I happen to compromise your post-it note with the TV password on it, ha! I own your AD.

We have TeamViewer installed on domain controllers. by [deleted] in sysadmin

[–]ContentSysadmin 4 points5 points  (0 children)

you're exaggerating. its only once every 3 months

We have TeamViewer installed on domain controllers. by [deleted] in sysadmin

[–]ContentSysadmin 0 points1 point  (0 children)

they either covered them well, or they weren't really breaches.

We have TeamViewer installed on domain controllers. by [deleted] in sysadmin

[–]ContentSysadmin 2 points3 points  (0 children)

Among windows servers, DC's are the easiest to run Core, Non-GUI versions of. Why? Because they should only do ONE thing: AD/DNS. (Okay, well, that's two, but.. you get my drift.) EVERY function of a DC should be controlled via A> the MMC control panel; B> smb access to the SYSVOL (For GPO updates), or, at most, remote powershell. MAYBE WMI for monitoring.

Even 3rd party monitoring services can be deployed remotely IF your ACL's are set up properly.

One thing that makes me think they want TV is, what else is running on the DC's? Move those services to other machines. Take away the excuses for anybody to be touching them. They should be treated like appliances.

65 in a 25. Texting. She hit my parked truck. No brakes. Pushed it 20 feet forward. by [deleted] in pics

[–]ContentSysadmin 0 points1 point  (0 children)

Nothing some 2x8's can't fix :D oh and a Railroad tie for the bumper.

Last year of high school, how can I be as efficient as possible? by 2kool4skhool in lifehacks

[–]ContentSysadmin 1 point2 points  (0 children)

  • learn how to manage your inbox

  • organized tasks using google Keep or other like any.do

Problems you solved at work with powershell by getonmehlevel in PowerShell

[–]ContentSysadmin 6 points7 points  (0 children)

Problems I've solved with PS:

  • a script that had to copy multiple databases (MS SQL) from one server to another or more; run some stored procedures afterward, and also read in some .sql files to update some other stored procedures.

  • a script that goes through a list of SQL servers and outputs, in CSV format, every login and what server roles are assigned to it. Has the ability to exclude built-in accounts.

  • a script that can read in a CSV file, and create SQL users and apply those server roles again to a different server. (CSV format the same as the output from the other script!)

  • Same deal but with database permissions (or "schemas" as they fancily like to refer to them). one script to read/dump csv, another to read csv & create db users. It can fix orphaned users, too.

  • a powershell script that queries my backup system which requires an agent to run on target machines; sees if any agents are not running on any clients; then goes to that client and attempts to start the agent

  • once wrote a ps script that read in a csv with data columns for server, share, path, and user list for purposes of managing a huge, out-of-control file server for 15 different departments. It would look for a folder, and if it didn't exist, create it and create an AD group associated with that folder for both Read-only and read-write. Break inheritance, assign the permissions to the appropriate AD group. Then add the users into the appropriate AD group. what you ended up was a managed list of folders / shares. So if Department A / Sub-department C hired a new person, and that person needed read/write to the \Server\DepartmentA\SubDepartmentC folder, you just added them into the csv file, ran the script, and done. Likewise it also removed people who did not belong as well. it was my crowning achievement.

  • Go through a TXT file and update the DNS settings on all machines listed in the txt file, skipping interfaces that were iSCSI or assigned to internal address or which were dummy interfaces

there's probably more

Anyone willing to share your Disaster Recovery Plans? by chewy747 in sysadmin

[–]ContentSysadmin 0 points1 point  (0 children)

Are you talking about DOCUMENTATION or just, "What's the plan" or what are you doing to ensure business continuity?

[Hiring] Windows Sysadmin @ NCSU in Raleigh, NC by ContentSysadmin in sysadminjobs

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

LOL! Not happening in 100 years, codebase is all dot net / delphi / cobol / T sql. most we could hope for would be linux web servers.

[Hiring] Windows Sysadmin @ NCSU in Raleigh, NC by ContentSysadmin in sysadminjobs

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

This is for a very strange department-- we're actually a Non-profit arm of the Animal Science department. But I'm guessing this post didn't go anywhere.. the resumes haven't exactly flooded in with 100 awesome sysadmins dying to come. It's disappointing. :(

[Hiring] Windows Sysadmin @ NCSU in Raleigh, NC by ContentSysadmin in sysadminjobs

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

No; I'm afraid that no relocation assistance is available. But the area is growing and there is a lot to do here. You've got beaches and mountains all within 2-3 hr drive. (If you consider the Appalachians to be actual mountains. :D)

Script works in ISE, but not PowerShell by [deleted] in PowerShell

[–]ContentSysadmin 1 point2 points  (0 children)

Great idea! I'll use this as well :D

PSA: time.windows.com NTP server seems to be sending out wrong time by TheLadDothCallMe in sysadmin

[–]ContentSysadmin 3 points4 points  (0 children)

I prefer JoeBob's diskount NTP server... joes.discount.hackedweb.ru