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

    Change a value in a remote registry

    With this script, you will be able to change a value in a remote registry (remote computer names listed in a host file). The registry value type can be the following (http://msdn.microsoft.com/en-us/library/microsoft.win32.registryvaluekind.aspx) : String ExpandString Binary DWord MultiString QWord $file

    shellandco_admin November 11, 2016 Operating System, Powershell No Comments Read more

    Delete the Recycle bin items older than 60 days

    This script will allow you to delete the Recycle bin items older than 60 days. The recycle bin items are listed in the system where the script is running on. ForEach ($DriveLetter in Get-PSDrive -PSProvider FileSystem) { $DelPath = $DriveLetter.Name

    shellandco_admin November 10, 2016 Files and folders, Powershell No Comments Read more

    Generate a random password with custom character sets

    With this script you will be able to generate a random password with custom character sets : define a set for the lower case characters : variable $chars_low define a set for the upper case characters : variable $chars_upp define

    shellandco_admin November 8, 2016 Powershell, Security No Comments Read more

    Local Administrator Password Solution with Powershell

    The “Local Administrator Password Solution” (LAPS) provides a centralized storage of secrets/passwords in Active Directory (AD) – without additional computers. Each organization’s domain administrators determine which users, such as helpdesk admins, are authorized to read the passwords. Source Boe Prox

    shellandco_admin October 11, 2016 News, Powershell, Security, Tips No Comments Read more

    Reset a lost local administrator password

    There are different ways to reset a lost local administrator password on a Windows system. Boot disk If you have a physical access to the machine, you can use a very useful boot disk and follow these steps: At the

    shellandco_admin October 7, 2016 News, Security, Tips No Comments Read more

    Active Directory Password complexity checker

    If you have enabled the password complexity in your Active Directory domain through GPO, you probably have received complaints from the users : “I cannot find a password. Every time I try to enter a new password, a message indicates

    shellandco_admin September 13, 2016 Active Directory, News, PHP, Project, Security, Tips No Comments Read more

    Resolve the CBS.log file size problem

    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. The exe file, sfc.exe, generates a log file called %windir%\Logs\CBS\CBS.log. The Sfc.exe program writes the details of

    shellandco_admin September 12, 2016 News, Operating System, Powershell, Tips No Comments Read more

    ServiceNow workflow, Powershell and JSON

    ServiceNow provides ITSM solutions and products: Configuration Management Database Edge Encryption Knowledge Management Performance Analytics Reporting Service Catalog Service Portal Designer Subscription Management Visual Task Boards Workflow The last feature is very interesting. Each workflow can contain “activities”. These activities

    shellandco_admin September 1, 2016 Powershell, Tips No Comments Read more

    Add/remove specific user based on AD attributes to/from a group

    I have written this simple script to show you how to : work with a user account found with a specific Active Directory attribute (in the example, the attribute employeeID is used) add the user account to the group with

    shellandco_admin August 30, 2016 Active Directory, Powershell No Comments Read more

    Calculate Kerberos token size

    The authentication protocol within a Microsoft infrastructure since the Windows 2000 time frame has been Kerberos. The Kerberos token leverages a predefined buffer to house authorization requests. This predefined Kerberos buffer size is set by the MaxTokenSize setting found in

    shellandco_admin August 10, 2016 Active Directory, News, Powershell, Security 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.