Quantcast
Channel: dbailey's blog
Browsing all 16 articles
Browse latest View live

Blogging, really?

I’ve come close to starting this blog a few times but I’ve never been interested enough. Most of the time I’m tempted to blog when I figure out something cool in PowerShell, workaround something stupid...

View Article



Compare-Object workaround

One thing that’s frequently frustrated me about PowerShell is that using the Compare-Object cmdlet doesn’t always yield useful results. For instance, consider the following command: Compare-Object...

View Article

Where is that file, really?

If you use Microsoft DFS, determining “real” location of a file can be tricky… at least in a quick and script-y way. You can always right-click, choose properties and click on the DFS tab if you’ve got...

View Article

When you absolutely, positively got to kill [almost] every [VM] in the...

We’ve had two instances that required us to shutdown our ESX infrastructure recently. The first was a data center move and the second was SAN maintenance. I wrote the following scripts to shutdown all...

View Article

Image may be NSFW.
Clik here to view.

Import-PSSession and temp files

One of the reasons I use a custom PowerShell profile is to make things available no matter how or where I’ve launched PowerShell. For instance, I like to use the ISE and I work on Exchange. Instead of...

View Article


Another Exchange custom remote issue

So, I just discovered another issue with my method of invoking a simple remote session to Exchange 2010. The return types in many cases are deserialized so the following happens: PS> (get-mailbox...

View Article

Customizing the Windows 8 login screen

The default background color for “other users” logging into Windows 8 domain joined computers is an ugly purple by default. If you have a policy to not remember the last logged in user, it means that...

View Article

Image may be NSFW.
Clik here to view.

Advanced Storage VMotions via PowerShell

When you want to migrate a virtual machine in the vCenter Client, the wizard gives you the option to click the Advanced button and then select the destinations for the configuration file and each hard...

View Article


Blogging, really?

I’ve come close to starting this blog a few times but I’ve never been interested enough. Most of the time I’m tempted to blog when I figure out something cool in PowerShell, workaround something stupid...

View Article


Compare-Object workaround

One thing that’s frequently frustrated me about PowerShell is that using the Compare-Object cmdlet doesn’t always yield useful results. For instance, consider the following command: Compare-Object...

View Article

Where is that file, really?

If you use Microsoft DFS, determining “real” location of a file can be tricky… at least in a quick and script-y way. You can always right-click, choose properties and click on the DFS tab if you’ve got...

View Article

When you absolutely, positively got to kill [almost] every [VM] in the...

We’ve had two instances that required us to shutdown our ESX infrastructure recently. The first was a data center move and the second was SAN maintenance. I wrote the following scripts to shutdown all...

View Article

Image may be NSFW.
Clik here to view.

Import-PSSession and temp files

One of the reasons I use a custom PowerShell profile is to make things available no matter how or where I’ve launched PowerShell. For instance, I like to use the ISE and I work on Exchange. Instead of...

View Article


Another Exchange custom remote issue

So, I just discovered another issue with my method of invoking a simple remote session to Exchange 2010. The return types in many cases are deserialized so the following happens: PS> (get-mailbox...

View Article

Customizing the Windows 8 login screen

The default background color for “other users” logging into Windows 8 domain joined computers is an ugly purple by default. If you have a policy to not remember the last logged in user, it means that...

View Article


Image may be NSFW.
Clik here to view.

Advanced Storage VMotions via PowerShell

When you want to migrate a virtual machine in the vCenter Client, the wizard gives you the option to click the Advanced button and then select the destinations for the configuration file and each hard...

View Article
Browsing all 16 articles
Browse latest View live




Latest Images