![]() Most commonly we end up downloading a lot of pdf files from the internet and thus the script shared below comes in handy to remove such files. Why not automatically delete some of the files, let’s say by type? We all have faced such a situation and struggle with manually deleting irrelevant files which are painstakingly difficult – is there a solution? Certainly. If you have been using your machine for a while now, there is a high chance you would have a messy Downloads folder. In this post, we are going to discuss three of the most useful applications of Python and its libraries to automate usual tasks on a desktop. Simple mundane tasks like responding to emails, downloading videos, sending text messages at a particular time of the day to a set of recipients, reading emails out loud, etc can be automated easily with the help of Python. As machine learning and AI become mainstream, it is widely getting prominence as it is straightforward to learn. When it comes to programming, Python is a much sought-after and easy-to-use language used for automating some of the repeated tasks. Humanity has reaped significant benefits and enjoyed ease by automating and delegating mundane tasks to machines. The world has always been automating something or the other, be it using simple machines, assembly lines, robots, or computers for processing transactions. Shows the jamf.log so you can quickly log in and see if your policies are deploying or why something is not working.Whether it's a ten-minute food delivery or ever-so-available content at on-demand services, we all are accustomed to getting things done at our fingertips. You may need to edit the values in the script because some serial numbers need either 3 or 4 of the characters sent to the Apple Website. Shows the current warranty status of the machine. Shows what users are on the system and the UID. Shows how many are actually installed and lists them. This is useful for troubleshooting staff machines which rarely get rebooted. Shows when the last reboot, shutdown, and wake time (with wake reason). I typically set the NetBIOS Name to the serial number, as it is less than 15 characters and always unique. Macs actually have more than one “computer name,” and each is displayed so you can verify consistency. OS X remembers networks you have connected to, so this text turns red if the guest network (set the value in the script) is found in the list of preferred networks. I often ran into the problem where someone will connect a computer to the guest network, which is bad because it is slower and they won’t be able to access any printers or other network resources. In an enterprise setting, there are often two networks running side-by-side, a guest network and the secure one for employees. It will also show the current IP address Preferred Networks If it is not the desired network (set this variable in the script), the text is red. It also shows the current IP address, if applicable. The text also changes color here from red to green (disconnected or active connection respectively). So instead of going into Network Preferences and watching the jellies change color, I just wait for the verbal cue (via the say command) letting me know that the Ethernet is active. Often, I have needed to just test an ethernet connection. ![]() There is a verbal cue that the ethernet is unplugged. It will also show the current version of the jamf binary, which can cause issues if it differs from the version of the JSS. The text is green if it is, and red if there is no link. This shows if this computer and the JSS are communicating. You can download the scripts from MacOSXTips. I set it to deploy to all my machines on the local admin account so when I log in to troubleshoot a device, I have all the information right at my fingertips. It provides a ton of the regular information you access but instead of clicking around to find it, it is all there when you log in. If you work with the Casper Suite or are a System Administrator, you will probably enjoy this GeekTool setup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |