Send Lync Instant Message with the PowerShell script
This script will send an Instant Message to Lync Client Contact for User.Read More
View ArticleRemoving Old SQL Server backup files with PowerShell
A common question that comes up during my PowerShell Restore presentation is on how to delete your old SQL Server backups after a certain period of time. This is especially important for those DBAs who...
View ArticlePresentation and Demo scripts from PowerShell Backup and Restore sessions at...
Here are the Presentation and the demo scripts I was using during my SQL Server Backups and Restores with PowerShell sessions at the Birmingham and Norwich SQLRelay events.Read More
View ArticleGet-Process in PowerShell 4
PowerShell v4 enables you to see the user account associated with the processRead More
View ArticleCreate a Scheduled Task With PowerShell
Going into the GUI and creating a scheduled task is not rocket science, and now, either is creating a scheduled task via PowerShell. There is now a ScheduledTasks PowerShell module to help with...
View ArticleReplacing "Everyone" with "Authenticated Users" for Print$ with PowerShell
Good Evening all. I am currently trying to figure out how to either 1) replace the existing Everyone group on the Print$ share with Authenticated Users or 2) use PowerShell to add Authenticated Users...
View ArticleMail enable users from csv and log
Here is what I know:I have a csv export from groupwise (attached here but only containing an example user)I have to mail enable thousands of users in exchange 2013 CU2 and the AD objects exist:1....
View ArticlePopulating extensionattribute10 for multiple users
I have 4750 active directory accounts with extensionAttribute10 is emptyI would like to populate that field extensionAttribute 10 with firstname.lastname@company.caHow would I do this in powershell? I...
View ArticlePowershell.exe As Elevated?
I am running a command from the run line on the start menu, but when it runs the script, it says:Warning: To preform some operations you must run an elevated Windows PowerShell console. powershell.exe...
View ArticleI'm a bit rusty and need help.
You know the old saying, "You don't use it you lose it?" Well I find myself in that spot. I can figure out most of what I need but I'm finding it hard to remember how to parse through a list of items...
View ArticleBootstrapping a PowerShell DSC Pull Server and Client
This post describes a set of PowerShell scripts that can automatically provision a PowerShell DSC Pull Server and Client using Windows Azure Virtual Machines.Read More
View ArticleConnect Powershell to Office365
Hosted Exchange or Office365 is one of the worst systems I've ever used. Looking into it and you can see why a bunch of off-shore programmers were used to make it. It takes 10 times the amount of time...
View ArticlePowershell: Get the Software GUID
This script will get the proper software name and associated GUID. I use this script when writing uninstaller powershell scripts. You can use the GUID in an msiexec so that you do not need the source...
View ArticlePowerShell function to pause with a progress bar…
Soem time ago I wrote a script for a customer which does some things in the background that may take quite some time. So from their perspective the script would ‘hang’.To avoid this experience I’ve...
View ArticleHow to Find .Net Version Installation
Hi All, I would like to find which .Net Version is installed on a Computer. Could you please help me with a Powershell script on how can i get this Output.
View ArticleOutlook Client Side changes
Scenario: CutOver Migration to Office365I have 50 users, their outlook client is currently configured to local on-premise server with manual settings.We are planning to move to office365 using Cutover...
View ArticleCreating QR Codes in PowerShell
I’ve also included a few related functions to save barcodes as image files as well as to create a VCard string (presumably for encoding to a QR code). These functions can be used like this:Read More
View ArticlePowerShell Data Basics: File-Based Data
One of the frustrations of anyone beginning with PowerShell is the simple task of getting data in and out. To help out with this, Michael Sorens begins a series that shows you how to import data from...
View ArticleUse PowerShell to Create Agent Jobs
Whenever I set up a new SQL server, there are a number of tasks that have to be done before it's ready for service, and the process can become really tedious if I have to step through the wizards in...
View ArticleHow Microsoft Does Windows Azure Active Directory PowerShell
It seems like "The Cloud" is all we hear about these days, and it's often capitalized as if it were a single monolithic thing.Read More
View Article