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 group members (ADSI method)

    You can use this script to get group members in the Active Directory. It is based on the ADSI method Script $root=([ADSI]””).distinguishedName $Group = [ADSI](“LDAP://CN=Domain Admins, CN=Users,”+ $root) $Group.member My Powershell script categories Active Directory Cluster Database Exchange Files and

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

    Get the GPO Name GUID and SID

    This script allows you to get the GPO Name GUID and SID in your Active Directory domain. Script (with Microsoft Active Directory module loaded : import-module activedirectory) : Get-ADObject -Filter {(ObjectClass -eq “groupPolicyContainer”)} -Properties displayName | % { write-host $_.name

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

    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

    Free and secure password repository (PHP/JQuery/Ajax)

       Update : New features have been added : Using a new PHP tool to work with Active Directory : http://adldap.sourceforge.net/ Multiple group support Login/logout New design Fix ‘New entry’ bug Password sections are now in a configuration file Improved security

    shellandco_admin February 4, 2014 Project No Comments Read more

    Free and secure password repository

      Update :  New features have been added : Using a new PHP tool to work with Active Directory : http://adldap.sourceforge.net/ Multiple group support Login/logout New design Fix ‘New entry’ bug Password sections are now in a configuration file Search function

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