Darren1
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 9 articles for 0.302 sec
Try this $domain = [system.directoryservices.activedirectory.domain]::GetCurrentDomain() $DCs = $domain.FindAllDomainControllers() @(foreach($dc in $dcs) { $root = [ADSI]"LDAP://$($dc.Name)" $searcher = New-Object System.DirectoryServices.DirectorySearcher($root,"(objectcategory=user)",@('sAMAccountName','lastLogon')) $searcher.PageSize = 0 $searcher.findall() | Select @{n     

Group: microsoft.public.windows.powershell · Group Profile · Search for Darren1 in microsoft.public.windows.powershell
Author: Brandon [MVP]
Date: May 19, 2008 16:39

Try: PS $drives = gwmi win32_logicaldisk -filter "drivetype=3" -ComputerName (gc .\temp\servers.txt) PS $server = @{n="Server";e={$_.__SERVER}} PS $free = @{n="FreeSpace(GB)";e={"{0:N2}" -f ($_.FreeSpace/1GB)}} PS $drives | select $server,deviceID,$free | ft -auto Server deviceID FreeSpace(GB) ------ -------- ------------- Server1 C: 37.17 Server1 D: 35.77 Server1
Show full article (1.27Kb) · Show article thread
Hi there, Try to using the "ads_computer" class in the Get-wmiobject. Here's a sample script: $GetLDAPSys = get-wmiobject -NameSpace "root\directory\LDAP" -class "ads_Computer" $Test = $GetLDAPSys | ? {$_.DS_name -eq "ServerName"} $test | Select ds_name, @{Expression={[DateTime]::fromFileTime($_.ds_LastLogon)};Name="LastLogonDate"}, ds_whenChanged | ft -auto Hope this shows what you     

Group: microsoft.public.windows.powershell · Group Profile · Search for Darren1 in microsoft.public.windows.powershell
Author: Shay Levi
Date: Apr 25, 2008 22:26

Hi Darren , I can get you started by binding to the computer object in AD $domain = "LDAP://cn=Machinename,ou=OUName,dc=foo,dc=com" $root = New-Object System.DirectoryServices.DirectoryEntry($domain) $root | Get-Member I didn't see any properties or methods related to authentication though . Thanks Chris "darren1" wrote: Can anybody please assist as we need a script written
Show full article (1.50Kb) · Show article thread
On Apr 24, 4:38 am, darren1 <darr...@discussions.microsoft.com> wrote: > Thanks Brandon for your help yesterday. > > Excuse my newb questions. > > I have another question for the forum please. > > Using the corrected script below how can I format the output so it looks > more organized ie. using spaces .. new lines. > > I have tried messing around with using Format-Table but unable to get     

Group: microsoft.public.windows.powershell · Group Profile · Search for Darren1 in microsoft.public.windows.powershell
Author: MaxTrinidad
Date: Apr 25, 2008 21:14

darren1 wrote: Thanks Brandon for your help yesterday. Excuse my newb questions. I have another question for the forum please. Using the corrected script below how can I format the output so it looks more organized ie. using spaces .. new lines. I have tried messing around with using Format-Table but unable to get it working correctly with the syntax below.
Show full article (0.65Kb) · Show article thread
Thanks Brandon for your help yesterday. Excuse my newb questions. I have another question for the forum please. Using the corrected script below how can I format the output so it looks more organized ie. using spaces .. new lines. I have tried messing around with using Format-Table but unable to get it working correctly with the syntax below. Many Thanks, Darren. "darren1"     

Group: microsoft.public.windows.powershell · Group Profile · Search for Darren1 in microsoft.public.windows.powershell
Author: Chris
Date: Apr 25, 2008 11:32

This is guaranteed spam from unconfirmed opt-in mailing lists for spurious addresses at poopypants.com or other vanity domains. hormboy@fw.merk.com is a USENET spamtrap seed. ---------------------- From darren1@aimeesplace.com Sat Nov 10 08:19:58 2007 Received: from mx0.public.com (mx0.public.com [66.112.160.20]) by public.com (8.12.10/8.12.10) with ESMTP id lAADJwST018139 for <x@public
Show full article (0.50Kb) · Show article thread
On 1 Feb 2007 02:58:00 -0800, "Benj" <dave.benjafield@googlemail.com> wrote: >On 1 Feb, 08:30, Steve Cobham <s...@XXguitarsXX.powernet.co.uk> wrote: >> On 31 Jan 2007 02:15:07 -0800, Darren1...@fsmail.net wrote: >> >> >Just ordered a drum kit for my son for his birthday. I quite fancy >> >learning to play myself. >> >> Why not take up drums instead? > >Did you hear about the drummer who     

Group: microsoft.public.windows.powershell · Group Profile · Search for Darren1 in microsoft.public.windows.powershell
Author: RickB
Date: Apr 24, 2008 06:38

Show full article (1.83Kb) · Show article thread
    

Group: microsoft.public.windows.powershell · Group Profile · Search for Darren1 in microsoft.public.windows.powershell
Author: Marco Shaw [MVP]
Date: Apr 24, 2008 06:37

Show full article (0.47Kb) · Show article thread
    

Group: microsoft.public.windows.powershell · Group Profile · Search for Darren1 in microsoft.public.windows.powershell
Author: darren1
Date: Apr 24, 2008 02:38

Show full article (0.93Kb) · Show article thread
    

Group: news.admin.netabuse.sightings · Group Profile · Search for Darren1 in news.admin.netabuse.sightings
Author: USENET n.a.n-a.s reports
Date: Nov 10, 2007 05:31

Show full article (1.59Kb)
    

Group: uk.music.guitar · Group Profile · Search for Darren1 in uk.music.guitar
Author: Steve Cobham
Date: Feb 1, 2007 09:13

Show full article (1.06Kb)