PowerShell Examples: Calculating very small and very large numbers

This blog is part of a series that shows example PowerShell code for those learning the language. This time we’re using PowerShell to find some very small and very large floating point numbers. The principal here is that if you keep dividing a number by 2, there will be a point where the number is…


DiskSpd, PowerShell and storage performance: measuring IOPs, throughput and latency for both local disks and SMB file shares

  1. Introduction   I have been doing storage-related demos and publishing blogs with some storage performance numbers for a while, and I commonly get questions such as “How do you run these tests?” or “What tools do you use to generate IOs for your demos?”. While it’s always best to use a real workload…

36

SQLIO, PowerShell and storage performance: measuring IOPs, throughput and latency for both local disks and SMB file shares

IMPORTANT NOTE:SQLIO has been deprecated, as shown at http://blogs.msdn.com/b/sql_server_team/archive/2015/12/11/sqlio-disk-subsystem-benchmark-tool-is-being-retired.aspx DiskSpd is the suitable replacement for SQLIO. You can find details on that at http://blogs.technet.com/b/josebda/archive/2014/10/13/diskspd-powershell-and-storage-performance-measuring-iops-throughput-and-latency-for-both-local-disks-and-smb-file-shares.aspx —————-   1. Introduction   I have been doing storage-related demos and publishing blogs with some storage performance numbers for a while, and I commonly get questions such as “How do…

5

Windows Server 2012 File Server Tip: New per-share SMB client performance counters provide great insight

Windows Server 2012 and Windows 8 include a new set of performance counters that can greatly help understand the performance of the SMB file protocol. These include new counters on both the server side and the client side. In this post, I wanted to call your attention to the new client-side counters that show the…

6

Windows Server 2012 File Server Tip: Use PowerShell to find the free space on the volume behind an SMB file share

A while back, I showed how to use PowerShell V2 and our old SMB WMIv1 object to explain how to find the free space behind a file share (essentially the free space for the volume that contains the file share). That post is available at http://blogs.technet.com/b/josebda/archive/2010/04/08/using-powershell-v2-to-gather-info-on-free-space-on-the-volumes-of-your-remote-file-server.aspx. While that post was a good example of how…

1

Windows Server 2012 File Server Tip: Run the File Services Best Practices Analyzer (BPA)

Windows Server 2012 includes a built-in mechanism called Best Practices Analyzer (BPA) to check your configuration and make sure everything is set to the proper values. These set of rules, which come in specific sets for each role you install, can be run through Server Manager or also via PowerShell. For the Windows Server 2012…


Windows Server 2012 File Server Tip: Continuous Availability does not work with volumes using 8.3 naming or NTFS compression

When deploying the Continuous Availability feature of the new File Server clusters in Windows Server 2012, be careful not to use volumes that have either 8.3 naming or NTFS compression enabled. If you have these features enabled on the volume, the File Server won’t be able to properly track the ongoing operations on the volume…

2