SQL.SMO.SMOAgent.Format.ps1xml

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
    <ViewDefinitions>
        <View>
            <Name>SMOAgent</Name>
            <ViewSelectedBy>
                <TypeName>SQL.SMO.SMOAgent</TypeName>
            </ViewSelectedBy>
            <ListControl>
                <ListEntries>
                    <ListEntry>
                        <ListItems>
                            <ListItem>
                                <PropertyName>AgentDomainGroup</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.AgentDomainGroup -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>AgentLogLevel</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.AgentLogLevel -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>AgentMailType</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.AgentMailType -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>AgentShutdownWaitTime</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.AgentShutdownWaitTime -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>AlertCategories</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.AlertCategories -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Alerts</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.Alerts -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>AlertSystem</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.AlertSystem -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>DatabaseEngineEdition</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.DatabaseEngineEdition -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>DatabaseEngineType</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.DatabaseEngineType -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>DatabaseMailProfile</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.DatabaseMailProfile -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>ErrorLogFile</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.ErrorLogFile -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>ExecutionManager</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.ExecutionManager -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>HostLoginName</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.HostLoginName -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>IdleCpuDuration</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.IdleCpuDuration -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>IdleCpuPercentage</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.IdleCpuPercentage -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>IsCpuPollingEnabled</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.IsCpuPollingEnabled -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>JobCategories</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.JobCategories -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Jobs</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.Jobs -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>JobServerType</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>LoadingErrors</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.LoadingErrors -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>LocalHostAlias</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.LocalHostAlias -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>LoginTimeout</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.LoginTimeout -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>MaximumHistoryRows</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.MaximumHistoryRows -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>MaximumJobHistoryRows</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.MaximumJobHistoryRows -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>MsxAccountCredentialName</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.MsxAccountCredentialName -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>MsxAccountName</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.MsxAccountName -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>MsxServerName</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.MsxServerName -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Name</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>NetSendRecipient</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.NetSendRecipient -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>OperatorCategories</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.OperatorCategories -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Operators</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.Operators -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Parent</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.Parent -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Properties</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.Properties -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>ProxyAccounts</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.ProxyAccounts -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>ReplaceAlertTokensEnabled</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.ReplaceAlertTokensEnabled -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SaveInSentFolder</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SaveInSentFolder -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>ServiceAccount</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>ServiceStartMode</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SharedSchedules</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SharedSchedules -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SqlAgentAutoStart</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SqlAgentAutoStart -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SqlAgentMailProfile</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SqlAgentMailProfile -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SqlAgentRestart</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SqlAgentRestart -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SqlServerRestart</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SqlServerRestart -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SysAdminOnly</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SysAdminOnly -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>State</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>TargetServerGroups</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.TargetServerGroups -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>TargetServers</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.TargetServers -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Urn</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.Urn -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>UserData</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.UserData -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>WriteOemErrorLog</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.WriteOemErrorLog -ne $null</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                        </ListItems>
                    </ListEntry>
                </ListEntries>
            </ListControl>
        </View>
    </ViewDefinitions>
</Configuration>