You're getting a Dell and you're getting a Dell and you're getting a Dell...EVERYONE'S GETTING A DELL!!!!!
Best posts made by NerdyDad
-
RE: Dell Laptops Accidentally Free in Mexico
-
RE: XenServer 6.2 servers down. I have no Xen skill. Most likely networking? Help!
Once this crisis is over, I recommend going over this when you have free time.
https://mangolassi.it/topic/7825/sam-learning-linux-system-administration
Its not complete but its a really good start.
-
RE: Equifax Has 143 Million Americans Data Compromised
Equifax still missing the point. Patch your stuff and you're less likely to be compromised.
Equifax Blames Apache, Yet Failed to Address Known Vulnerability
https://www.linkedin.com/pulse/equifax-blames-apache-yet-failed-address-known-montemayor-walker -
RE: Pronunciations of SQL Derived Database Names and Terms
@RojoLoco said in What is a Database Management System:
@scottalanmiller said in What is a Database Management System:
@NerdyDad said in What is a Database Management System:
It was their rule, I simply obeyed it and carried it with me as a rule afterwards.
Even in graduate work I've gone to the dean and challenged using myself as a source and won
But how many others would take the time to batter the dean with semantics like you did until he just gave in? Very few.....
This comes to mind...
-
RE: If you are new drop in say hello and introduce yourself please!
@RojoLoco said in If you are new drop in say hello and introduce yourself please!:
Welcome to all the new folks! So many since I last checked this thread, I hope you can all make it to MangoCon this summer (its a blast!).
Trying to persuade the boss to forget SpiceWorld and let me go to MangoCon. Its been difficult thus far.
-
RE: Creating users
Here is another copy of the same code, but for a local exchange box instead of O365.
#Imports the AD Import-Module activedirectory #Sets Variables $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 $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 "Loc1 or Loc2?" #Finding out the Username $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 $passwd = (Read-Host -AsSecureString "Account Password") $password = ConvertFrom-SecureString -SecureString $passwd $userParams = @{ 'Name' = $un; 'Enabled' = $true; 'AccountPassword' = $passwd; 'UserPrincipalName' = -join ($un, "@smc.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' = 'Standard Meat Company'; 'Manager' = $man; } #Creates the user in AD New-ADUser @userParams #Wait for the account to be created before doing anything else Start-Sleep -Seconds 10 #Makes the user's network drive, scan folder, and sets the permissions to their folders and files if ($loc -eq "Loc1") { #If the user is in Loc1 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 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"){ Add-ADGroupMember -Identity 'Accounting' -Members $un } #Adds the user to the Accounting Group Elseif ($dep -eq "Customer Service") { Add-ADGroupMember -Identity 'Customer Service' -Members $un } #Adds the user to the Customer Service Group Elseif ($dep -eq "HR") { Add-ADGroupMember -Identity 'Human Resources' -Members $un } #Adds the user to the Human Resources Group Elseif ($dep -eq "Human Resources") { Add-ADGroupMember -Identity 'Human Resources' -Members $un } #Adds the user to the Human Resources Group Elseif ($dep -eq "IT") { Add-ADGroupMember -Identity 'Domain Admins' -Members $un } #Adds the user to the Domain Admins Group for IT Elseif ($dep -eq "Maintenance") { Add-ADGroupMember -Identity 'MaintGroup' -Members $un } #Adds the user to the Maintenance Group Elseif ($dep -eq "Production") { Add-ADGroupMember -Identity 'Production' -Members $un } #Adds the user to the Production Group Elseif ($dep -eq "QA") { Add-ADGroupMember -Identity 'QA Group' -Members $un } #Adds the user to the QA Group Elseif ($dep -eq "Quality Assurance") { Add-ADGroupMember -Identity 'QA Group' -Members $un } #Adds the user to the QA Group Elseif ($dep -eq "Shipping") { Add-ADGroupMember -Identity 'SHIP' -Members $un } #Adds the user to the Shipping Group Else { Add-ADGroupMember -Identity 'Domain Users' -Members $un } #Dumps the user to the Domain Users Group #Connects to the Exchange box, creates the users email account, then disconnects from the Exchange box $mail = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<exchange>/powershell -name <exchange> -Authentication Kerberos -Credential $cred Import-PSSession $mail -WarningAction SilentlyContinue | Out-Null enable-Mailbox -Identity $un -Alias $un -DisplayName (-join($fn,$ln)) #Creates the users mailbox Remove-PSSession -Session $mail #Disconnects from the Exchange box $manfn = Get-ADUser $man -Properties GivenName | select GivenName #Gets the managers first name $manln = Get-ADUser $man -Properties SurName | select SurName #Gets the managers last name #Create 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 [email protected], 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 smc\$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 Standard Meat, 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") { Write-Output $report | Out-Printer \\server\Printer } Else { Write-Output $report | Out-Printer \\server\Printer }
-
RE: Random Thread - Anything Goes
@scottalanmiller said in Random Thread - Anything Goes:
I guess he has her "wrapped up". Eh? No? Okay, I'll see myself out.
-
EqualLogic PS6110 Show Capacity
I factory reset a Dell EqualLogic PS6110 last week. Setup the IP addressing. Needing to create a volume. All I have is CLI as the GUI is so far out of date for Java that it is not even worth using.
How do I find out the capacity to create the volume?
Currently,
show member
gives me this:Dallas> show member Name Status Version Disks Capacity FreeSpace Connections ---------- ------- ---------- ----- ---------- ---------- ----------- dal-storag online V6.0.10 (R 24 0MB 0MB 0 e-1 390548)
-
RE: Random Thread - Anything Goes
I've never used a dating site at all, and, hopefully, never will, but I am a Christian.
Let the Christian-bashing continue.
-
Adventures into Learning CentOS 7
I guess I need to start a new series on my learning of CentOS 7 and the questions that I come up with along the way.
I'll update as I ask more questions along the way.
-
RE: Troubles installing PowerCLI
They aren't in the ML community but special shoutout to Ariel Sanchez and Joe Houghes for this help. Somebody needs to get them into ML.
https://twitter.com/TheRealNerdyDad/status/1049365117140447238
-
RE: What Are You Doing Right Now
@RojoLoco said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@RojoLoco said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@RojoLoco said in What Are You Doing Right Now:
@NerdyDad said in What Are You Doing Right Now:
Moving VMs from an old IPOD to a new IPOD. Ohh...shiny!
I didn't realize mp3 players could host VMs!!! Live and learn....
Good ones do.
So why is he using an ipod?
Bosses...
They insist on Apple?
(My comment was a crack at Crapple....)
NOOOO, we do NOT insist on Apple. The only reason why the forsaken fruit is even allowed on these sacred grounds is because the owner's daughter said we needed one so that they can exchange cute little presentations for our biggest customer. They went down to present to our biggest customer and couldn't because the blasted thing doesn't have WiDi on it and wouldn't interface with their projector.
Boss tried to tell them that it wouldn't work, but would they listen? Ohh no! (I was on vaca when all of this went down). They went out and bought it anyways. We told them we weren't going to support it and that was staying on the guest wifi. It is NOT touching my corporate network.
-
RE: User Training Who is responsible
I setup and train them to GET to the program and access it. It is their manager/supervisor/coworker's job to train them how to perform their job duties within the program. Its too much for me to know everybody's job duties and how they perform those duties.
-
RE: What did you have for lunch or dinner today?
@wirestyle22 said in What did you have for lunch or dinner today?:
Fantastic idea. I hate being interrupted all the time
That's just like a Mexican buffet restaurant here in Texas. You have to raise a small Mexican flag to get service, such as refills or something.
-
RE: MangoCon 2017
@EddieJennings said in MangoCon 2017:
@Dashrender said in MangoCon 2017:
@JaredBusch said in MangoCon 2017:
@Dashrender said in MangoCon 2017:
@EddieJennings said in MangoCon 2017:
Is there an ETA on a release of intended training topics / sketch of agenda? I'd like to make a pitch to management to try to offset the costs, and being able to relate specific topics to job function would be helpful.
I need this if I'm going to try a last min attendance.
Well your management wont care about my sessions on VoIP.
Not specifically, that's true.
They will when I say, "this conference will help solidify my knowledge about what needs to be done for a project that'll save us about $500 - $600 / month."
A 3-month ROI for an annual conference? Should definitely be a win-win.
-
Creating New User without O365 with PowerShell
This script pops up a command prompt asking a series of basic questions in order to:
- Create a user
- Sets a password
- Create their network folders
- Create their email address on a local Exchange box
- Add them to a Security Group based upon department (can be modified however you like)
- Prints out an information sheet for you to give to the new user with their required information.
#Imports the AD Import-Module activedirectory #Sets Variables $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 $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 "Loc1 or Loc2?" #Finding out the Username $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 $passwd = (Read-Host -AsSecureString "Account Password") $password = ConvertFrom-SecureString -SecureString $passwd $userParams = @{ 'Name' = $un; 'Enabled' = $true; 'AccountPassword' = $passwd; 'UserPrincipalName' = -join ($un, "@<domain>.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 New-ADUser @userParams #Wait for the account to be created before doing anything else Start-Sleep -Seconds 10 #Makes the user's network drive, scan folder, and sets the permissions to their folders and files if ($loc -eq "Loc1") { #If the user is in Loc1 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 icacls \\<server>\d$\Users\$un\* /grant $un:F /inheritance:e /T } Else { #If the user is in Loc2 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 icacls \\<server>\d$\Users\$un\* /grant $un:F /inheritance:e /T } #Adds the user to the correct Security Group for permissions and other network drives if ($dep -eq "Accounting"){ Add-ADGroupMember -Identity 'Accounting' -Members $un } #Adds the user to the Accounting Group Elseif ($dep -eq "Customer Service") { Add-ADGroupMember -Identity 'Customer Service' -Members $un } #Adds the user to the Customer Service Group Elseif ($dep -eq "HR") { Add-ADGroupMember -Identity 'Human Resources' -Members $un } #Adds the user to the Human Resources Group Elseif ($dep -eq "Human Resources") { Add-ADGroupMember -Identity 'Human Resources' -Members $un } #Adds the user to the Human Resources Group Elseif ($dep -eq "IT") { Add-ADGroupMember -Identity 'Domain Admins' -Members $un } #Adds the user to the Domain Admins Group for IT Elseif ($dep -eq "Maintenance") { Add-ADGroupMember -Identity 'MaintGroup' -Members $un } #Adds the user to the Maintenance Group Elseif ($dep -eq "Production") { Add-ADGroupMember -Identity 'Production' -Members $un } #Adds the user to the Production Group Elseif ($dep -eq "QA") { Add-ADGroupMember -Identity 'QA Group' -Members $un } #Adds the user to the QA Group Elseif ($dep -eq "Quality Assurance") { Add-ADGroupMember -Identity 'QA Group' -Members $un } #Adds the user to the QA Group Elseif ($dep -eq "Shipping") { Add-ADGroupMember -Identity 'SHIP' -Members $un } #Adds the user to the Shipping Group Else { Add-ADGroupMember -Identity 'Domain Users' -Members $un } #Dumps the user to the Domain Users Group #Connects to the Exchange box, creates the users email account, then disconnects from the Exchange box $mail = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<exchange>/powershell -name <exchange> -Authentication Kerberos -Credential $cred Import-PSSession $mail -WarningAction SilentlyContinue | Out-Null enable-Mailbox -Identity $un -Alias $un -DisplayName (-join($fn,$ln)) #Creates the users mailbox Remove-PSSession -Session $mail #Disconnects from the Exchange box $manfn = Get-ADUser $man -Properties GivenName | select GivenName #Gets the managers first name $manln = Get-ADUser $man -Properties SurName | select SurName #Gets the managers last name #Create 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 <MyCompany>. 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") { Write-Output $report | Out-Printer \\server\Printer } Else { Write-Output $report | Out-Printer \\server\Printer }
A part of the NerdyDad's PowerShell Scripts Series
-
RE: What Are You Doing Right Now
@scottalanmiller said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
Still in the office.....
You up mighty late tonight!
No kidding.
Might as well go ahead and start the coffee pot.
Yeah, I don't know how to do that. The little Ukrainian secretary has left She is the keeper of the coffee knowledge.
You need to fix that SPOF. What if she gets hit by a bus? All of that knowledge is gone.