Category Archives: Powershell

All powershell scripts go here

3PAR iSCSI Delayed ACK read or write performance issues

I’ve noticed a few people running iSCSI 3PARs with Delayed ACK enabled and experiencing latency on their datastores. Here’s what happens when you disable it (SSD backed datastore): Before and after: VMware KB about it: I suggest to use … Continue reading

Posted in 3par, Powershell, VMware | Tagged , , | 1 Comment

3PAR WSAPI via Powershell

Earlier I’ve demonstrated how to use 3PAR CLI with Powershell. In this example I will show how to work with 3PAR’s WSAPI via Powershell and poll last time remote copy group was synchronized (i use Last Sync date from first … Continue reading

Posted in 3par, Powershell, Random stuff | Tagged , , , , | 5 Comments

VMware Site Recovery Manager remote Powershell script

You have a PowerShell script designed to run locally, but you need to execute it on remote computer via another product such as VMware Site Recovery Manager . You need to keep all your scripts in central repository but you … Continue reading

Posted in Powershell, VMware | Tagged , , , | Leave a comment

3par Powershell Example

HP has amazing product called 3par but it’s definitely lucking some features on add-on software side. One of the products HP offers is called HP 3PAR Recovery Manager Software for Microsoft SQL Server (RM-SQL). Purpose of this software is to … Continue reading

Posted in 3par, Powershell | Tagged , , , | 2 Comments

Powershell Help Desk tasks

This script will help automating some help desk tasks. For example in my current environment we put user’s name in the “Description” field. When user calls in helpdesk for a support, we need to connect to their machine. In a … Continue reading

Posted in Powershell | Tagged , , | Leave a comment

XML and Powershell

Here’s a sample script which shows how to work with XML files in Powershell and much more. Logic of this script: Check if folder has more than 2 files If it finds more than 2 files send email via function … Continue reading

Posted in Powershell | Tagged , , , | Leave a comment