ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. NerdyDad
    3. Best
    • Profile
    • Following 16
    • Followers 3
    • Topics 127
    • Posts 3,525
    • Best 1,214
    • Controversial 2
    • Groups 0

    Best posts made by NerdyDad

    • NerdyDad's PowerShell Scripts

      In an attempt at not jacking @Grey's thread here, I thought it would be best for me to post some of my PowerShell scripts in a place that everybody can get them.

      • Creating a New User w/o O365
      • Creating a New User w/ O365
      • Disabling a User w/o O365
      • Disabling a User w/ O365
      • AD Health
      • Inactive Users Report
      • Passwords Last Changed

      If anybody has any needs for other kinds of PS scripts, please feel free to comment below and I will see what I can do. I will also be adding more scripts in the future and linking them here as well.

      posted in Self Promotion powershell scripts nerdydad ps scripts
      NerdyDadN
      NerdyDad
    • I am going to start an ISP

      Yes, that is correct. I am going to start an ISP.

      In my town, we have a highway running through it. Half of the town has good Internet, and the other half is just terrible. The current BIG ISPs have had enough time to come in and either upgrade what is already there or to replace. It looks like they are not interested in providing rural people with decent Internet because of population density per sub. Its not economically advantageous for them to expand out that way.

      Therefore, I am going to start a WISP. I have already been talking to other WISPs out there and have been getting tips. I am also going to take @scottalanmiller's advice on inappropriate coupling of services. Therefore, I will not be offering email, VoIP, AV, or storage for my customers. Just Internet and a side retail of products that the customer could buy from me in order to establish their own private network. I am also planning on expanding into consulting for the community after the ISP is already established and running.

      Internally, I am going to go all Vultr for the servers necessary with Debian 9.1 and Fedora as appropriate and FreePBX.

      I believe @JaredBusch said one time that WISPs are worth while if they are done right. I was hoping he can expand on that a little bit if possible.

      posted in IT Business isp wisp
      NerdyDadN
      NerdyDad
    • SSH summed up in a comic strip

      Thought this was both funny and helpful, thus had to share.

      IMG_20190123_213922_634.jpg

      https://twitter.com/b0rk/status/1087936439470444544?s=09

      posted in IT Discussion ssh
      NerdyDadN
      NerdyDad
    • New Blog (NerdyDad.me) / New Post

      Thanks to the help and contributions of @aaronstuder, my blog is up and running with its first blog post. I do plan on adding more of my scripts to the blog as time continues, along with other subjects as well.

      Here is the link to the first post:
      https://www.nerdydad.me/it/creating-a-new-user/

      posted in Self Promotion
      NerdyDadN
      NerdyDad
    • RE: What Are You Doing Right Now

      @DustinB3403 said in What Are You Doing Right Now:

      @DustinB3403 said in What Are You Doing Right Now:

      Also a client sent us a file via FTP that is over 4GB in size.....

      My god....

      Using 70% of my CPU to try and decompress this file.....

      And that's the last we saw of Dustin. Just got CryptoLocker'd.

      posted in Water Closet
      NerdyDadN
      NerdyDad
    • Career Goals - Futures in Linux Careers

      I really don't have any career goals in life. I'm a SysAdmin which I am pretty happy with. Like the job and the company. No complaints there (in case the boss is looking <sssshhh>). I have always known that I wanted to work in computers coming out of high school. Went into college and I was able to cross out a few choices, such as software development and web design. I had considered networking because I wanted something that challenged both my brain and my body. Well, my brain gets challenged, but not so much my body anymore.

      As of right now, I have been exposed to a variety of technologies (Hyper-V, VMware ESXi/vSphere, PowerShell, PowerCLI, Veeam B&R/ONE, basic networking technologies [routers, switches], and a little bit of everything in between). However, I am a little bit of a control freak. While I know that nobody can exactly predict the future, I do believe that we can tell where we are going from where we have been. While I like my job, I want to be challenged more and exposed to even more technologies, such as networking routing and switching, and VoIP. I especially want to focus my efforts to Linux servers, pushing more towards Fedora server (no real reason of my own). I see that there is KVM and LXD and Kubernetes and OpenNAP. Still not totally interested in DevOps, but don't mind automation (such as CHEF or Terraform) in order to increase efficiencies.

      So, after that BIG long spiel, where does the major contenders on ML see Linux being in 5 years? That is where I would like to be.

      posted in IT Careers
      NerdyDadN
      NerdyDad
    • RE: What Are You Doing Right Now

      @NerdyDad said in What Are You Doing Right Now:

      Just got home from Children's Hospital in Dallas.

      My son tested positive for the flu and was beginning to setup pneumonia when we brought him in. They're keeping him overnight to treat him for the pneumonia.

      Kid is still in the hospital. Everybody is exhausted. He's getting better though. This is the best I've gotten in almost 2 weeks.

      signal-attachment-2019-03-19-140629.jpeg

      posted in Water Closet
      NerdyDadN
      NerdyDad
    • RE: Creating users

      Try this out. It pops up with a command prompt to ask you a few questions to get started. Once the questions are answered, it takes care of most everything else. When it is done, it should spit out a piece of paper for you to give to the new employee with the information that they need.

      I sterilized it so that you could use it in your company.

      #Imports the AD & NTFS Modules (Module 1.02)
      Import-Module activedirectory
      Import-Module MSOnline
      
      #Sets Variables (Module 1.03)
      $fn #First Name
      $ln #Last Name
      $title
      $dep #Department
      $loc #Location
      $man #Manager
      $un #Username
      $officePhone
      $streetAdd
      $city
      $ZIP
      $fi #First Name Initial, will be used to figure out Username
      
      #Getting information (Module 1.04)
      Write-Host "I need some information from you first. Answer the following questions to get started."
      $fn = read-host "First Name?"
      $ln = Read-Host "Last Name?"
      $title = Read-Host "Title?"
      $dep = Read-Host "Department?"
      $man = Read-Host "Manager (Username)?"
      $loc = Read-Host "<location>?"
      
      #Finding out the Username (Module 1.05)
      $fi = $fn.Substring(0,1)
      $un = -join ($ln, $fi)
      
      #Sets Location information (Module 1.06)
      if ($loc -eq "Loc1") { #If the user is in Loc1 (Module 1.07)
          $officePhone = "(999) 999-9999";
          $streetAdd = "123 Anywhere Drive";
          $city = "YourTown";
          $ZIP = "12345";
      }
      Else { #If the user is in Loc2 (Module 1.08)
          $officePhone = "(987) 654-3210";
          $streetAdd = "987 Nothere Blvd";
          $city = "Somewhere Else";
          $ZIP = "98765";
      }
      
      #Sets Password (Module 1.09)
      $passwd = (Read-Host -AsSecureString "Account Password")
      $password = ConvertFrom-SecureString -SecureString $passwd
      
      $userParams = @{ #(Module 1.10)
      	'Name' = $un;
      	'Enabled' = $true;
      	'AccountPassword' = $passwd; 
      	'UserPrincipalName' = -join ($un, "@mycompany.com");
      	'SamAccountName' = $un;
      	'ChangePasswordAtLogon' = $false;
      	'GivenName' = $fn;
      	'Surname' = $ln;
      	'DisplayName' = -join ($fn, " ", $ln);
      	'Description' = $title;
      	'OfficePhone' = $officePhone;
      	'StreetAddress' =  $streetAdd;
      	'City' = $city;
      	'State' = "Texas";
      	'PostalCode' = $ZIP;
      	'Title' = $title;
      	'Department' = $dep;
      	'Company' = 'MyCompany';
      	'Manager' = $man;
      }
      
      #Creates the user in AD (Module 1.11)
      New-ADUser @userParams
      
      #Wait for the account to be created before doing anything else (Module 1.12)
      Start-Sleep -Seconds 10
      
      #Makes the user's network drive, scan folder, and sets the permissions to their folders and files (Module 1.13)
      if ($loc -eq "Loc1") { #If the user is in Loc1 (Module 1.14)
      New-Item -Name $un -ItemType directory -Path "\\server\folder\" #Creates users network drive
      New-Item -Name scans -ItemType directory -Path "\\server\folder\$un\" #Creates users scan folder
      }
      Else { #If the user is in Loc2 (Module 1.15)
      New-Item -Name $un -ItemType directory -Path "\\server\folder\" #Creates users network drive
      New-Item -Name scans -ItemType directory -Path "\\server\folder\$un" #Creates users scan folder
      }
      
      #Adds the user to the correct Security Group for permissions and other network drives
      if ($dep -eq "Accounting"){ #(Module 1.16)
      Add-ADGroupMember -Identity 'Accounting' -Members $un #(Module 1.17)
      } #Adds the user to the Accounting Group
      Elseif ($dep -eq "Customer Service") { #(Module 1.18)
      Add-ADGroupMember -Identity 'Customer Service' -Members $un #(Module 1.19)
      } #Adds the user to the Customer Service Group
      Elseif ($dep -eq "Executives") { #(Module 1.20)
      Add-ADGroupMember -Identity 'Executives' -Members $un #(Module 1.21)
      } #Adds the user to the Executives Group
      Elseif ($dep -eq "HR") { #(Module 1.22)
      Add-ADGroupMember -Identity 'Human Resources' -Members $un #(Module 1.23)
      } #Adds the user to the Human Resources Group
      Elseif ($dep -eq "Human Resources") { #(Module 1.24)
      Add-ADGroupMember -Identity 'Human Resources' -Members $un #(Module 1.25)
      } #Adds the user to the Human Resources Group
      Elseif ($dep -eq "IT") { #(Module 1.26)
      Add-ADGroupMember -Identity 'Domain Admins' -Members $un #(Module 1.27)
      } #Adds the user to the Domain Admins Group for IT
      Elseif ($dep -eq "Maintenance") { #(Module 1.28)
      Add-ADGroupMember -Identity 'MaintGroup' -Members $un #(Module 1.29)
      } #Adds the user to the Maintenance Group
      Elseif ($dep -eq "Production") { #(Module 1.30)
      Add-ADGroupMember -Identity 'Production' -Members $un #(Module 1.31)
      } #Adds the user to the Production GroupHR
      Elseif ($dep -eq "QA") {  #(Module 1.32)
      Add-ADGroupMember -Identity 'QA Group' -Members $un #(Module 1.33)
      } #Adds the user to the QA Group
      Elseif ($dep -eq "Quality Assurance") {  #(Module 1.34)
      Add-ADGroupMember -Identity 'QA Group' -Members $un #(Module 1.35)
      } #Adds the user to the QA Group
      Elseif ($dep -eq "Shipping") {  #(Module 1.36)
      Add-ADGroupMember -Identity 'SHIP' -Members $un #(Module 1.37)
      } #Adds the user to the Shipping Group
      Else { #(Module 1.38)
      Add-ADGroupMember -Identity 'Domain Users' -Members $un #(Module 1.39)
      } #Dumps the user to the Domain Users Group
      
      $manfn = Get-ADUser $man -Properties Name | select Name #Gets the manager's name (Module 1.40)
      
      #Creates a report of the User's information
      $report = "Hello $fn $ln,
      
      From the IT Department, welcome to <MyCompany>.   We 
      are here to help you connect to the resources that you need for 
      your job.   If you need assistance with technology, please feel 
      free to contact us at either the help page, which is set as your 
      home page in Internet Explorer, email us at 
      helpdesk@<MyCompany>.com, or call us at extension 4357.
      
      Below you will find your information so that you can login to 
      the network and get started:
      
      Your username is domain\$un
      Your password is 
      Your email address is $fn$ln@<MyCompany>.com
      Your phone number is $officePhone Ext. 
      
      It is suggested that you change your password to something that 
      you can remember but difficult enough that somebody else cannot 
      figure out.   The requirement is only 6 characters, but we do 
      advise on making it longer, throw some numbers and special 
      characters in there as well to make it stronger.   Best advice 
      would be to use a pass-PHRASE instead of a pass-WORD.
      
      Your computer should already be setup with your email loaded and 
      your network drives.   At <MyCompany>, we use Microsoft 
      Outlook as the email client.   Depending on what department you 
      are in will depend on what drives you have available.   
      Generally, everybody will have an F: drive and a G: drive.   The 
      F: drive is your network folder.   Place in there the documents 
      that you feel you cannot do your job without.   In the F: drive 
      will be a scan folder.   When you go to the Xerox to scan in 
      documents, then you will find them in your scan folder.   The G: 
      drive is a company-wide shared folder.  As for your department 
      drives, it would be best to talk with $($manfn.name), 
      your supervisor/manager, about the nature and uses of these drives.
      
      The use of the equipment and resources provided are a privilege 
      to you for use and should not be taken advantage of.   There are 
      measures set in place that allows us to manage the network.   Do 
      not assume that there is any personal privacy on this network.   
      The only privacy that you can assume is for the nature of your 
      work.   All information (including emails, documents, 
      spreadsheets, pictures, etc.) contained on the equipment 
      provided and on the network is the sole property of Standard 
      Meat Company.
      
      If you have problems with your equipment or network resources, 
      please feel free to ask.   We do not mind helping, but we cannot 
      help if we do not know, so please ask! 
      
      Sincerely,
      
      
      Your IT Department"
      
      if ($loc -eq "Loc1") { #(Module 1.43)
      Write-Output $report | Out-Printer
      }
      Else { #(Module 1.44)
      Write-Output $report | Out-Printer \\server\'Xerox WorkCentre 4260'
      }
      
      #Waiting for AD & Azure to Synchronize, which synchronizes every 30 minutes (Module 1.45)
      Write-host "Waiting..."
      Start-Sleep -Seconds 1800
      
      #Connect to O365 and licenses the user
      Connect-MsolService #(Module 1.46)
      Set-MsolUserLicense -UserPrincipalName (-join($un,'@<MyCompany>.com')) -AddLicenses #(Module 1.47)
      
      #Connects to the Exchange box, creates the users email account, then disconnects from the Exchange box
      $mail = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -AllowRedirection -Authentication Basic -Credential $cred #(Module 1.48-Part 1)
      Import-PSSession $mail -WarningAction SilentlyContinue | Out-Null #(Module 1.48-Part 2)
      enable-Mailbox -Identity $un -Alias $un -DisplayName (-join($fn,$ln)) #Creates the users mailbox (Module 1.49)
      IF ($dep -eq "Executives") { #(Module 1.50)
      Set-Mailbox (-join($un,'@<MyCompany>.com')) -ProhibitSendQuota 19.5GB -ProhibitSendReceiveQuota 20GB -IssueWarningQuota 19GB #Sets the mailbox size in Exchange Online so that the user isn't using all 50 GB of storage (Module 1.51)
      } #If they are an executive, then they get 20 GB of mailbox space
      elseif ($dep -eq "IT") { #(Module 1.52)
      Set-Mailbox (-join($un,'@<MyCompany>.com')) #(Module 1.53)
      } #IT gets the full mailbox, of course 
      else { #(Module 1.54)
      Set-Mailbox (-join($un,'@<MyCompany>.com')) -ProhibitSendQuota 9.5GB -ProhibitSendReceiveQuota 10GB -IssueWarningQuota 9GB #Sets the mailbox size in Exchange Online so that the user isn't using all 50 GB of storage (Module 1.55)
      } #Otherwise, everybody else gets 10 GB of mailbox space
      Remove-PSSession -Session $mail #Disconnects from the Exchange box (Module 1.56)
      
      posted in IT Discussion
      NerdyDadN
      NerdyDad
    • RE: How Can You Turn off an Out of Office Message for a User in Office 365

      Can be done in the console. Pull up their profile in the Admin console, under Mail Settings, OOO should be right there.

      Edit: Its called "Automatic Replies".
      0_1536964031088_automatic replies.PNG

      posted in IT Discussion
      NerdyDadN
      NerdyDad
    • Veeam Rave

      So, I normally don't do this, but have to kind of rave about Veeam a little bit.

      The other day, I had a server fail one night because of the disk not consolidating. This server is a domain/DHCP server, so its fairly critical for my location. I remoted in and was about to do an instant recovery of the server and get it back up and running again. But it was still running off of the backup machine instead of on the host. It was running and would be fine for a couple of hours. Enough time for me to get some sleep and to actually fix it during the next working day.

      The next day, I tried a quick migration through Veeam and it didn't work. I attempted vMotion and we're not licensed for that. I got fed up and called Veeam Support. They were able to see what was going on and decided that a failover was the best strategy to recover. So we failover'ed the server and get it squared away just fine. Thank you support. Now I know what to do next time, if it ever happens again.

      Fast forward to yesterday. I attempted to upgrade my Veeam environment from 9.0 to 9.5. Its free for us to upgrade, we get a couple of extra features, so why not? I start at the top of my environment and begin to upgrade. Can't do it because my cloud-storage service hasn't upgraded their connector yet. Okay, so I have to hold off. The upgrade attempted to roll back the changes. It failed and my backups last night didn't run. I call Veeam Support again and they were able to determine that the roll back from the update missed a couple of things. So a few components were out of phase in versions. They were able to rollback those components that were missed last night and get it back up and running again.

      The point of the story here is that, I have always liked their software. As long as you have enough space on a NAS or something, you can just about set it and forget it. Because Veeam will keep working, day in and day out. Extremely versatile in scheduling, either internally or by calling it with a PS script. Support is great, knowledgeable, prompt, and polite.

      Piece of advice. If you can afford the software, then get the support too. You will not regret it.

      posted in Reviews
      NerdyDadN
      NerdyDad
    • Veeam Announces Details on their Veeam Backup for Microsoft Office 365 2.0

      0_1526433849684_Untitled.png

      • Product Architecture
      ○ Organization wizard reworked
      ○ Job wizard reworked
      ○ Permanent restore sessions
      ○ License changes
      ○ Advanced Possibilities

      • Veeam Backup for Microsoft Office 365 Changes

      • Exchange Online backup improvements
      ○ Support selection of users by groups
      ○ Security/distribution/dynamic distribution groups
      ○ Group/teams mailboxes
      ○ VEX permanent restore session
      ○ Backup on-premises journaling mailbox
      ○ Cloud Connect PIT/eDiscovery (deleted/all versions)
      ○ Full PowerShell/REST support

      • SharePoint Online backup
      ○ Sites/personal sites/group sites/subsites support
      ○ Classic/modern themes (site/list) backup and restore
      ○ Lists/Items/history/attachments/item permissions
      ○ Homepage: Master/publishing/wiki page backup
      ○ VESP SharePoint Restore (full PowerShell/REST)
      ○ VESP Permanent restore session
      ○ Cloud Connect PIT/eDiscovery (deleted/all versions)

      • OneDrive for Business
      ○ Backup of OneDrive for Business of users and groups
      ○ Extended attributes including shared access
      ○ Restore by Veeam Explorer for Microsoft OneDrive
      ○ OneDrive bulk restore/OneNote backup/restore
      ○ Full PowerShell/REST support
      ○ Veeam Explorer for Microsoft OneDrive permanent restore session
      ○ Cloud connect PIT/eDiscovery (deleted/all versions)
      ○ Restoring files also has the possibility of restoring permissions as well
      ○ Versioning

      • General Improvements
      ○ Veeam Backup for Microsoft Office 365 auto-update notifications
      ○ Veeam Backup for Microsoft Office 365 Product upgrade
      ○ Proxy patch wizard
      ○ Veeam Backup for Microsoft Office 365 color themes switch
      ○ Support information wizard
      ○ Collect logs (server, console, selected proxies)
      ○ Enabling / disabling extended logging

      Beta is out now
      Shooting for official at end of Q2/Beginning of Q3
      Cannot support Teams yet. Microsoft has not yet released APIs for Teams. Data for Teams is stored across other different services

      VBO Free edition limited to 10 users and 1 TB of data

      posted in News veeamon o365 veeam
      NerdyDadN
      NerdyDad
    • RE: If you are new drop in say hello and introduce yourself please!

      Hey, thank everybody. Long time member of SW and was introduced to ML. So, I'm checking it out as another resource.

      posted in Water Closet
      NerdyDadN
      NerdyDad
    • RE: MS Surface membership?

      This just reminds me of the Rent-A-Center/Conn's/Colortyme, "Take it home today and pay out the nose for the next 7 years" kind of schemes. You can get more blood out of a turnip by financing over freaking long periods instead of being a grown up, saving your pennies, and actually getting it when you can afford it with cash.

      posted in IT Discussion
      NerdyDadN
      NerdyDad
    • Free Puppies

      I know this is not of the norm but I can't keep the puppies.

      Got 6 puppies (3 boys and 3 girls) here that were discovered under Dad-in-laws shed. All of the same litter, about 2 months old. The puppies are a mix, but I'm not for sure what. They are clean, warm, and have been fed.

      I can meet somebody in Dallas, if they want at least 1.

      0_1483802729776_14838026880561623522794.jpg

      Thanks for your help,

      posted in Water Closet
      NerdyDadN
      NerdyDad
    • Weird MS Server 2016 Datacenter activation error & how to get around it

      We just paid our homage to those at Microsoft to use Windows Server 2016 Datacenter. We have our keys and are trying to activate. When I go to the GUI and attempt to activate with my key, I receive the following error:

      0_1493396820967_datacenter activation error.jpg

      However, after some googling and this site, I have found a workaround that activates the server. Open your command prompt under elevated privileges and run the following command

      dism /online /set-edition:ServerStandard /productkey:<YourKeyHere> /accepteula

      After a couple of minutes and a reboot, you're fully activated.

      posted in IT Discussion windows server 2016 licensing
      NerdyDadN
      NerdyDad
    • RE: Random Thread - Anything Goes

      @RestoronixSean said in Random Thread - Anything Goes:

      https://i.redd.it/c6j627cw8q3z.jpg

      Oh that is so cruel.

      posted in Water Closet
      NerdyDadN
      NerdyDad
    • Need to block a User GP for certain Machines

      I have a Windows Server 2008R2 Domain & Forest level. Plan is to upgrade the domain this year because of 2008R2 going EOL next year.

      I have a GPO called Sleep that applies to Users that locks users screens after a certain period of time. We want this on all of our client machines, but not the ERP servers. The user RDPs into the ERP servers to perform their business tasks. Is there a way of excluding the GPO from applying to the ERP servers?

      posted in IT Discussion group policy domain windows server 2016 windows server 2008 r2
      NerdyDadN
      NerdyDad
    • RE: What Are You Doing Right Now

      @jaredbusch said in What Are You Doing Right Now:

      @coliver said in What Are You Doing Right Now:

      @jaredbusch said in What Are You Doing Right Now:

      Unhappily reading this.

      https://www.girlology.com/what-expect-when-your-breasts-bud

      This terrifies me. Glad I have more then a decade to prepare.

      Yup, it is happening and I has all the sad.

      The tin man does have a heart.

      posted in Water Closet
      NerdyDadN
      NerdyDad
    • RE: What Are You Doing Right Now

      Here is what I do:

      1. go to your localhost file
      2. Have anything pointing to *.spiceworks.com point to manglassi.it
      3. Profit!
      posted in Water Closet
      NerdyDadN
      NerdyDad
    • RE: What Are You Doing Right Now

      Finally found @StarWind_Software and @Stuka

      0_1526340066501_15263400269741780257754.jpg

      posted in Water Closet
      NerdyDadN
      NerdyDad
    • 1 / 1