Preston K. Parsard's Projects
This project will hold AutoCloudArc brand images and other artifacts.
This script takes administrative ownership of files and folders from individual users and resets permissions. This script will process users home folders based on the user names obtained from a set of input files. The input files are automatically generated by the script and processed in batches specified by the $BatchLimit variable.
This script enables user accounts based on the value of it's extendedAttribute11. Any extensionAttribute can be used, but the corresponding lines indicating the attribute used will have to be updated. This value is a string data type representing the date that the user account is to be activated. It must use the format: YYYY/MM/DD, and MM and DD values must be padded, where 2016/1/1 is represented as 2016/01/01. The script can be scheduled to run daily as a scheduled task.
This script will recursively enumerate and log the ACL list of a specified directory and all its associated subdirectories and files. You will be prompted for the target path and log path where the ACL list will be recorded. The following information will be reported for each folder, subfolder or file: Full path, owner and the access control entries, consisting of the principal, access control type [AC TYPE], ie. Allow and rights [RIGHTS] such as Modify or Full Control. When the script completes, you will be prompted to open the log file and review the results.
The Write-TextToSpeech function speaks the specified content with either an installed female or male voice, which is based on the Microsoft .NET Framework SpeechSynthesizer class. EXAMPLE: Write-TextToSpeech -Text "Hello World" -Gender [Female or Male]. This function can also be used to supplement logging operations in a script or to narrate script logic during demonstrations.
This function, New-RandomString.ps1, generates a fixed length string of 12 characters, consisting of a set of character types that you specify, such as uppercase, lowercase, numbers and special characters. It is convenient to generate random strings multiple times from the same script, but with different character set combinations. Some scenarios for which this function can be used includes; For passwords. In Azure, a minimum password length of 12 characters is required, also Azure storage account names only accept lowercase and numeric characters, and Azure Site-To-Site VPN shared keys do not accept special characters.
Takes administrative ownership of files and folders from individual users and resets permissions. #CONFIG tags are used to indicate which variables you will need to change to reflect own environment during script exectuion. Permissions will be set to individual user and user subfolders based on what is confgiured at the \\<server-fqdn\home level.
This script will create up to 3 Windows Server 2016 and 3 Linux Servers: 1 x Ubuntu 16.04 LTS, 1 x CentOS 7.3 and 1 x openSUSE-Leap42.2 to demonstrate how PowerShell can be installed and configured to run on each of the Linux distributions.
This script will export rules from an existing NSG to a new NSG, as well as associate the new NSG to a target, then disassociate the original NSG from it's target.
This script will recursively enumerate and log a directory with all its associated subdirectories and files.
This template deploys a new automation lab environment that can be used for training, practice and demonstrations for Azure Automation, Windows Powershell, Windows Powershell DSC, PowerShell Core and Powershell DSC for Linux topics. For a more detailed explanation of the use cases for building an atuomation lab, please see: https://www.linkedin.com/pulse/how-build-automation-lab-6-easy-steps-parsard-cissp-ccsp-cita-f/
These Azure CLI scriptlets are small, single function script samples for provisioning and configuring resources in Azure
This project uses a document encryption certificate to encrypt and decrypt service account passwords used to execute interactive or scheduled scripts or commands.
This project allows you to configure a simple standalone single tier PKI solution Enterprise Root CA using Active Directory Certificate Services on an existing Azure hosted VM.
Provisions Azure AD identities and roles for role based access control to subscription resources.
This runbook will generate a recommendation report for the specified management group.
This sript will produce a CSV file with the Azure VM updates history by machine using the Azure Resource Graph
Consolidate Az Cloud Shell profiles in a single storage account within a tenant
Migrate existing legacy Azure Log Analytics Agents to the upgraded Azure Monitoring Agents or provision the new Azure Monitoring Agents to Azure.
Simple project to test and demonstrate scenarios for Azure Functions Access to Azure Storage Files and Blobs.
Bicep intro level exercises
Test and demonstrate various scenarios for calling a workflow from a different repository belonging to the same owner
Demand forecasting example for AutoCloudArc blog post with Parts Unlimited and AdatumArc
Deploy the CAF Azure Landing Zone demo configuration using an Azure Service Principal for authentication.
Azure Deployment Environment catalog