Please Note

The software is provided to you "as is". Any use of this software is entirely at your own risk!

Filter by tag:

AD Email Attribute Updater

PowerShell script which was created to assist in checking and updating users proxyAddresses and EmailAddress attributes within Active Directory for use with O365.

Version: 1.5
Tags: PowerShell Microsoft
Last Updated: 17-09-2019
Total Downloads: 204

Script Actions

  1. Sets domain and other misc variables
  2. Creates user group arrays
  3. Checks if the users proxyAddresses attribute is populated with the correct data
  4. If data is not correct, clears the data and sets email aliases to the proxyAddresses attribute
  5. Checks if the users EmailAddress attribute is populated with the correct data
  6. If data is not correct, clears the data and sets email address to the EmailAddress attribute
  7. Outputs the results

Requirements

  • Active directory with added exchange attributes
  • Change of script variables to suit school

Current Issues

Planned Features

Changelog

1.5
  • Fixed if condition to have -Or and to have second query to include the condition (was only activating on first proxyaddress entry)
  • Removed setting for staff mail attribute, let UserSyncTool add eduMail entry for the staff mail attribute
    • staff required edumail address to be used with local AD password expiry PS script
    • email is hidden in o365 for staff accounts to mask edumail address
  • Reconfigured primary email for staff smtp -> SMTP
1.4
  • Fixed SMTP typo (was smpt)
1.3
  • Added better student group filtering
1.2
  • Set Staff Primary email to T0 Number instead of name
1.1
  • Add advanced filter to only build specific Student OU array
  • Configured connection to Internal Exchange for testing before running on O365
  • Sorted Student OU's to be processed starting from 07A onwards
1.0
  • initial release

AD Password Expiry Reminder

PowerShell script which was created to send reminder emails to staff when their password is going to expire.

Version: 1
Tags: PowerShell Microsoft
Last Updated: 17-09-2019
Total Downloads: 77

Script Actions

  1. Sets environment variables and checks program path for log file, etc.
  2. Imports the Credential Manager Module and checks if an entry exists to use for SMTP authentication to send emails.
  3. Get users From AD who are in the group which are Enabled, Passwords Expire and are Not Currently Expired.
  4. Checks each user against their set password policy settings and sends an email if the date is within the set expiry days.

