search
top
Currently Browsing: Powershell

How To Mount and Unmount ISO files using PowerShell

Withe Windows 10 the ability to mount ISO files (disk images) was added and you no longer have to use third party tools to mount them. In these post we will cover how to mount and unmount using PowerShell. Very simple and easy to execute. Open PowerShell as Administrator. Use the Mount-DiskImage cmdlet to mount the ISO. Syntax is: Mount-DiskImage -ImagePath "C:\FILE.ISO" 1 Mount-DiskImage -ImagePath... read more

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

« Previous Entries

top