CategoriesActive Directory Adobe Reader AppAssure Azure Backup Exec Career Development Castelle FaxPress Desired State Configuration Exchange Server Exchange Server 2007 Exchange Server 2010 Group Policy Hardware HP Digital Sender Hyper-V Hyper-V Server 2008 Hyper-V Server 2008 R2 IIS Joomla Microsoft Office Microsoft Office SharePoint Server 2007 (MOSS 2007) Microsoft SQL Server Microsoft TechEd Operating System PowerShell PowerShell Summit Scripting Scripting Games Server Core SharePoint SharePoint 2010 SQL Server Storage Area Network Terminal Server Uncategorized VBScript Windows 7 Windows 8 Windows Server 2003 R2 Windows Server 2008 Windows Server 2008 R2 Windows Server 2012 Windows SharePoint Services 3.0 (WSS 3.0) Windows Vista Windows XP
- How to Toggle Field Codes Off or On in Microsoft Word
- Free eBook on PowerShell Advanced Functions
- PowerShell Script to Determine What Device is Locking Out an Active Directory User Account
- Please wait for the System Event Notification Service...
- Get-WmiObject : The RPC Server is Unavailable. (Exception from HRESULT: 0x800706BA)
- Rename a Network Interface from the Command Line
- Setting an Active Directory User Account to Expire at a Specific Time of Day with PowerShell
- How to Create PowerShell Script Modules and Module Manifests
- Unable to View a Shared Desktop or Application in a Microsoft Lync 2013 Meeting
- Create AD Group and Copy a Group's Members with PowerShell
- Free eBook on PowerShell Advanced Functions
- PowerShellGet Session at the PowerShell Summit NA 2015
- Filtering by StartTime with the AWS PowerShell Cmdlets
- PowerShell Advanced Functions: Can we build them better? With parameter validation, yes we can!
- The mother of all PowerShell blogs week is coming next week!
DisclaimerAll data and information provided on this site is for informational purposes only. Mike F Robbins (mikefrobbins.com) makes no representations as to accuracy, completeness, currentness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis.
Recently, a team of independent bloggers who are active in the PowerShell community teamed up to bring you a series of blog articles on advanced functions via an experiment called PowerShell blog week. Those blog articles have now been complied into a free eBook and are downloadable in all of the popular eBook formats. A zip file containing the PDF, MOBI, EPUB, and AZW3 formats can be downloaded from here. Prefer to read the PowerShell Blog Week articles online instead of downloading the Read more [...]
The PowerShell Summit North America 2015 is next week! I'll be presenting a session on PowerShellGet at 2:30pm on Tuesday, April 21st in the room named Kilimanjaro. The official title for my session is: PowerShellGet: The BIG EASY way to discover, install, and update PowerShell modules The abstract (or synopsis) for my session will give you a little information about what I plan to cover during the presentation: What process do you currently have in place for sharing PowerShell modules Read more [...]
I was recently trying to figure out how to return an AWS Storage Gateway snapshot by providing a value for the StartTime property and it wasn't easy to say the least so I thought I would share my experience to save others the headache of figuring it out. Most of the tutorials you'll find online show filtering something similar to this:
You could also use multiple hash tables as shown in the following example:
$filter1 = New-Object Amazon.EC2.Model.Filter
$filter1.Name = 'volume-id'
$filter2 = New-Object Amazon.EC2.Model.Filter
$filter2.Name = 'status'
Get-EC2Snapshot -Filter $filter1, $filter2 |
Select-Object -First 1
Viewing Read more [...]
Get-EC2Snapshot -Filter @(
Select-Object -First 1
This blog article is the second in a series of blog articles that is being written on PowerShell advanced functions for PowerShell blogging week. If you haven't already read the first article in this series: "Standard and Advanced PowerShell functions" written by PowerShell MVP Francois-Xavier Cat, I recommend reading it also. What is parameter validation? In PowerShell, parameter validation is the automated testing to validate the accuracy of parameter values passed to a command. Why validate Read more [...]
Next week, beginning on Monday March 30th, a group of PowerShell MVP's and/or enthusiasts who write PowerShell related blog articles on a consistent basis will team up to publish a week long series of blog articles on their sites or the site where they blog at. This isn't a spoiler alert so I'm pleading the fifth when it comes to the details of those blog articles, but based on what the team has already made public, I can tell you that they're all on one central topic and that topic is PowerShell Read more [...]
A few weeks ago I was setting up OpenSSL on a Windows machine and I was following a Linux tutorial which used the "touch" command to create a new empty file. To accomplish the task of creating a new empty file with PowerShell, the most straight forward way is to use the New-Item cmdlet:
I inadvertently discovered another way to create a new empty file with PowerShell which I thought I would share with you guys, the readers of my blog. You may see some Read more [...]
New-Item -Name EmptyFile.txt -ItemType File
In a couple of my previous blog articles, I've demonstrated how to create a storage account in Azure and how to create a reserved virtual IP address in Azure. Both of those items will be used in today's blog article so I recommend reading through those previous blog articles if you haven't already done so. The goal in this blog article is to build a CentOS based OpenLogic 7.0 VM in Azure except using PowerShell instead using the Azure portal website (GUI): First, the name of the image that Read more [...]
You've configured one or more DSC (Desired State Configuration) SMB pull servers in your environment. You've also configured the target nodes appropriately. One problem that seems to be a constant problem in your environment when authoring and updating DSC configuration files (MOF files) is keeping track of what GUID belongs to which machine and it's also a common problem to forget to update the corresponding checksum when a configuration file is updated. Last week, you spent an entire day troubleshooting Read more [...]
By default, the VM's that you create in Azure will have a dynamic virtual IP address (VIP). Based on this article on Azure, you could simply create a DNS CNAME record for your custom domain and point it to the DNS name that you chose during the creation of your azure VM which should prevent any problems if the virtual IP address happens to change. Maybe you want a reserved virtual IP address for your Azure instance though? There's a limited number of reserved virtual IP addresses per subscription Read more [...]
You’ll need to sign up for an Azure account if you don’t already have one: http://azure.microsoft.com. There’s a free trial if you want to try it out. One thing I would suggest if you've never used Azure is to spend a little time in the GUI (your Azure account's portal website) learning about it before you start trying to manage it with PowerShell. That's the same advice I would give to anyone wanting to do something with PowerShell. For example, if you want to create an Active Directory Read more [...]
Using PowerShell Desired State Configuration to build the first domain controller in your Active Directory forest
If you're a frequent reader of the blog articles on this site, then you know that I've been working on using Desired State Configuration to build my test lab environment that runs as Hyper-V VM's on my Windows 8.1 computer. If you would like to know the current state of my test environment, see the previous blog article: "Creating a Desired State Configuration Resource for Self Signed Certificates". The certificate created in last week's blog has been exported and copied to the Windows 8.1 Read more [...]
For those of you who follow my blog, you know that I've been working on using DSC (Desired State Configuration) to fully automate the build of my test environment that runs as Hyper-V VM's on my Windows 8.1 computer. Last week in my blog article titled "Automate the installation of DSC Resource Kit Wave 9 resources with PowerShell Desired State Configuration", I demonstrated how to do just that, automate the installation of the Microsoft created DSC resources that are part of the most recent DSC Read more [...]