官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 长治县| 禹州市| 镇远县| 辰溪县| 唐山市| 建昌县| 开鲁县| 鄯善县| 海宁市| 沭阳县| 抚顺县| 茌平县| 新河县| 达州市| 肥乡县| 津市市| 萨迦县| 北票市| 吉木乃县| 上蔡县| 中宁县| 上杭县| 西畴县| 淮北市| 梁平县| 大英县| 徐闻县| 岚皋县| 湄潭县| 乡城县| 衡南县| 漠河县| 定襄县| 达州市| 河津市| 乌拉特后旗| 德惠市| 焦作市| 华安县| 元谋县| 太仆寺旗|