Archiv rubriky: Active Directory

jak konvertovat cislo(lastlogon) do formatu TIME, how convert „lastlogon“ to time format

(get-ADuser username -properties lastlogon).lastlogon [datetime]::FromFileTime(lastlogonnumber) or [datetime]::FromFileTime(lastlogonnumber).ToString(‚d MM‘)

Rubriky: Active Directory | Komentáře nejsou povolené u textu s názvem jak konvertovat cislo(lastlogon) do formatu TIME, how convert „lastlogon“ to time format

Events – Events 1659, 1481, and 1173, „The naming context is in the process of being removed or is not replicated from the specified Server“

After remove domain from forest I cannot replicate rest of domain without error „The naming context is in the process of being removed or is not replicated from the specified Server“. Microsoft offer HOTFIX for that ! „: http://support.microsoft.com/kb/2413670/en-us Hotfix you … Celý příspěvek

Rubriky: Active Directory | Komentáře nejsou povolené u textu s názvem Events – Events 1659, 1481, and 1173, „The naming context is in the process of being removed or is not replicated from the specified Server“

The request contains no certificate template information 0x80094801

  certreq -submit -attrib „CertificateTemplate:NameOfTemplate“ <Cert Request.req>

Rubriky: Active Directory, Exchange Server / Exchange Online | Komentáře nejsou povolené u textu s názvem The request contains no certificate template information 0x80094801

how get memberof group for specific user Powershell

get all property Get-Aduser -identity username -properties * get member of group Get-Aduser -identity username -properties memberof | fl sort output to good shape (Get-Aduser -identity username -property memberof).memberof -replace „\,.*“

Rubriky: Active Directory, Powershell | Komentáře nejsou povolené u textu s názvem how get memberof group for specific user Powershell

enable recycle bin Server 2008 r2

Enable-ADOptionalFeature –Identity ‘CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=mydomain,DC=local’ –Scope ForestOrConfigurationSet –Target ‘mydomain.local’ you can use -whatif on the end of command and check up what will happen without risk   🙂    

Rubriky: Active Directory | Komentáře nejsou povolené u textu s názvem enable recycle bin Server 2008 r2