search
top
Currently Browsing: Powershell

Using A PowerShell Function To Search and Replace in a Text file

Introduction When I started working in PowerShell for scripting in Windows I longed for a way to do inline editing of a file like you could do with sed. I was able to do this with VBScript but it was long and ugly. After learning more about some of the cmdlets I was able to create a function to search and replace. In this post I would like to share the simple function with you. The Code The overall code... read more

Retrieving Isilon Share Information with RESTful API and PowerShell

Introduction In an earlier post we covered using RESTful API calls to EMC Isilon to retrieve quota data. In this post we will make the same calls but gather data on SMB / CIFS Shares for screen output as well and optional CSV output. We will also look at the options to gather for different zones as well. Prerequisites To be able to execute RESTful API calls to Isilon you will need to create an account and... read more

How To Get XtremIO Volume Data Using PowerShell and XtremLib

Introduction In an earlier post we introduced the XtremIO PowerShell modules available for download and use from EMC. We covered a few of the basic cmdlets available. In this post we will look at Using the Get-XtremVolumes cmdlet to create a capacity report for specific volumes. Getting Started If you have followed the post earlier you should have the certs and the XtremLib PowerShell modules installed... read more

Retrieving NFS Export Data on Isilon with RESTful API and PowerShell

Introduction In an earlier post we covered using RESTful API calls to EMC Isilon to retrieve quota data. In this post we will make the same calls but gather data on NFS exports for screen output as well and optional CSV output. Prerequisites To be able to execute RESTful API calls to Isilon you will need to create an account and add the appropriate roles. For GET operations a read-only account is all that... read more

Retrieving SmartQuota Data on Isilon with RestAPI and PowerShell

Introduction Many different tools available for administrators to manage storage devices and create reports and or monitors. With EMC Isilon we have RestAPI available to make calls for information. In this post we will cover how to use PowerShell to make calls to Isilon and get Smartquota data (path, thresholds for advisory & hard) and usage data and convert it from bytes to GB. The basis of the... read more

« Previous Entries

top