Requirements

  • Change variables to suit your environment
  • Credentials to use for sending email through SMTP
  • Credential Manager Module (https://www.powershellgallery.com/packages/CredentialManager/2.0)
  • A generic credential stored in Windows Credential Manager named 'smtpcreds'

Current Issues

Planned Features

  • Create more attractive html mail template

Changelog

1.0
  • initial release

MAC Create Desktop Shortcuts

AppleScript which was created as a tool to create necessary desktop shortcuts for students.

Version: 1.1
Tags: Apple AppleScript
Last Updated: 17-09-2019
Total Downloads: 183

Script Actions

  1. Creates the configured array of shortcuts if not already installed.

Requirements

  • Change of script variables to suit school

Current Issues

Planned Features

Changelog

1.1
  • initial release

MAC Export Computer Info

AppleScript which was created as a tool to assist with exporting computer information for entering into Disco database.

Version: 1.2
Tags: Apple AppleScript
Last Updated: 17-09-2019
Total Downloads: 196

Script Actions

  1. Obtains the following from users machine for extract to text file
    • script start time
    • machine hostname
    • machine serial
    • local machine username which is currently running this script
    • network username (when combined with mount network shares script)
  2. - Export data into a csv formated text file

Requirements

  • Change of script variables to suit school

Current Issues

Planned Features

  • Support to save to network share (combine with wirless and mount network shares scripts)
  • Support to run PHP script to connect to Disco database and add entries?

Changelog

1.2
  • removed user prompt to create text file
  • fixed some -10004 errors
1.1
  • initial release

MAC Mount Network Shares

AppleScript which was created as a tool to assist students mounting SMB network shares.

Version: 1.1
Tags: Apple Network AppleScript
Last Updated: 17-09-2019
Total Downloads: 158

Script Actions

  1. Prompts the user for their username
    1. The username is run through a series of validation checks comprising of the following:
      1. Checks if the first three characters within the username are letters.
      2. Checks if the characters from the forth character onwards are integers.
      3. Checks if the total characters of the username equal 7.
    2. Displays notifications of incorrect entries and returns to prompt for username if incorrect.
    3. Prompts the user for their password which is masked.
      1. Checks if the password is left blank and returns if empty
    4. Checks if share is already mounted, if not, attempts to mount network share with username and password entered by user
      1. If this attempt fails, it will re-prompt for the username and password
    5. Checks if alias of mount is created on desktop, if not, attempts to create an alias to the users desktop

Requirements

  • Connectivity to network
  • Change of script variables to suit school

Current Issues

Planned Features

  • re-code to use array of shares to neaten code
  • bind to AD for the ability to obtain users home drive path

Changelog

1.1
  • initial release

MAC Wireless Profile Installer

AppleScript which was created as a tool to assist students connecting to the eduSTAR.net network.

Version: 1.4
Tags: Apple Wireless AppleScript
Last Updated: 17-09-2019
Total Downloads: 216

Script Actions

  1. Checks if the new wireless profile is already installed
  2. User prompt for option to re-install the wireless profile
  3. Removes any specified old wireless profile
  4. Installs the wireless profile if not found, or if a forced re-install is selected
  5. Checks if the wireless interface is disabled, and if it is, enables the interface
  6. Checks if the wireless has connected to the eduSTAR wireless network, if not, removes the eduSTAR network and re-adds it with an index of 0
    (this helps avoid issues with more preferred networks trying to connect...)
  7. Checks if the wireless network has obtained the correct specified IP address range, if not, restarts the wireless interface
  8. Continually checks until it obtains the correct specified IP address range
  9. If fails after all of the above, displays an alert

Requirements

  • Mobileconfig wireless profile
  • Change of script variables to suit school

Current Issues

  • interface 0 is not always mapped to the wireless interface
  • some 'profiles' commands don't work in some versions of MAC OS
    • cannot assign username with 10.10.x or below
      • If no username is assigned, the user must constantly enter their username and password
    •  

Planned Features

  • check to obtain interface of wireless device
  • checks to check support for old versions of MAC OS

Changelog

1.4
  • some logic re-worked to better connect to the wireless network
  • converted 'no profile found' dialog to notification to skip user interaction
  • removed use of 'whoami' command and replaced with 'id' command
  • added notifications when removing/adding profiles
  • included the removal of old cert, if found (instead of during forced re-install option)
    • this may not work with older MAC OS versions (previous to 10.12.x)
  • added network info to notification when wireless is connected
  • replaced use of 'head' command with 'sed' command
  • use 'networksetup -getinfo Wi-Fi' to display network info
  • added code to abbreviate school name to fit in some notifications
  • added version number to the dialog boxes
1.3
  • added checkNetwork variable to shorten code
  • added 'check machine time is correct' on error alert
  • changed wirelessNetwork to broadcast address
1.2
  • removed oldProfilePath varialbe (not required)
  • fixed compatibility with spaces within paths and files
1.1
  • initial release

O365 AD User UPN Change

PowerShell script which was created to change users UPN in O365.

Version: 1
Tags: PowerShell Microsoft
Last Updated: 17-09-2019
Total Downloads: 110

Script Actions

  1. Sets variables
  2. Prompts for user credentials for O365
  3. Connects to O365
  4. Obtains all members of 'Staff' Group from using Object ID
  5. Staff T0 is not their UPN for O365, so must get this from the Primary SMTP proxyAddress entry
  6. Obtains the first x amount of characters after SMTP: to get the users username set in proxyAddresses
  7. Sets variables for users correct UPN and their current UPN and checks if they match
  8. If no match is found, changes the users UPN to the correct one

Notes:

Make sure all users that you want to exclude from this list are added (line 49)

Requirements

  • Connection to O365
  • Change of script variables to suit school

Current Issues

Planned Features

Changelog

1.0
  • initial release
Download Tags Size File Version Last Modified Downloads
AD Email Attribute Updater PowerShell Microsoft 2 kB1.517-09-2019204
AD Password Expiry Reminder PowerShell Microsoft 3 kB117-09-201977
MAC Create Desktop Shortcuts Apple AppleScript 74 kB1.117-09-2019183
MAC Export Computer Info Apple AppleScript 78 kB1.217-09-2019196
MAC Mount Network Shares Apple Network AppleScript 82 kB1.117-09-2019158
MAC Wireless Profile Installer Apple Wireless AppleScript 82 kB1.417-09-2019216
O365 AD User UPN Change PowerShell Microsoft 2 kB117-09-2019110
7 Total Item(s) , 0 New Item(s) 1144 Total Downloads