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

    Monitor the Software registry hive size + send report by email

    Purpose : The purpose of this script is to send a daily report with the following informations : – hostname – software registry hive size This script has been written to get a status of our SQL server with the

    shellandco_admin February 4, 2014 Operating System, Powershell, Project No Comments Read more

    Monitor locked out user accounts

    Purpose : The purpose of this project is to monitor Active Directory when a user account is locked out in a mixed DC OS (Windows 2003 and 2008). There are two scripts : the logging script runs on each domain

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

    Monitor if a process is frozen

    This script will be useful if you want to monitor if a process is frozen or not. The process manage files in a specific location (read, write and delete). The purpose is : check the number of files in the

    shellandco_admin February 4, 2014 Powershell, Service and process No Comments Read more

    Monitor certificate expiration

    UPDATE : – new HTML template – added two informations : Root and Subordinate CA CRL expiration dates in the report Purpose : This project is a simple script to monitor the certificate expiration. When a certificate is about to

    shellandco_admin February 4, 2014 PKI, Powershell, Project No Comments Read more

    Monitor Active Directory database backup + report sent by email

    The purpose of this project is to receive every day an email containing the status of the Active Directory database backup of all the domain controllers in a forest. I use the result from the following command : repadmin /showbackup

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

    Kill all instances of the same process name

    This script kill all instances of the process “Robocopy” Script : (get-process |where {$_.processname -eq “Robocopy”}) | stop-process Reference : Using the Stop-Process Cmdlet Terminating a Process Syntax Stop-Process -name string[] [-passThru] [-Force] [-confirm] [-whatIf] [CommonParameters] Stop-Process [-id] Int32[] [-passThru]

    shellandco_admin February 4, 2014 Powershell, Service and process No Comments Read more

    Group policy – Server access restriction

    This project describes how to use the Active Directory group policies to restrict access on domain member servers. The needs are the following : Unauthorize remote logon (RDP) for the service accounts Add the service accounts to the local Administration group Add specific

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

    Get user group membership

    This script gets the group membership of a specific username Script : (GET-ADUSER –Identity username –Properties MemberOf | Select-Object MemberOf).MemberOf Reference Get-ADUser Syntax Get-ADUser -Filter [-ResultPageSize ] [-ResultSetSize ] [-SearchBase ] [-SearchScope { | | }] [-SearchScope { | |

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

    Get the VMware tools status and version for all guests

    This script connect to your VI Server, then retrieve all the virtual machine names and get the VMware tools status and version. Script: Connect-VIServer -Server VIServerName get-vm | % { get-view $_.ID } | select Name, @{ Name=”hostName”; Expression={$_.guest.hostName}}, @{

    shellandco_admin February 4, 2014 Powershell, VMWare No Comments Read more

    Get the virtual desktop uptime

    This script lists the following informations : list all the VDI workstations from your VMware connexion servers that host the ldap database DC=vdi,DC=vmware,DC=int get the username assigned to the VDI check if the VDI is reachable (ping) and then get

    shellandco_admin February 4, 2014 Powershell, VMWare 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.