Skip to main content

Convert video in wmv format to flv

January 19, 2017

Go to https://vcl.unc.edu/ Under reservations choose “[SOP] ffmpeg3.2.2, Windows 10 (VMware)” Once the reservation is available click connect and follow connection instructions On the remote desktop, open the bin folder shortcut Drag / drop your wmv file to this folder. … Read more

Manually uninstall kbox agent

October 11, 2016

https://support.software.dell.com/k1000-systems-management-appliance/kb/114887   MAC sudo /Library/Application\ Support/Dell/KACE/bin/AMPTools uninstall

File Creator Identity

September 28, 2016

The file “owner” attribute is set to your account when you create a file.  To find the owner of a file on Windows: Right click the file Select Properties Select the Details tab Review the Owner field

Run Powershell as Scheduled Task

September 9, 2016

In the scheduled task action, program path should point to powershell.exe and add the argument: -ExecutionPolicy Bypass -File C:\path-to-your-script.ps1

Directory Information

August 22, 2016

Example AD powershell query of directory information for School of Pharmacy members and affiliates. #define constants $UsersOU = “OU=Users, OU=Identity, DC=AD, DC=UNC, DC=EDU” $usefullFields = “LastLogonTimeStamp”, “createTimeStamp”, “Division”, “title”, “EmployeeID”, “samAccountName”, “GivenName”, “sn”, “Manager”, “StreetAddress”, “telephoneNumber” $today = get-date $sixMonthsAgo … Read more

Report Role and ACL group membership

August 17, 2016

This powershell script creates a function called send-report: e.g., $ACL_GROUPS = “DC=ad,DC=unc,DC=edu” $ACL_FITLER = “(name=SOP_*)” $MYEMAIL = “example@ad.unc.edu” $SUBJECT = “Access Report” $INSTRUCTIONS = “<p>Please review and reply with any changes.</p>” send-report -ou $ACL_GROUPS -filter $ACL_FILTER -to $MYEMAIL -subject $SUBJECT … Read more

Update Your Software

June 23, 2016

Computer updates for Microsoft Windows, Office, Adobe Acrobat, Mozilla Firefox and Java are generally available beginning the third Tuesday of each month. If no action is taken, these updates will be forcibly applied after the fourth Tuesday of each month. … Read more

Get onyen from list of PIDs

June 20, 2016

This is an example of using the powershell active-directory module to query directory information. $pidFile = ‘temp.txt’ # replace with full path to file foreach($p in get-content $pidFile){ get-aduser -ldapFilter “(employeeid=$p)” -properties employeeid | select samaccountname,employeeid }

FTE count grouped by role and division

May 5, 2016

This is an example of using the active-directory powershell module to query directory information. This script queries the Connect Carolina group structure for School of Pharmacy divisions, designated by a number between 450000 and 459999, and counts the members of each … Read more