Tag: Scripting

AI Writing Style Detector Release

AI has a certain style of writing.  We can’t always put our fingers on it, but we can often spot the influence of AI in written communication. I recently had a discussion with a friend who is an engineering professor, and I can see their concern as it relates to AI.  On the one hand, you want students to develop certain skills.  On the other hand, you don’t want to create another “You’ll never have a calculator in your pocket” scenario that everyone will call up as a failure of your course for years to come. How to find the […]

Nutanix: How to Create a New Storage Container with PHP

I recently had a need to create a new container in an existing Nutanix storage pool from a web interface.  I did it using PHP.  I figured since I wrote the code, which is very similar to the cloning script I posted here, I may as well post this as well. The script itself is pretty self explanatory.  Put your variables in the top, and the script posts the required data to the Nutanix REST API to create the new container. One thing to note is that the API call to create a container requires you to include the UUID […]

Make Changes to Your Nutanix Cluster using PHP and cURL

In my last article, I showed a simple way to read data from a Nutanix cluster using PHP. This method was simple because it didn’t have to send any data to the cluster, just retrieve it. We simply fetched a JSON file to show the data we wanted to show. That would be a perfect solution for making a pretty, end user consumable dashboard to show select pieces of system information. What if you wanted to take action against your Nutanix cluster, however?  For example, what if you wanted to clone a VM, or create a new one, straight from […]

Use Powershell to Edit MP3 Tags

Here is a bit of a change from the usual datacenter type posts. A nameless friend of mine recently plugged her Ipod into a different PC that was set to auto-sync. It appeared to erase all of her MP3s from her Ipod without prompting or intervention.  I am not familiar with iTunes, iPods, or any Apple products, but a quick search suggested this was a common occurrence.  There are even a few software packages out there to recover the information, as the files don’t actually get deleted.  It seems just some meta data gets removed.  After running one such software […]

Generic Compellent Replay and Mounting Script

I feel like I’ve had to write and re-write this script repeatedly as I’ve needed it for various customers and tasks.  Today I figured I would post it in case anyone else will find it useful. This script is similar to the Push2Tape script that comes as a sample with the Compellent Powershell Command Set.  The difference is that the Push2Tape script doesn’t take a new replay.  It grabs the most recently taken replay.  The idea is that you control when the replay gets taken using the replay scheduling facility on the Compellent.  This is preferable in most cases, because […]