posts - 104 , comments - 115 , trackbacks - 0

My Links

News

Disclaimer: Right here... Github: Code all the things! PS GUI Series: < Coming Soon! > PS Scripts: < Coming Soon! >

Tag Cloud

Article Categories

Archives

Post Categories

Image Galleries

Blogs

Forums

Lync

Storage

Tools

Virtualization

Web comics

Powershell

Anything and everything POSH!
[Powershell Series] Creating Graphical User Interfaces – Working with rows and columns
Rows and columns are things I've recently started to dive in to since I was getting fairly annoyed when I was building larger user interfaces. They're pretty powerfull, but it took me a while to get my head around the capabilities… In essence you are setting up your grid element(s) to have predefined sizes, and drop working with the margin properties so whatever control you place in a row or column takes it up completely. Also, it prevents your controls from changing position and size when you're ......

Posted On Tuesday, February 19, 2019 12:22 PM | Comments (0) | Filed Under [ Powershell #GUIBuilding #XAML #Rows #Columns #TimeToGetNeat ]

[Powershell Series] Creating Graphical User Interfaces – The basics
So, you've been writing PowerShell Scripts that interact with users and figured "Hey, I really don't want to listen to the complaints that this it is archaic to use a menu structure in the console" anymore, or perhaps you just want to learn something new . This article aims to give you the basics to create a simple Windows Presentation Framework form (using XAML) and presenting it to your user. First things first… What is XAML? XAML stands for eXtensible Application Markup Language, and it's Microsoft's ......

Posted On Tuesday, February 19, 2019 9:59 AM | Comments (0) | Filed Under [ Powershell #GUIBuilding #XAML ]

Script Browser & Script Analyzer
Good morning! I randomly stumbled across these tools (Download link: https://www.microsoft.com/e... If you work with PowerShell scripting a lot these could be useful! The Script Browser allows you to browse the script repository from the PowerShell ISE directly, the Script Analyzer actually scans a script you write against recommended practices. This is making my life a little bit easier, I hope it does the same for you ......

Posted On Monday, March 28, 2016 3:06 PM | Comments (0) | Filed Under [ Powershell ]

O365 Selective licensing script

I finally digged-in and finished this script. It runs based on a CSV file allowing you to specify what user gets what modality enabled. I should probably start a git to manage my scripts better, but that'll have to wait until after my move...

Posted On Tuesday, March 22, 2016 6:40 PM | Comments (0) | Filed Under [ Powershell O365 scripting! ]

Powershell: Install Exchange

Another exchange related function (who could guess!) I recently finished is this one. It will download the exchange setup file and install the role you require to be installed. You have to provide the role you want to install, the exchange version and the organization name. Works for 2010 and 2013. Might update this in the future to include RU installations.

Posted On Wednesday, December 18, 2013 12:22 PM | Comments (0) | Filed Under [ Exchange Powershell Deployment ]

Powershell: Prepare for an Exchange installation

I’m not taking full credit for this one. This script was originally made by someone else (and as soon as I find the link to that post I’ll put it up!) to prepare for Exchange 2010 on windows 2008 and 2008 R2.

I’ve updated it for server 2012 and Exchange 2013, converted it to a function and make you choose th

Posted On Wednesday, December 18, 2013 12:13 PM | Comments (1) | Filed Under [ Exchange Platforms Powershell Deployment ]

Powershell: Connect to Exchange server powershell
Connecting to Exchange powershell is, for normal operations, as simple as opening the shortcut on you start menu :).However, if you have the need to have some scripts perform actions against your Exchange you can use the below code to make that happen!$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://YourCASServerFQDN/Po... -Authentication Kerberos Import-PSSession $s Add-PSSnapin Microsoft.Exchange.Manageme... . $env:ExchangeInstallPath\bi... ......

Posted On Wednesday, December 5, 2012 12:35 PM | Comments (0) | Filed Under [ General Powershell ]

Powershell Script: Deploying Virtual Machines
I’m a lazy bastard and am constantly looking for ways to deploy my lab machines faster and with less effort. I’m interested in learning and testing as much as I can but I just don’t want to be installing machines constantly! The first step for me was experimenting with MDT, which was brilliant! But it still took to long to install a VM and still too much effort (told you I’m lazy : ))! So the second step for me was to create a number of VHDX files and use those to deploy the virtual machines resulting ......

Posted On Wednesday, February 6, 2013 9:42 AM | Comments (1) | Filed Under [ Powershell Deployment ]

Powershell: If statements dependent on installed exchange role
Something I need to keep for usage in the future:$hostname=hostnameIf (get-exchangeserver $hostname | where {$_.isClientAccessServer -eq $true}) { } else { } If (get-exchangeserver $hostname | where {$_.isHubTransportServer -eq $true}) { } else { }If (get-exchangeserver $hostname | where {$_.isMailboxServer -eq $true}) { } else { }If (get-exchangeserver $hostname | where {$_.isUnifiedMessagingServer -eq $true}) { } else { }If (get-exchangeserver $hostname | where {$_.isEdgeServer -eq $true}) { } ......

Posted On Wednesday, December 5, 2012 12:59 PM | Comments (0) | Filed Under [ General Powershell ]

Powershell: Install-dotNET4 function
This function will download and install ,NET 4.0. It uses the Get-Framework-Versions function to determine if the installation is necessary or not. Internet Connectivity will be required as the script auto downloads the setup file (and sleeps for 360 seconds... I had a function in there to monitor for install completion at first, turns out the setup file spawns so many childprocesses the function just got confused and locked up -_-)Alternatively you could drop the installation file in the folder ......

Posted On Wednesday, December 5, 2012 10:52 AM | Comments (0) | Filed Under [ General Powershell ]

Full Powershell Archive

Powered by: