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

    Manage reverse DNS zones with Powershell

    Manage reverse DNS zones with Powershell The script is a complete tool that will perform the following tasks: list the A records in the domain name defined in the variable $dnsDomainName for each record, check if the reverse zone exist.

    shellandco_admin February 12, 2018 Network, Powershell 1 Comment Read more

    List DNS conditional forwarders Active Directory forest wide

    With this simple script, you will be able to retrieve the DNS conditional forwarder settings in all the domain controllers in the forest. To get the list of the domain controllers in the Active Directory forest, the cmdlet get-adforest is

    shellandco_admin January 4, 2017 Active Directory, Network, Powershell No Comments Read more

    Migrate shared folder configuration to Windows Server 2012

    You need to migrate a file server shared folder from a Windows Server 2008 to a Windows Server 2012. Windows Server 2012 now contains Powershell cmdlets to interact with SMB Shared folders, but Windows 2008 not. The purpose of the

    shellandco_admin January 30, 2015 Files and folders, Network, Powershell 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

    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

    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

    Display port count per IP address

    Display port count per IP address This script checks for port exhaustion on a specific server (Source). Port exhaustion can cause all kinds of problems for your servers. Here’s a list of some symptoms: Users won’t be able to connect

    shellandco_admin August 8, 2014 Network, Powershell No Comments Read more

    Set DNS server ip address information on remote servers

    This script update DNS server ip address on the remote server network cards. The steps are the followings : retrieve from AD all the server names check if the server is responding to ping test list the current network information

    shellandco_admin May 27, 2014 Network, Powershell No Comments Read more

    Ping computer with a specific OS

    This script use WMI to ping a list of computers. Only specific OS are pinged. Script (with Microsoft Active Directory module loaded : import-module activedirectory) : $ping = new-object System.Net.NetworkInformation.Ping $list = Get-ADComputer -LDAPFilter “(|(operatingsystem=Windows XP*)(operatingsystem=Windows 7*)(operatingsystem=Windows Vista*))” ForEach ($b

    shellandco_admin May 26, 2014 Network, Operating System, Powershell No Comments Read more
    • « Previous

    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.