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
  • Re: Active directory | Primary Group

    This solution uses ADSI and the .NET Framework to retrieve the name of the user's primary group: $rootDN = ([adsi]"").distinguishedName $user = [adsi]("LDAP://CN=testuser,OU=Test," + $rootDN) $groupID = $user.primaryGroupID $arrSID = $user.objectSid.Value $SID = New-Object System...
    Posted to Active Directory (Forum) by Aleksandar on 08-07-2009
    Filed under: Active Directory, ADSI, group, User, SID, primary group
  • 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
  • NewBee needs some help with Get-member

    I am just beginning to learn powershell and I am trying to determine some of my older Active Directory account that have not logon in over 30 days. I have the quest snapin for Active Directory Manament added and registered. The command I am using and is not working is the follwoing. Get-qaduser |get...
    Posted to Active Directory (Forum) by dtougas on 05-20-2010
    Filed under: Active Directory
  • 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
Page 1 of 4 (32 items) 1 2 3 4 Next >
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.