My latest book has been released on the Manning Early Access Program (MEAP). Active Directory Management in a Month of Lunches takes the newcomer to AD through the tasks they need to perform to manage their organization"™s AD.
it assumes no knowledge of AD and shows how to perform the common management tasks from the GUI (AD Administrative Center & the venerable AD Users & Computers) as well as PowerShell (using the Microsoft cmdlets).
It’s now available globally.
I suggest downloading the Program Guide, which includes the agreement and directions for enrolling. There’s also a specific guide for the PowerShell 3.0 Toolmaking examination, which you should read prior to paying.
Once you’ve paid, and sent in the necessary signed paperwork, you’ll get your exam info via e-mail. You can log in at any time to download your exam scenario and begin working. From the time of your first login, the clock starts ticking and you have 24 hours to upload your results. After uploading your results, you’ll hear back within 5 business days - these are graded by a human, not a machine, so be patient.
I decided to replace one of the DCs in my test environment with a Windows 2012 Server Core machine. Server Core has really come of age in Windows 2012 ““ its easy to configure.
I”™ve covered configuring a server before but to recap:
- Rename the machine ““ use Rename-Computer
- Set Network ““ use Set-NetIPInterface (address) & et-DnsClientServerAddress( dns address) & Rename-netAdapter
- Join to domain ““ use Add-Computer
To create the domain controller use the ADDSDeployment module. You”™ll only find this on servers where you”™ve installed the AD Domain Services feature which you do like this:
When you used the WMI cmdlets
Get-WmiObject -Class Win32_logicalDisk -ComputerName RSLAPTOP01
You were using DCOM to access the remote machine. Even if you accessed the local machine you were using DCOM.
This changes in PowerShell v3 when using the CIM cmdlets.
If you don"™t use a computername
Get-CimInstance -ClassName Win32_logicalDisk
You use DCOM to access the local machine.
If you use ““computername
Get-CimInstance -ClassName Win32_logicalDisk -ComputerName RSLAPTOP01
You use WSMAN to access the machine named ““ irrespective of if it is local or remote
When: Tuesday, Feb 26, 2013 7:30 PM (GMT)
Where: Virtual
*********~*
Advanced functions give you ability to create functions that act like cmdlets. Learn how to get the most from this powerful part of the PowerShell functionality
Notes
Richard Siddaway has invited you to attend an online meeting using Live Meeting.
Join the meeting.
Audio Information
Computer Audio
To use computer audio, you need speakers and microphone, or a headset.
First Time Users:
To save time before the meeting, check your system to make sure it is ready to use Microsoft Office Live Meeting.
Troubleshooting
Unable to join the meeting? Follow these steps:
I"™ve been grading the scripts in the warm up events for the Scripting Games and noticed a lot of people doing this:
Get-WmiObject -Class Win32_LogicalDisk | where {$_.DriveType -eq 3}
Ok now it works but there are a couple of things wrong with this approach.
Firstly, you are ignoring the built in capabilities of the get-wmiobject cmdlet
PS> Get-Command Get-WmiObject -Syntax
Get-WmiObject [-Class] [[-Property] ] [-Filter ] [-Amended] [-DirectRead] [-AsJob]
[-Impersonation ] [-Authentication ] [-Locale ]
[-EnableAllPrivileges] [-Authority ] [-Credential
] [-ThrottleLimit ] [-ComputerName
] [-Namespace ] []
Before the verification exam becomes available to the public, I need ONE OR TWO people to be the first through the complete program. This is not a “beta;” the exam is finalized and you will have to pay for your verification. The first one or two people will be semi-automated as I nail down the final payment integration bits, and then we’ll throw it open to the public.
If you’re interested, contact me at don at Concentrated Tech.com. First come, first served.
Jeff Hicks (Microsoft MVP and Author) gave a presentation on “Getting Started with PowerShell Advanced Functions”. You can download the presentation and example scripts here and watch a recording of the presentation below on our YouTube channel.
[youtube_sc url=“http://www.youtube.com/watch?v=77VbOO14DFE&feature=youtu.be”]
You can keep up with Jeff at his blog, on Twitter, and on Google Plus
We would also like to thank Interfacett and Powershell.org for providing funding for this meeting!