This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
'''Get LAPS password for AD Computers''' | |
# ################################################################# | |
# This script will allow an admin user with | |
# the proper domain crednetials to get a LAPS | |
# password form Active Directory. | |
# ################################################################## | |
# Original script by barteardon | |
# https://github.com/bartreardon/macscripts/blob/master/lapssearch | |
# Updated script using pyObjC: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/psupython | |
# pylint:disable=C0103, W0703, E0611, W0107 | |
'''TeamViewer 15 PreInstall Script''' | |
# This will configure our initial settings for | |
# TeamViewer version 15 and prepare for install | |
# Joshua D. Miller - [email protected] | |
# August 13, 2020 - The Pennsylvania State University | |
from os import listdir, path, remove | |
from shutil import rmtree |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/psupython | |
# pylint:disable=C0103 | |
'''TeamViewer 15 PostInstall Script''' | |
# This will add our congifuration ID to the application | |
# bundle so that any custom host module visual modifications | |
# will be downloaded from the site for each user. It will | |
# also create a launchagent that will keep the TeamViewer | |
# client running when a user is logged in even if they exit. | |
# Joshua D. Miller - [email protected] | |
# August 13, 2020 - The Pennsylvania State University |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
: ' | |
---------------------- | |
Penn State MacAdmins | |
---------------------- | |
Performs the following: | |
- Captures the current password of your local admin | |
if you know it and then changes the password to | |
the FirstPassKey | |
Notes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
: ' | |
------------------------ | |
Penn State MacAdmins | |
------------------------ | |
Performs the following: | |
- Installs the latest version of macOS by using the current copied | |
version from munki | |
Sources: | |
- https://scriptingosx.com/2019/09/get-current-user-in-shell-scripts-on-macos/ |
OlderNewer