Public sharing of scripts created in free my time and for needs in career.
I will attempt to do complete Get-Help Syntax for all scripts posted. I try to ensure credit given for any code taken from others and request same be followed for my code.
Current Repo structure (Note if you make changes and a script calls on an other it may break the script)
ActiveDirectory ADSetup.ps1 o Configure Active Directory (AD) for Organizational Units instead of containers for Computers and Users. o Allow for Group Policies to be targeted to Computers and Users OUs
ContractorReport.ps1 o This function will pull report of all staff configured as EmployeeType=Contractor and generate a HTML report. Convert-InputToDN.ps1 o Convert a DN to a Canonical name, and back again. Get-ADGroupAllowedSenders.ps1 o Check allowed senders to a mail enabled group Get-MSRSAT.psm1 o Install Microsoft Remote Server Admin Tools (RSAT). o Determines OS Type (Server/Consumer), Version (7/8/8.1/10) and Processor Architecture o Will prompt to accept cookies to download. Get-SPSADUser.ps1 o Modification of stock Get-ADUser for Shakopee Environment Invoke-ScheduledTaskRemote.ps1 o Execute scheduled task on remote server Remove-ADGroupAllowedSenders.ps1 o Remove user from allowed senders of a mail enabled group ServiceAccountReport.ps1 o This function will pull report of all staff configured as EmployeeType=ServiceAccount and generate a HTML report. Set-ADGRoupAllowedSenders.ps1 o Set allowed senders to a mail enabled group Test-SPSADUserExists.ps1 o Find out whether a given Active Directory user (samaccountname) exists
GSfE (Google Suit for Education)
IdentityAutomation (Automation and SSO platform) IDAutoByPassReport.ps1
JAMFPro (Apple MDM platform)
Get-O365EncryptedCredentials.ps1 o Check for O365 user and credential files: o user.txt - Contains O365 UPN o cred.txt - Contains encrypted O365 password o Load saved Office 365 Credentials from Set-O365EncryptedCredentials.ps1 and either pass or test present Get-SPSO365Credentials.ps1 o Re-write of Get-O365EncryptedCredentials.ps1 into rough function Install-O365Modules.ps1 o Check for O365 user and credential files: o user.txt - Contains O365 UPN (Optional) o cred.txt - Contains encrypted O365 password (Required) o Execute PoSH connect to validate credentials o Installs missing modules for: Active Directory Online, Lync Online, SharePointOnline, ExchangeOnline and Office 365 for an organization. Invoke-O365AzureSync.ps1 o Run Azure (DirSync) on dedicated remote server New-O365PSSession.ps1 o Connect to O365 o If Encrypeted path available will use that otherwise prompts for credentials. Remove-O365PSSession.ps1 o Remove open O365 PSSessions Set-O365EncryptedCredentials.ps1 o Create following files for use in auto login for O365: o user.txt - Contains O365 UPN o cred.txt - Contains encrypted O365 password Set-SPSO365Credentials.ps1 o Re-Write of Set-O365EncryptedCredentials.ps1 Test-O365EncryptedCredentials.ps1 o Load Credentials via Get-O365EncryptedCredentials.ps1 o Execute MSOnline (Active Directory Online) connection to validate credentials . o Will prompt to close when complete to close MSOnline session