Category: Uncategorized

Disable or Warn Inactive Users

SYNOPSIS:Disable-InactiveUsers.ps1 Disable or warn inactive users that their accounts will be disabled. This script requires the AD comandlets and the ImportExcel module. DESCRIPTION: Disables Inactive users if the -Remediate switch is used. Writes user accounts that would be disabled to file if the -Remediate switch is not used. Creates a folder structure if doesn’t exist. […]

Refactoring

Refactoring. What is it and how does it fit into the pragmatist approach to scripting?From Wikipedia:“In computer programming and software design, code refactoring is the process of restructuring existing computer code without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software (its non-functional attributes), while preserving its […]

Experiment with PowerShell and ServiceNow using ServiceNow free Developer Instance

Problem Statement: If the company you work for doesn’t use ServiceNow, or perhaps it does but you are unable to get the needed privilege’s to access it using the SNOW REST API. What to do? Solution: The ServiceNow Developer program. Through this program you are given full access to a ServiceNow instance at no cost. […]