Fix Hyper-V 'Account does not have permission' error
Today, I woke up to a nasty error in the FoxDeploy Hyper-V lab. All of my VMs were stopped, and wouldn't start! When I tried to start one, I'd see this error: > An error occurred while attempting to start the selected virtual machines: General Access Denied Error... > > VMName: Account does not have permission to open attachment
Back with the release of Office ‘97 in November of 1996, Microsoft introduced a beloved new helper tool to assist users in navigating through the daunting changes in Microsoft Office,
Copyright : Microsoft
Clippy was wildly beloved by end-users and IT Professionals alike, just checkout it’s many accomplishments!
Smithsonian Magazine called Clippy “one of the worst software design blunders in the annals of computing”. Time magazine included Clippy in a 2010 article listing fifty worst inventions.
The creator of Clippy went on to great things, and was definitely never haunted by the memory of Clippy, as you can see in his keynote discussion at ROFLCon.
For too many years, Clippy has gone missing in Windows, and admins were left with horrible solutions, like sending e-mails or talking to their users face-to-face.
But now he’s back!
I am proud to share with you my newest slap-dash project, ’Invoke-Clippy!’
Clippy, how I’ve missed you!
Today, it pretty much just pops up the familiar character. Being a very lazy retreading of Chrissy’s code from her ‘Hey Scripting Guy’ article, it also features the PowerShell logo in the system tray to end the code! AND it runs hidden!
You have the option of specifying -Button1 or -Button2 to add additional buttons. If you’d like the buttons to do anything, add some code for them to the empty script blocks on line 71 and line 80.
Consider this a framework to use to annoy–, er notify your coworkers with helpful reminders.
- Scheduled Task on your coworkers machine every 15 minutes to remind them to check the ticket queue
- Add two buttons, and make the second button spawn another instance of Clippy (consider reversing the X,Y values to make Clippy appear on the other side)
- Use this as a nice and professional way to communicate mandatory reboots to your end users
No matter what you come up with, share it with the class! Did you find a way to make this appear interactively on a remote session? Did you add
-ComputerName support (If you did, AWESOME!).
Either comment here or make your own fork and send me a Pull Request. I’d love to see what you come up with.
Pretty much everything here I learned on the spot thanks to Stack Overflow. Also big big thanks to Chrissy Lemaire in her excellent Scripting Guys article, ‘How to Create Popups’ in PowerShell. Most of the code for window sizing comes from her work!
- How do I apply a style to all buttons
- How to make rounded corners on a button Corner Rounded Buttons in WPF
- Creating a custom template in WPF
Coding for speed
In this post, we review some of the things we learned about coding for speed in the [Hadoop PowerShell challenge](http://foxdeploy.com/2016/03/01/powershell-challenge-beating-hadoop-with-posh/). The winners are at the end of this post, so zip down there to see if you won! We'll use the post to cover some of what we learned from the entries here. Here's our top three tips for making your PowerShell scripts run just that much faster! Continue Reading...
PowerShell Challenge - Beating Hadoop with Posh
This post sets the stage for the PowerShell Hadoop Challenge! Continue Reading...
Solved - Orchestrator 'Unexpected token '' in expression or statement'
If you are still looking at this post in 2021, then may god have mercy on your soul Continue Reading...
DSC vs. GPO vs. SCCM, the case for each.
This is the showdown, guys. In the world of Windows tooling, which tool do we use? In this post, we'll cover the general benefits and pros and cons of SCCM vs DSC, and also consider GPO and MDT as well. Continue Reading...