![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Another AD formatting quirk / bug I found this while trying to repro Chris's bug/quirk re AD. Try the following: $domain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $DCs = $domain.DomainControllers $DCs | format-list It always displays as a table, not a list. Default formatting as a table is all wrong. There is so much that is cut off. Thoughts? Thanks Andrew Watt MVP |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Another AD formatting quirk / bug PS C:\Beheer\powershell> $dcs|ft Forest Current Highest OSVersi Roles Domain IPAddre SiteNam SyncFro Inbound Time Committ on ss e mAllSer Connect edUsn versCal ions lback ------ ------- ------- ------- ----- ------ ------- ------- ------- ------- aspa... 28-0... 329160 Wind... {Pdc... apsa... 192.... ****... {4fd... aspa... 28-0... 288951 Wind... {Sch... aspa... 192.... ****... {86d... PS C:\Beheer\powershell> $dcs|fl Forest : ****.****.nl CurrentTime : 28-06-2006 13:21:08 HighestCommittedUsn : 329160 OSVersion : Windows 2000 Server Roles : {PdcRole, RidRole} Domain : ****.****.nl IPAddress : 192.168.10.135 SiteName : ******* SyncFromAllServersCallback : InboundConnections : {4fda05c5-972b-4826-9c9e-5b35567b8813} OutboundConnections : {86dfe296-4cb4-47d4-89f9-7e4a0ebf9898} Name : ******-****.****.****.nl Partitions : {CN=Schema,CN=Configuration,DC=****,DC=****,DC =nl, CN=Configuration,DC=****,DC=****,DC=nl, D C=****,DC=****,DC=nl} Forest : ****.****.nl CurrentTime : 28-06-2006 13:21:08 HighestCommittedUsn : 288951 OSVersion : Windows 2000 Server Roles : {SchemaRole, NamingRole, InfrastructureRole} Domain : ****.****.nl IPAddress : 192.168.10.136 SiteName : ******* SyncFromAllServersCallback : InboundConnections : {86dfe296-4cb4-47d4-89f9-7e4a0ebf9898} OutboundConnections : {4fda05c5-972b-4826-9c9e-5b35567b8813} Name : ******-****.****.****.nl Partitions : {CN=Schema,CN=Configuration,DC=****,DC=****,DC =nl, CN=Configuration,DC=****,DC=****,DC=nl, D C=****,DC=****,DC=nl} doing: PS> $dcs this returns a list asswell grt Dennis |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Another AD formatting quirk / bug Thanks, Dennis. It's consistent in the shell I was using. I opened a new shell on the same machine and it works correctly. There must be some bug somewhere but I suspect it would be a devil of a job to track down. Andrew Watt MVP On Wed, 28 Jun 2006 06:35:01 -0700, Aspa <Aspa@discussions.microsoft.com> wrote: >PS C:\Beheer\powershell> $dcs|ft > >Forest Current Highest OSVersi Roles Domain IPAddre SiteNam SyncFro >Inbound > Time Committ on ss e mAllSer >Connect > edUsn versCal ions > lback >------ ------- ------- ------- ----- ------ ------- ------- ------- >------- >aspa... 28-0... 329160 Wind... {Pdc... apsa... 192.... ****... >{4fd... >aspa... 28-0... 288951 Wind... {Sch... aspa... 192.... ****... >{86d... > > >PS C:\Beheer\powershell> $dcs|fl > > >Forest : ****.****.nl >CurrentTime : 28-06-2006 13:21:08 >HighestCommittedUsn : 329160 >OSVersion : Windows 2000 Server >Roles : {PdcRole, RidRole} >Domain : ****.****.nl >IPAddress : 192.168.10.135 >SiteName : ******* >SyncFromAllServersCallback : >InboundConnections : {4fda05c5-972b-4826-9c9e-5b35567b8813} >OutboundConnections : {86dfe296-4cb4-47d4-89f9-7e4a0ebf9898} >Name : ******-****.****.****.nl >Partitions : {CN=Schema,CN=Configuration,DC=****,DC=****,DC > =nl, CN=Configuration,DC=****,DC=****,DC=nl, D > C=****,DC=****,DC=nl} > >Forest : ****.****.nl >CurrentTime : 28-06-2006 13:21:08 >HighestCommittedUsn : 288951 >OSVersion : Windows 2000 Server >Roles : {SchemaRole, NamingRole, InfrastructureRole} >Domain : ****.****.nl >IPAddress : 192.168.10.136 >SiteName : ******* >SyncFromAllServersCallback : >InboundConnections : {86dfe296-4cb4-47d4-89f9-7e4a0ebf9898} >OutboundConnections : {4fda05c5-972b-4826-9c9e-5b35567b8813} >Name : ******-****.****.****.nl >Partitions : {CN=Schema,CN=Configuration,DC=****,DC=****,DC > =nl, CN=Configuration,DC=****,DC=****,DC=nl, D > C=****,DC=****,DC=nl} > > > >doing: >PS> $dcs >this returns a list asswell > >grt >Dennis |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Another AD formatting quirk / bug Andrew, Please open a bug. I will follow-up -- Abhishek Agrawal [MSFT] http://spaces.msn.com/abhishek225 Windows PowerShell Team Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights. "Andrew Watt [MVP]" <SVGDeveloper@aol.com> wrote in message news:jv25a2153ej3001b96on2gfnirslum9aa9@4ax.com... > Thanks, Dennis. > > It's consistent in the shell I was using. > > I opened a new shell on the same machine and it works correctly. There > must be some bug somewhere but I suspect it would be a devil of a job > to track down. > > Andrew Watt MVP > > On Wed, 28 Jun 2006 06:35:01 -0700, Aspa > <Aspa@discussions.microsoft.com> wrote: > >>PS C:\Beheer\powershell> $dcs|ft >> >>Forest Current Highest OSVersi Roles Domain IPAddre SiteNam SyncFro >>Inbound >> Time Committ on ss e mAllSer >>Connect >> edUsn versCal >> ions >> lback >>------ ------- ------- ------- ----- ------ ------- ------- ------- >>------- >>aspa... 28-0... 329160 Wind... {Pdc... apsa... 192.... ****... >>{4fd... >>aspa... 28-0... 288951 Wind... {Sch... aspa... 192.... ****... >>{86d... >> >> >>PS C:\Beheer\powershell> $dcs|fl >> >> >>Forest : ****.****.nl >>CurrentTime : 28-06-2006 13:21:08 >>HighestCommittedUsn : 329160 >>OSVersion : Windows 2000 Server >>Roles : {PdcRole, RidRole} >>Domain : ****.****.nl >>IPAddress : 192.168.10.135 >>SiteName : ******* >>SyncFromAllServersCallback : >>InboundConnections : {4fda05c5-972b-4826-9c9e-5b35567b8813} >>OutboundConnections : {86dfe296-4cb4-47d4-89f9-7e4a0ebf9898} >>Name : ******-****.****.****.nl >>Partitions : >>{CN=Schema,CN=Configuration,DC=****,DC=****,DC >> =nl, CN=Configuration,DC=****,DC=****,DC=nl, >> D >> C=****,DC=****,DC=nl} >> >>Forest : ****.****.nl >>CurrentTime : 28-06-2006 13:21:08 >>HighestCommittedUsn : 288951 >>OSVersion : Windows 2000 Server >>Roles : {SchemaRole, NamingRole, InfrastructureRole} >>Domain : ****.****.nl >>IPAddress : 192.168.10.136 >>SiteName : ******* >>SyncFromAllServersCallback : >>InboundConnections : {86dfe296-4cb4-47d4-89f9-7e4a0ebf9898} >>OutboundConnections : {4fda05c5-972b-4826-9c9e-5b35567b8813} >>Name : ******-****.****.****.nl >>Partitions : >>{CN=Schema,CN=Configuration,DC=****,DC=****,DC >> =nl, CN=Configuration,DC=****,DC=****,DC=nl, >> D >> C=****,DC=****,DC=nl} >> >> >> >>doing: >>PS> $dcs >>this returns a list asswell >> >>grt >>Dennis |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Another AD formatting quirk / bug Done. https://www.connect.microsoft.com/fe...1092&SiteID=99 BTW the faulty PowerShell instance is still open (just checked) so if you want some trace done in it to narrow down the cause of the problem I can do that (at least I can at the moment). Email me off list if you want me to do that. Andrew Watt MVP On Wed, 28 Jun 2006 16:50:48 -0700, "Abhishek Agrawal [MSFT]" <abhiag@online.microsoft.com> wrote: >Andrew, > Please open a bug. I will follow-up |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Attachments quirk | Vista mail | |||
| Printer Quirk | Vista hardware & devices | |||
| Annoying quirk... can you help? | Vista performance & maintenance | |||
| More.com?? Quirk | PowerShell | |||
| Cert quirk or bug? | PowerShell | |||