Skip to content
shell{&}co

shell{&}co

Menu

  • News
    • Bug and tips
  • Automation
    • Ansible
  • Scripts & Code
    • Perl
      • Network
    • PHP
    • Powershell
      • Active Directory
      • Citrix
      • Cluster
      • Database
      • Exchange
      • Files and folders
      • Hardware
      • Network
      • Operating System
      • PKI
      • SCCM
      • Service and process
      • Tips
      • VMWare
    • Python
      • Monitoring
      • Network
      • PKI
      • Ruby
      • Security
    • Shell
      • Backup
      • Filesystem
      • Image processing
      • Monitoring
      • Network
      • PKI
      • Process
      • Time
      • Virtualization
      • Web
  • Fun
  • Project
    • Github
    • Log Analyzer

    List the Active Directory deleted objects

    With the cmdlet Get-ADObject you will be able to list the deleted objects in your Active Directory domain Pre-requesite : import-module activedirectory Script : Get-ADObject -Filter ‘isdeleted -eq $TRUE -and name -ne “Deleted Objects”‘ -IncludeDeletedObjects -Properties * | ` Format-List

    shellandco_admin November 24, 2016 Active Directory, Powershell No Comments Read more

    Dump the user object DACL permissions

    You will find below two methods to dump the user object DACL permissions in an Active Directory domain. Script (with Microsoft Active Directory module loaded : import-module activedirectory) : import-module activedirectory $pw = read-host “Enter password” -AsSecureString $cred = New-Object

    shellandco_admin November 23, 2016 Active Directory, Powershell No Comments Read more

    Get all DCs in a forest and resolve hostname to IP address

    With this script, you will be able to get all DCs in a forest and resolve the hostnames to IP addresses. Update 11.22.2016 The DNS Shell cmdlet is not necessary in a Windows 2012R2 environment. We can use the cmdlet

    shellandco_admin November 22, 2016 Active Directory, News, Powershell No Comments Read more

    Active Directory backup check

    This script will allow you to check the Active Directory backup date on all the domains of your forest. Each domain is checked by selecting a domain controller that is running the service ADWS (Active Directory Web Services). You can

    shellandco_admin November 21, 2016 Active Directory, News, Powershell No Comments Read more

    Search an object forest wide

    This script will search an object forest wide. The search is based on a LDAP filter. In my script, the result show the mail user attributes like “toto”. Script : #Get Domain List $objForest = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest() $DomainList = @($objForest.Domains |

    shellandco_admin November 15, 2016 Active Directory, News, Powershell No Comments Read more

    Active Directory Password complexity checker

    If you have enabled the password complexity in your Active Directory domain through GPO, you probably have received complaints from the users : “I cannot find a password. Every time I try to enter a new password, a message indicates

    shellandco_admin September 13, 2016 Active Directory, News, PHP, Project, Security, Tips No Comments Read more

    Add/remove specific user based on AD attributes to/from a group

    I have written this simple script to show you how to : work with a user account found with a specific Active Directory attribute (in the example, the attribute employeeID is used) add the user account to the group with

    shellandco_admin August 30, 2016 Active Directory, Powershell No Comments Read more

    Calculate Kerberos token size

    The authentication protocol within a Microsoft infrastructure since the Windows 2000 time frame has been Kerberos. The Kerberos token leverages a predefined buffer to house authorization requests. This predefined Kerberos buffer size is set by the MaxTokenSize setting found in

    shellandco_admin August 10, 2016 Active Directory, News, Powershell, Security No Comments Read more

    Password complexity checker

    If you have enabled in your domain group policy the password complexity (see below), users will probably have some troubles to find the right password that meet these requirements. The complexity requirements are explained in the “Explain” tab of the

    shellandco_admin August 8, 2016 Active Directory, News, Powershell, Security, Tips No Comments Read more

    Check and update your GPOs for MS16-072

    Description Due to the update MS16-072, you will have to check and update your GPO permissions. Why The following article describes very well why this update have changed our policy processing : After MS16-072 is installed, user group policies are

    shellandco_admin July 12, 2016 Active Directory, Bug and tips, News, Powershell, Tips No Comments Read more
    • « Previous
    • Next »

    Recent Posts

    • Get Azure Security event workspace configuration
    • Copy certificate to the Windows Services store
    • Copy files from Windows CIFS share
    • Create a certificate from a request file with Powershell
    • Ansible – Manage multi-threading in playbooks

    Recent Comments

    • shellandco_admin on Get GDI handles by process
    • tadalafil 20 mg on Get GDI handles by process
    • รับออกแบบโลโก้ on Playing with ACL on the Active Directory objects
    • ปืนสั้นแก๊ส on Audit the Active Directory FREE
    • XxGaaabrielxX on Fake update screens
    Copyright © 2023 shell{&}co. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.