Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The Get-ADUser
command can be used to query user information. We can apply filters to narrow down the results using the -Filter
and -LDAPFilter
parameters".
A block of code is set as follows:
function Get-ADObjectsCount { [CmdletBinding()] param( ) $Users = Get-ADUser -Filter * $Groups = Get-ADGroup -Filter * $Computers = Get-ADComputer -Filter * $DomainName = (Get-ADDomain).Name "{0} Users, {1} Computers and {2} Groups found in {3} Domain" -f $Users.Count,$Computers.Count,$Groups.Count,$DomainName }
Any command-line input or output is written as follows:
PS C:\> Get-ADObjectsCount 110 Users, 13 Computers and 83 Groups found in techibee Domain PS C:\>
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes, for example, appear in the text like this: "add the Group Policy Management option to install this feature".
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.