PowerShell – CannotConvertArgumentNoMessage Where Object Error
This is an interesting tale from a customer who was trying to get a list of Outlook clients that were connecting to their Exchange 2010 servers.Read More
View ArticleSearch For All Files Owned By A User – Powershell
The following powershell script will look through a given folder structure and log all files with a specific owner:Read More
View ArticleImport-CSV with DisplayName, get SAMAccountName, output-csv
I have a csv file with 770 users in it. I was only given display names that are close to the AD display name (i.e.: some have middle initials that aren't in the csv). I need to get the...
View ArticleTry Catch does not work for imported cmdlets
Hello,i'm trying to enable lync users from a remote server.for this i'm importing a few cmdlets from the lync server to the remote server:$LyncSession =New-PSSession-ConnectionUri $LyncUri...
View ArticleTry & Catch
Hi ,I would like to use ERROR handling with Try&Catch, that can handle $computername variable, if computer is not found, message comes up: "hey I did not find computer with this name"to where...
View ArticleFree PowerShell Desired State Configuration (DSC) training on February 25th...
Microsoft Virtual Academy (MVA) is hosting 2 PowerShell Desired State Configuration (DSC) training classes on February 25th and February 26th:Read More
View ArticleBackup Certificate Authority PowerShell Script
As it is so important to backup your Certification Authority servers, automating this task is a bonus thing here.Read More
View ArticleCreating Desktop Shortcuts to Run PowerShell Scripts
There are some really helpful scripts out there. Not just for Lync and Exchange. But many other apps and administrative tasks. Sometimes, however, the people who need to run them aren’t well versed in...
View ArticleA script to install ip printer on a text file of computers.......Please...
Script is an amalgamation of Microsoft Printer utilities created in .VBS and PSEXECall wrapped inside a Powershell script. I am looking for ways to streamline the scripts logic, and perhaps by adding...
View Articlea variable plus a plaintext as password
Hi friendsin my test AD domain, i want to change the password of all user accounts.on every user account properties, i have filled a test "employee ID" .i need passwords of every user be set in this...
View ArticleCoffee break in the Cloud with Windows PowerShell
In this post we will run Windows PowerShell in the cloud. The ability to connect your Windows PowerShell with your Microsoft Azure instances can double the value of Microsoft Dynamics NAV and...
View ArticlePowerShell Essentials (Part 6)
This article continues the PowerShell Essentials series by talking about scripts and functions.Read More
View ArticleIntroduction to Using the PowerShell Command Line with DB2 on Windows
I have worked with DB2 on Windows on and off over the years and have largely not enjoyed it all that much. Most likely because the vast majority of my time is spent on UNIX and Linux systems, so when I...
View ArticleFind PowerShell cmdlets with Get-Command
The Get-Command cmdlet helps you find PowerShell cmdlets, especially one you used previously but just can’t remember its exact name.Read More
View ArticleHyper-V and PowerShell: Splatting and Profiles
In the first article of the Hyper-V and PowerShell series, we talked about using tab completion to ease the typing burden. There are other tricks that can reduce it even further. Of those, I’m going to...
View ArticlePowerShell 101 for Exchange administrators
PowerShell was publically released to the public in 2006 and since then is experiencing a growing interest among the Microsoft World Community IT Pros. The main reason for this success is that it...
View ArticlePowerShell script for Windows Server Activation
I recently was helping a client that needed to activate over 20+ servers after an OS upgrade. I did not want to do this one by one and they did not have a KMS. PowerShell to the rescue. I was able to...
View ArticleSecrets from the field – Windows PowerShell Part 1
If you are like me you find yourself using PowerShell to administer your Office 365 Exchange Online environment. There are several articles that give you the instructions for how to connect remote...
View ArticleMore Fine-Tuned Firewall Rules
Tweak that firewall rule with ICMP support and IP address rangesRead More
View ArticlePowerShell to automate multiple database SQL Server restores to refresh...
From time to time, I need to restore databases on various Development and Test environments using production database backup files. However, when I start to do the restore, my restore often fails...
View Article