PowerShell One-Liner: SC Series storage class and RAID level allocations

Posted Leave a commentPosted in Compellent, Dell, PowerShell

With the PowerShell SDK for Dell EMC SC Series arrays, you can easily retrieve volume information including allocated, free, and used space.  But what if you’re looking for RAID allocations on the entire array?  Like how much RAID10, RAID5 or RAID6 is allocated across all of your tiers?  That’s easy too:

Get-DellScStorageTypeClass -ConnectionName <connectionName> | foreach { Get-DellScStorageTypeClassStorageUsage $_.InstanceId -ConnectionName <connectionName> } | Select AllocatedSpace,FreeSpace,UsedSpace,InstanceName | ft

From these couple handy cmdlets strung together, you’ll get exactly what you’re looking for:


Dell Storage Volume Cleanup with PowerShell

Posted 2 CommentsPosted in Compellent, Dell, PowerShell, Scripting, Tips and Tricks

If you’re new to PowerShell with Dell Storage, be sure to take a look at this post.  Depending upon the size of system that your managing, over the course of time, you might have experienced some challenges in managing disk resources, especially if you’re using an array in a lab-type environment.

Here’s an easy way to inventory volume objects on your SC Series array which are not currently mapped, and also find out how much actual space they’re consuming. (more…)

PowerShell Scripting Options for Dell Storage

Posted 2 CommentsPosted in Compellent, Dell, PowerShell, Scripting, Storage

Back in 2008, Compellent released their first iteration of the PowerShell Command Set.  They were the first storage vendor on the scene to provide PowerShell automation capabilities with the Series 40 array.

Fast forward a bunch of years.  The PowerShell Command Set has grown from 50 cmdlets to over 100, and added the capability to work with more advanced features like replication and Live Volume. (more…)

Be More Fluid with the New Storage Center Command Set for PowerShell

Posted 2 CommentsPosted in Compellent, Development, PowerShell

Windows PowerShell was designed as a scripting language to help IT administrators automate repetitive tasks that could otherwise be error-prone by nature and in return free administrators to focus on other activities of the IT Pro. 

We began the voyage over two years ago in expanding the capabilities of automation with the Compellent Storage Center by creating the Compellent Storage Center Command Set for Windows PowerShell.  As the first storage vendor on the PowerShell scene, we offered over 60 cmdlets in our 1.0 release to handle anything from user management and alerting, to storage provisioning and volume management for the Windows platform.

In just a short time from now, Compellent will be releasing its new version of the Storage Center Command Set 6.0.  This new version includes a number of features including new cmdlets that support the configuration and management of a new Storage Center feature called Live Volume, as well as Remote Instant Replay.  Along with new features, the syntax of many of the existing cmdlets have changed to simplify their use, provide naming consistency across cmdlets, as well as increase the availability of pipelining results from one cmdlet to another.  Watch for future posts where we’re cover some of the newness in more detail.

How is PowerShell and the Compellent Command Set being used in your environment?  Leave me a note – I’d love to hear your story!

Watch for more updates on Compellent’s Blog: Around the Block.

Compellent PSCS One-Liner Coding: Tip #2

Posted Leave a commentPosted in Compellent, Development, PowerShell

With Compellent Storage Center 5, you have the ability to control whether an alert is generated for individual servers when connectivity changes.

This means when your server reboots or you switch around cables (in your lab environment of course), these alerts are triggered and show up in the system alerts as well as the GUI which presents a “stop light” that isn’t green.

You can control this connectivity per server in the Storage Center Manager, or perhaps you want to disable it for all of your lab servers.  Here’s a simple way to do so.  In this example I take the servers that are in my folder on the Storage Center and turn off their connectivity alerts.

Get-SCServer -ConnectionName SC5 | ?{ $_.ParentFolder -eq "Justin" } | { Set-SCServer -Index $ _.Index -EnableConnectivityAlert:$false -ConnectionName SC5 }

Beginner hints: The usage of “?” in PowerShell is synonymous with “where”.  We use this to filter the Get-SCServer cmdlet in the above example.  Additionally, “%” is synonymous with “for-each”, also used in the example.