Experimenting with PowerShell v2
Powershell is a command line interface for Windows that offers a very powerful and flexible model.It is now a feature included with Windows 7 and Windows Server 2008 R2, not an optional download as...
View ArticleStrings, Arrays and Functions in PowerShell v2 (and some sample code that...
I spent some more time experimenting with PowerShell v2 and here goes my second post about it. This time around I am focusing on how to define variables, use expressions and create functions. The...
View ArticleExperimenting with PowerShell Cmdlets, Snap-ins and Modules
As I continue to experiment with PowerShell v2 in Windows Server 2008 R2, I will share some of what I learn here on the blog. This time I am focusing on Cmdlets, Snap-ins and Modules. Cmdlets Windows...
View ArticleDownload for Powershell v2 for Windows 7? No need... It's already there!
A while back, Microsoft announced the release of PowerShell v2 for Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008 (see http://go.microsoft.com/fwlink/?LinkID=151321). However,...
View ArticleAutomatically uploading files from File Server to SharePoint using the File...
Windows Server 2008 R2 introduced a new File Classification Infrastructure (FCI) and the team has been sharing different ways to put it to good use. The latest one comes as a blog post that describes...
View ArticleExperimenting with PowerShell V2 Remoting
As I continue to experiment with PowerShell v2 in Windows Server 2008 R2, I will share some of what I learn here on the blog. This time I am focusing on PowerShell Remoting. If you never played with...
View ArticleComparing RPC, WMI and WinRM for remote server management with PowerShell V2
1. Overview In a recent blog post, I was looking at PowerShell V2 remoting in Windows Server 2008 R2. If you haven’t seen it, take a look at...
View ArticleExperimenting with PowerShell V2 scripting, variables and control structures
Last week I was testing Visual Studio 2010 to write a C# application to export all my blog posts to a file. I described that in some detail at...
View ArticleUsing PowerShell V2 to gather info on free space on the volumes of your...
Overview In a previous blog post, I have examined some of PowerShell’s control structures and included an example gathered some information from web. If you haven’t seen it, you can check it at...
View ArticlePowerShell v2: Get-Date vs [System.DateTime]::Now - What's the difference?
I was trying to figure out why people use the more complicated [System.DateTime]::Now instead of the simple Get-Date. They do the same thing and they both return an object of type "System.DateTime". PS...
View ArticleExamining cmdlet parameters in PowerShell V2
One of the interesting things about PowerShell is how easy it is to discover its cmdlets and parameter. In PowerShell itself or in the ISE, you can just start typing a command and then press the...
View ArticleMapping Cluster.exe Commands to Windows PowerShell Cmdlets for Failover...
While many of the Windows Server Failover Cluster (WSFC) administrators have moved from the old CLUSTER.EXE command-line to the new PowerShell interface, I know at least a few holdouts out there. It’s...
View ArticlePowerShell cmdlets for the Microsoft iSCSI Target 3.3 (included in Windows...
1. Overview One of the new features in the Microsoft iSCSI Software Target 3.3 (included in Windows Storage Server 2008 R2) is the inclusion of PowerShell cmdlets for management. In this blog post, we...
View ArticleUsing PowerShell and the the iSCSI Target 3.3 WMI classes to create a...
I recently blogged about the PowerShell cmdlets included with the Microsoft iSCSI Software Target 3.3. That included the details on all the 10 cmdlets available, including the one used to create VHD...
View ArticleHow to Handle NTFS Folder Permissions, Security Descriptors and ACLs in...
1. Overview Some time ago, I was automating a few tasks with PowerShell and needed to set NTFS permissions on a folder. I was tempted to use the good old ICACLS.EXE command line, but I wanted to keep...
View ArticleUsing Windows PowerShell to run old command line tools (and their weirdest...
Introduction For a while now, I have let go of the old CMD.EXE command line and moved over to POWERSHELL.EXE for good. As you probably know, you can run any old command from the new Windows PowerShell....
View ArticleWindows Server 2012 Beta - Test cases for Hyper-V over SMB (includes...
This blog posts lists a few of the common test cases for the new "Hyper-V over SMB" scenario in Windows Server 2012 Beta. If you are not familiar with this new scenario in Windows Server 2012 Beta,...
View ArticleWindows Server 2012 Beta Scale-Out File Server for SQL Server 2012 -...
IMPORTANT: This blog post is now obsolete. For the latest version of this content, please...
View ArticleWindows Server 2012 Beta – Hyper-V over SMB – Quick Provisioning a VM on an...
One of the preferred methods for creating VMs in a shared environment is to have one or more base VHDs that you use as a template for new VMs. While having a base VHD is a constant, there are a few...
View ArticleEpisode 20 of "From End to Edge and Beyond" covers SMB Encryption in Windows...
A quick blog post to highlight that I participated in an episode of “From End to Edge and Beyond”, recorded during TechEd North America 2012 with Tom Shinder and Yuri Diogenes. This show is focused on...
View Article