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

    Create a custom array

    Create a custom array with Powershell I will describe in this post how to create a custom array with Powershell. With “custom array”, I mean array with custom column name. In some case, you will probably need to build an

    shellandco_admin October 15, 2014 Powershell, Tips No Comments Read more

    Split a string with multiple delimiters

    Split a string with multiple delimiters I will describe in this post how to split a string with multiple delimiters. To begin and to remind you how to split a string, you can use the Powershell method “split” : $string

    shellandco_admin October 14, 2014 Powershell, Tips 2 Comments Read more

    PKI : Recover the certificate private key

    PKI : Recover the certificate private key with Microsoft tools If a certificate does not contain the private key, the following part will be blank: Follow these steps to include the private key in the certificate file : Snap-In Configuration

    shellandco_admin October 10, 2014 PKI, Security No Comments Read more

    Shared folder recycle bin clean up

    Shared folder recycle bin clean up With this script you will be able to delete the content of the recycle bin of a network shared folder. It can be very useful if the shared folder contains the home directory for

    shellandco_admin October 2, 2014 Files and folders, Network, Powershell 2 Comments Read more

    Backup/Restore all DNS zones

    Backup/Restore all DNS zones These scripts backup and restore all DNS zones on specific DNS server (source). The backup script uses the Powershell cmdlet get-wmiobject to list the DNS zone present in the WMI database and then export each zone using

    shellandco_admin September 25, 2014 Network, Powershell No Comments Read more

    Get server hostnames on which MSSQLServer service is installed

    Get server hostnames on which MSSQLServer service is installed With this simple script, you will be able to get the server names on which the MS SQL Server service is installed. First, an array is built with the computer names

    shellandco_admin September 10, 2014 Database, Powershell, Service and process No Comments Read more

    Monitor a resource failover on a cluster

    This script will help you to monitor a resource failover on a cluster. This script has been successfully tested on a Microsoft cluster running on a Windows Server 2012 operating system. The following steps are performed : use the following

    shellandco_admin September 3, 2014 Cluster, Powershell No Comments Read more

    Create DNS PTR record if A record exists

    Create DNS PTR record if A record exists. This script will help you to have a DNS PTR record for each existing A record in your DNS zone. If a A record has been created in the DNS zone ($dnsDomainName

    shellandco_admin August 20, 2014 Network, Powershell 10 Comments Read more

    Set the PwdLastSet attribute to the current date and time

    This script will help you to set the PwdLastSet attribute to the current date and time for multiple users. The user list in this script is built from an organizational unit content. You can adapt it with your own requirement.

    shellandco_admin August 14, 2014 Active Directory, Powershell No Comments Read more

    Add a SNMP permitted manager on remote hosts

    This script will help you to Add a SNMP permitted manager on remote hosts. In this example the hostname of the SNMP permitted manager is : snmpmgr01. The remote hosts name are listed in a text file (one hostname per

    shellandco_admin August 13, 2014 Network, 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.