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

    Get the Active Directory forest functional level

    Get the Active Directory forest functional level Script : import-module activedirectory Get-ADForest | select forestmode My Powershell script categories Active Directory Cluster Database Exchange Files and folders Hardware Network Operating System PKI SCCM Service and process Tips VMWare Reference Get-ADForest

    shellandco_admin February 4, 2014 Active Directory, Powershell No Comments Read more

    Get the folders ACL (owner and NTFS rights)

    This script is useful if you want to scan a root folder and get the acl (owner and NTFS security rights) of the subfolders. Script : $rootfolder = Get-ChildItem -Path \\server\user_home_root_folder foreach ($userfolder in $rootfolder) { $userfolder.FullName get-acl $userfolder.FullName  |

    shellandco_admin February 4, 2014 Files and folders, Powershell 1 Comment Read more

    Get Enabled or Disabled Computer Accounts

    Here’s a quick workaround for the lack of -Enabled switch for Get-QADComputer. Unlike Get-QADUser it does not currently have the switch, however, so these two oneliners will come handy should you want to efficiently filter computers by their enabled/disabled status

    shellandco_admin February 4, 2014 Active Directory, Powershell No Comments Read more

    Get distribution lists and “Managed by” username

    With this script you will be able to get distribution lists and “Managed by” username. Script (with Microsoft Active Directory module loaded : import-module activedirectory) : get-adgroup -filter ‘groupCategory -eq “Distribution”‘ -Properties distinguishedname, managedby | ` select distinguishedname, managedby Script

    shellandco_admin February 4, 2014 Active Directory, Powershell No Comments Read more

    Check the AD replication status forest wide and send HTML report

    Check the AD replication status forest wide and send HTML report Description : This script uses the output of the repadmin command (repadmin /showrepl) to check the AD replication on all the domain controllers and naming contexts all over an

    shellandco_admin February 4, 2014 Active Directory, Powershell, Project No Comments Read more

    Change Data source in ODC files

    This script updates the data source in ODC (Office Data Connection) files. This kind of file is a connection information file that contains properties to connect to, and retrieve data from an external data source or a Reporting Services Report. It includes

    shellandco_admin February 4, 2014 Files and folders, Powershell No Comments Read more

    Audit Active Directory changes

    Purpose : Audit Active Directory changes (user/group creation, deletion, changes and GPO changes) Pre-requesites : Windows 2003 or 2008 domain controllers Install powershell on the Windows 2003 DCs A web site with http,ftp and php features enabled Powershell script to

    shellandco_admin February 4, 2014 Active Directory, Powershell, Project 1 Comment Read more

    Audit Active Directory 2

    There is a new version for the Active Directory Audit : Here Bug fix : The timestamp is not correct in the table : AD Event Audit Date Event ID Action Change Details Modify by 0000-00-00 00:00:00 4723 An attempt

    shellandco_admin February 4, 2014 Active Directory, Powershell, Project No Comments Read more
    • 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 © 2025 shell{&}co. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.