Tag: PowerShell

Using PowerShell Remoting to Manage Multiple AppAssure Core Servers

In my last blog, I was logged directly into an AppAssure Core server via remote desktop and was running PowerShell commands in the PowerShell console directly on the server. Managing your servers by RDPing directly into them is a bad practice in my opinion. In this blog, I'll explore a few options that could be used to manage an AppAssure Core server with PowerShell without having to resort to logging directly into it with Remote Desktop. Note: All of the following examples require PowerShell Read more [...]

Using PowerShell to Determine AppAssure Agent Status and Version

The Get-ProtectedServers PowerShell cmdlet which is part of the AppAssure PowerShell Module that's installed on your AppAssure Core server version 5.3.1 or higher allows you to determine what servers are being protected by a particular AppAssure Core server. Since I'm running PowerShell version 3 on the AppAssure Core server shown in the example below, I didn't have to explicitly import the AppAssure PowerShell module, if you're running PowerShell version 2, you would need to run Import-Module AppAssurePowerShellModule Read more [...]

Dell AppAssure Version 5.3.1 Adds PowerShell Support

I've been working with Dell AppAssure for several months now and in their version 5.3.1 release they've added PowerShell support via a module named AppAssurePowerShellModule. There are a total of 31 cmdlets in this Module: One thing that I thought was interesting is according to AppAssure's documentation on how to import their PowerShell module, it states that PowerShell version 3 is preferred. Over the next few weeks I'll cover some of the tasks that I've used the cmdlets in this module to Read more [...]

The Perfect New Year’s Resolution: Lose Weight & Learn PowerShell in the Process

The most common New Year's resolution has to do with either losing weight or getting yourself into better shape. I thought I would share the secret of how I lost 50+ pounds, kept it off, and learned PowerShell in the process. Sound like something worth doing? Let's face it, there's no easy way to lose weight, although you don't have to starve yourself to lose those pounds either. Losing weight takes time, you didn't put it on overnight and you're not going to take it off overnight. I often hear Read more [...]

Book Review: Learn Windows PowerShell 3 in a Month of Lunches, Second Edition

Today makes 28 days since I started reading the “Learn Windows PowerShell 3 in a Month of Lunches, Second Edition" book written by Don Jones and Jeff Hicks, published by Manning. This book, shown in the image on the left, contains 28 chapters and is designed to be read one chapter a day. One hour is enough time to read a single chapter and work through the re-enforcing lab exercises at the end of that chapter. This method of learning is extremely effective, especially for a beginner, which gives Read more [...]

Save 50% Off on the New PowerShell Deep Dives MEAP Book!

Save 50% on PowerShell Deep Dives and other selected books. Just enter psddlaunch50 in the Promotional Code box when you check out. Expires Wednesday, December 28. Only at manning.com. Here's your chance to learn from the best in the business. PowerShell Deep Dives is a trove of essential techniques, practical guidance, and expert insights you earn only through years of experience. In the book's 4 parts--Administration, Scripting, Development, and Platforms--you'll find 29 concise, brilliantly-clear Read more [...]

Book Review: Microsoft Windows PowerShell 3.0 First Look

About a week ago I started reading the “Microsoft Windows PowerShell 3.0 First Look” book written by Adam Driscoll and published by Packt. One of the things I like about this book is the ability to read it in about a week since it’s only seven chapters long. In my opinion, its intended audience is people who are already somewhat familiar with PowerShell version 2 that are looking for a way to quickly get up to speed on the new features in version 3. Although I was already familiar with Read more [...]

The PowerShell Deep Dives Book is now available via the Manning Early Access Program (MEAP)

The PowerShell Deep Dives Book is now available for purchase via the Manning Early Access Program (MEAP). This should be an awesome book based on the list of authors and the chapter titles. If you're someone who has found interesting and useful information on my blog site, you'll definitely enjoy reading the chapter that I'm writing in this book. Click on the book image for more information. µ Read more [...]

Determine what OU a Computer Account is in with PowerShell

Problem: You've been asked to send an email to someone with the location in Active Directory (what Organization Unit or OU) where a particular computer account is located. Solution: As you could have probably guessed, the solution is to query Active Directory with PowerShell and use the Send-MailMessage cmdlet to send the results to the recipient: Update: I thought I would elaborate a little more based on Jeff Hicks comments. Unless this PowerShell command Read more [...]

PowerShell: Determine Exposed WMI and CIM Class Methods

I sat through the Arizona PowerShell User Group meeting yesterday evening via a Lync online meeting. Don Jones was the guest speaker this month. His session was on generating reports from PowerShell. It was a super cool session and if you're not taking advantage of user group meetings, you're really missing out. Interface Technical Training was the sponsor for the user group meeting this month. I'm currently working my way through their PowerShell video training series which I've been very impressed Read more [...]

The Unboxing Experience: Learn Windows PowerShell 3 in a Month of Lunches, Second Edition Book

When I arrived at home after work yesterday, I found a surprise box on my desk: A quick look at the label on the side of the box gave away its secret contents. It was my new, hot off the press, copy of "Learn Windows PowerShell 3 in a Month of Lunches, Second Edition" book written by Don Jones and Jeffery Hicks, published by Manning: I have to say that it was packed very well for a book. I recently received another package from a different vendor that contained a fragile item that wasn't Read more [...]

PowerShell Version 3 Installation Failure on Windows Server 2008 R2 Server Core Installation (no-GUI)

You have a server which runs the Windows Server 2008 R2 with SP1 operating system that was installed using the "Server Core Installation" option (no-GUI): You've given this server a name, added it to the domain, configured the IP address settings, and configured options 1 -3 in the "Configure Remote Management" portion of sconfig as shown in the following image: PowerShell version 2 works fine on the server, but you've been tasked with loading PowerShell version 3 on it. You've downloaded and Read more [...]

PowerShell Studio 2012: PowerShell Cache Builder has Stopped Working

I won a copy of PowerShell Studio 2012 at PowerShell Saturday 003 in Atlanta last month. It's an awesome product to win and the best giveaway of the entire event (in my opinion). I ran into an issue the first time I ran the product after the installation and thought I would share the problem, cause, and solution so anyone who experiences the same issue can easily resolve it. The installation itself completed without issue. The first time I opened the program, I received the error in the following Read more [...]

Calculate What Date Thanksgiving is on with PowerShell

A quick search on the Internet turned up this definition for Thanksgiving: "Thanksgiving Day is a time for many people to give thanks for what they have". Based on that definition, I have a long list of things to be thankful for, however, this is a technology related blog site with an emphasis on PowerShell so I'll focus on being thankful for my PowerShell friends, the PowerShell community, an employer who supports my PowerShell addiction, and a wife & children who put up with me spending Read more [...]