Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Recovering Deleted User Ad account throught Active Directory powershell

    http://smtpport25.wordpress.com/2009/04/22/recovering-deleted-user-ad-account-throught-active-directory-powershell/ We can recover any Active Directory deleted object with in the Tombstone period. Tombstone lifetime can be found in active directory using below steps • Load the ADSIEdit snap-in by...
    Posted to Active Directory (Forum) by Krishna on 06-01-2009
    Filed under: Active Directory, User, Recover
  • Powershell to Get the count of user objects in Active Directory using LDAP Query

    Below powershell helps to get the list of user count from the Active Directory $Domain = 'LDAP://DC=domain;DC=com' $Root = New-Object DirectoryServices.DirectoryEntry $Domain $select = New-Object DirectoryServices.DirectorySearcher $select.SearchRoot = $root $adobj= $select.findall() |? {$_.properties...
    Posted to Active Directory (Forum) by Krishna on 09-12-2009
    Filed under: Active Directory, PowerShell
  • Powershell to list of users who last log in older then 30 days

    Some times we may wanted to get list of users last logon time. This command helps you the get list of all the users who lastlogontimestamp is older then 30 days or 60 days Get-QADUser -sizeLimit 0 | where {$_.lastlogontimestamp -lt (get-date).AddDays(-30)} | Select NAme,lastlogontimestamp Get-QADUser...
    Posted to Active Directory (Forum) by Krishna on 09-12-2009
    Filed under: Active Directory, PowerShell, lastlogontimestamp
  • Windows 2008 R2 Powershell

    Widows 2008 R2 comes with powershell v2 by default. and added with 76 new Ad cmdlets and Ad provders New-ADOrganizationalUnit -Name "OUname" -ProtectedFromAccidentalDeletion $true This command creates new OU under the root. If we wanted created OU in specific path then we have to provide the...
    Posted to Windows Server 2008 R2 (Forum) by Krishna on 10-29-2009
    Filed under: Active Directory, powershell v2, OU, new-adorginizationunit, windows 2008, r2, powershell
  • Import-Module ActiveDirectory in Windows 7

    Default windows ActiveDirectory Cmdlets is only Available on windows 7 and windows 2008 R2. Installing ADcmdlets we need to install RSAT in windows 7 machine. When installing RSAT, make sure you drill down into, AD DS and AD LDS Tools Open powershell console and then type below mentioned command.This...
    Posted to Windows 7 (Forum) by Krishna on 10-29-2009
    Filed under: active directory, windows7, adcmdlets, import-module
  • Active Directory Management with PowerShell in Windows Server 2008 R2

    By Jonathan Medd One of the first things you notice with Windows Server 2008 R2 is that PowerShell 2.0 has become central to the admin function There is a powerful Active Directory module for Powershell that contains a provider and cmdlets that are ... Read More
    Posted to Active Directory (Forum) by ps2 on 12-03-2009
    Filed under: Active Directory, Module, Scripting, Web Service
  • Active Directory Management with PowerShell in Windows Server 2008 R2

    By Jonathan Medd One of the first things you notice with Windows Server 2008 R2 is that PowerShell 2.0 has become central to the admin function There is a powerful Active Directory module for Powershell that contains a provider and cmdlets that are ... Read More
    Posted to Active Directory (Forum) by ps2 on 12-05-2009
    Filed under: Active Directory, Module, Scripting, Web Service
  • Re: how to check active server in the custom OU using powershell ?

    As Richard said, you just need to add: $OnlineServers = @() before the line: Get-QADComputer -SearchRoot 'domain.com/Active Servers' -OSName "Windows*Server*" | %{ If you use PowerShell V2 which has a nice little cmdlet Test-Connection, you can see the real power of PowerShell pipeline...
    Posted to General (Forum) by Aleksandar on 09-28-2010
    Filed under: Active Directory, Array, test-connection
  • AD authentication metrics

    As I'm learning PS, one item I'd like more insight on is how to gather Active Directory authentication metrics. We have a multi-domain forest with global presence. Given a list of DCs, how can I get authentication metrics for a given time period of per second or minute. I presume this would involve...
    Posted to Ask Don Jones (Forum) by fergusg on 02-27-2012
    Filed under: Active Directory, authentication
  • Re: Error: You must provide a value expression on the right-hand side of the '*' operator.

    Appreciate your help I am getting a different error: PS C:\Users\Administrator.TXDC01> Import-CSV c:\import_1.csv | Select * @{Name="SamAccountName";Expression={$_."SamAccountName"}}, @{Name="sn";Expression={$_."Last Name"}}, @{Name="GivenName";Expression...
    Posted to Ask Don Jones (Forum) by omarL425@hotmail.com on 02-29-2012
    Filed under: Active Directory
Page 1 of 12 (118 items) 1 2 3 4 5 Next > ... Last »
Copyright 2012 PowerShell.com. All rights reserved.