This episode we talk about what we have been up to and how usefully the NET command is.
Show Notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-041-show-notes-the-net-command/
Podcast: Play in new window | Download
This episode we talk about what we have been up to and how usefully the NET command is.
Show Notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-041-show-notes-the-net-command/
Podcast: Play in new window | Download
After a little break, The Admin Admin hosts are back where we talk about if you treat your server like cattle or pets?
Show Notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-040-show-notes-cattle-versus-pet/
Podcast: Play in new window | Download
This week we talk about the use of SPF and DKIM when sending emails
Links to show notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-039-show-notes-spf-and-dkim/
Podcast: Play in new window | Download
This week we talk about power shell script and how cool they are!
Link to Show Notes : http://www.adminadminpodcast.co.uk/admin-admin-podcast-038-show-notes-wow-scripts-are-cools/
Podcast: Play in new window | Download
This scripts create users in active directory by look for the details listed in a CSV file which can be download here, and add a proxy email address, add to AD Groups and place them in a OU called temp OU.
You will need to change a number of values to match you environment:
If I had more time I would add in variable so you can easily change the value (may be in the future)
$csv_info = import-csv "C:\PSScripts\newusers.csv"
foreach ($line in $csv_info)
{
$name = $line.GivenName + " " + $line.Surname
$samaccountname = $line.GivenName + "." + $Line.surname
$emailaddress1 = $samaccountname + "@emaildomain.co.uk"
$emailaddress = $emailaddress1.ToLower()
$GROUP1 = $line.GROUP1
$GROUP2 = $line.GROUP2
write-host $name
write-host $samaccountname
write-host $emailaddress
New-ADUser -GivenName $line.GivenName -Surname $line.Surname -Name $name -DisplayName $Name -UserPrincipalName $emailaddress -SamAccountName $SamAccountName -EmailAddress $emailaddress -Enabled $True -AccountPassword (ConvertTo-SecureString $line.Password -AsPlainText -force) -path 'OU=TempOU,DC=domain,DC=local'
Set-ADUser $samaccountname -add @{ProxyAddresses="SMTP:$emailaddress"}
If($GROUP1 -eq "YES")
{
Add-ADGroupMember -Identity "GROUP1" -Member $samaccountname
write-host "Added to GROUP1"
}
If($GROUP2 -eq "YES")
{
Add-ADGroupMember -Identity "GROUP2" -Member $samaccountname
write-host "Added to GROUP2"
}
}
Use the following script to Assign License in Office365
First connect to Office 365 via PowerShell
Get-MsolSubscription
This list the current license available in Office 365.
Set-MsolUser -UserPrincipalName username@office365domain.co.uk -UsageLocation UK
You first need to set the users to their local location in my case UK
Set-MsolUserLicense -UserPrincipalName username@office365domain.co.uk –AddLicenses “OFFICE365DOMAIN:O365_BUSINESS_ESSENTIALS”
This command assigns the licesnes you will need
This week we talk all things RAID
Links to show notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-037-show-notes-its-all-about-the-raid/
Podcast: Play in new window | Download
This week we are back for our first episode of 2016 where we talk about what we carry in our bags when we go to site.
Show Notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-036-show-notes-everyday-carry/
Podcast: Play in new window | Download
This week wveryone has lots of story to tell including why you should always carry a spare pants in the car/van!
Links to show notes: http://www.adminadminpodcast.co.uk/?p=436
Podcast: Play in new window | Download
This we are all back from Oggcamp and we we finally get to meet each other. This we talking clustering, AWS and messy network cables!
Links to show notes: http://www.adminadminpodcast.co.uk/?p=419
Podcast: Play in new window | Download
This episode we talk about what we have been up to in the world of IT and discuses how to get a job in IT.
Links to show notes: http://www.adminadminpodcast.co.uk/?p=394
Podcast: Play in new window | Download
This week it is a full house again, we talk about all thing scheduling and Intrusion Detection Systems.
Links to show notes:http://www.adminadminpodcast.co.uk/?p=381
Podcast: Play in new window | Download