I review for BookLook Bloggers

Friday, October 12, 2018

Very Nice and Beautiful book

Image result for unshakable hope promise book

This book is awesome! This book is a nice place to go for calming, unshakable hope. The book helps the younger generations with full of hope and encouragement. The book allows kids to read on their own, and then parents can go over the ending questions with them, allowing for some great family discussion, but also spiritual, about your family's beliefs and morals. I would recommend every parent to have it for their kids.

Monday, September 10, 2018

Amazing Book for Kids

Image result for Night Night, Sleepytown

My daughter's eyes lit up as soon as we opened this book. Full of her favorite animals and lots of vibrant colors. I enjoyed sitting with my child and pointing out the different animals, and what they were doing. This is a fun bedtime story to read to get children ready for bed. Thanks to Amy Parker for this wonderful book. I would recommend every mom and dad for their kids.

Wednesday, August 22, 2018

Fix AD-USERS Naming Convention [1st letter Uppercase and rest Lower]

Description
Description: This Script Does the following things.
1> Rename Active Directory User's Firstname, Lastname 1st letter to Uppercase ex: JOhn SnOw or john snOn or JOHN SNOW becomes -, John Snow
2> Rename Active Directory User's samaccountname to all lower case example: Jonh becomes - john
3> Rename Active Directory User's Displayname and NAme 1st letter to Uppercase ex: JOhn SnOw or john snOn or JOHN SNOW becomes -John Snow

Source Code

** Recommend to perform in the test environment before moving to the production environment.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<#===========================================================================================================================
Script Name: FixADNAmes.ps1
Description: This Script Does the following things.
            1> Rename Active Directory User's  Firstname,Lastname 1st letter to Uppercase ex: JOhn SnOw or john snOn or JOHN SNOW becomes -John Snow
            2> Rename Active Directory User's samaccountname to all lower case example: Jonh becomes - john
            3> Rename Active Directory User's  Displayname and NAme 1st letter to Uppercase ex: JOhn SnOw or john snOn or JOHN SNOW becomes -John Snow

           
      Inputs: OU path if Required to run on an OU
      Outputs: 

Notes: Run as administrator
Date Created: 08/21/2018
      Credits: 
Last Revised: 08/21/2018


** Instructions**
Just Launch Powershell as administrator copy the script and run or save and run it as
FixADNAmes.ps1
=============================================================================================================================#> 
If ( ! (Get-module ActiveDirectory )) {
  Import-Module ActiveDirectory
  Clear-Host
  }

Get-ADUser -filter *  <#-SearchBase 'OU=OU,DC=domain,DC=Local'#>|Foreach{
$newFname=(Get-Culture).textinfo.totitlecase(($_.givenname).tolower())
$newLname=(Get-Culture).textinfo.totitlecase(($_.Surname).tolower())
$name= $newFname + ' ' + $newLname
Set-ADUser $_ -GivenName $newFname -Surname $newLname
Rename-ADObject -Id $_ -NewName $name
Set-ADUser $_.samaccountname -DisplayName $name
Set-ADUser $_.samaccountname -SamAccountName $_.SamAccountName.ToLower()
}



Clear-Host
Write-Host 'The process has been completed' -ForegroundColor Yellow
"Here is how AD users Looks now"
$newU=(Get-ADUser -filter * <#-SearchBase $ou #> -prop Displayname |Get-Random |select -First 1)
$newU |select Name,Displayname,Givenname,surname,samaccountname

Screenshots