paulbrice.com
paulbrice.com: Bored = Stupid Tool
http://www.paulbrice.com/2014/07/bored-stupid-tool.html
Wednesday, October 2, 2013. Bored = Stupid Tool. Waiting for your AD account to unlock? The other day I was waiting for my account to unlock, so I had a few minutes to kill so I decided to write a tool to pass the time. I wrote a script to tell me how long I had left to wait. pretty crude but I had fun. Account = Get-ADUser $ID -Properties LockedOut,AccountLockoutTime. Domain = [ADSI]"WinNT:/ $env:userdomain". UnlockInt = $Domain.AutoUnlockInterval. If($Account.LockedOut -eq $TRUE). Neil Peterson - PFE.
paulbrice.com
paulbrice.com: Clearing the "Invoke Web Services" Cache
http://www.paulbrice.com/2014/09/clearing-invoke-web-services-cache.html
Friday, September 12, 2014. Clearing the "Invoke Web Services" Cache. I have had problems when working with a custom WSDL, when we change the WSDL Orchestrator "Invoke Web Services" activity does not see the changes. I have come across this multiple times so here is a post. (for my memory if nothing else). Thankfully a smart guy already solved this, in this blog post. Orchestrator is caching the data returned by the WSDL here:. So after reading the above article, I performed these steps. Blog Post: Excha...
paulbrice.com
paulbrice.com: Commenting Code in ISE
http://www.paulbrice.com/2013/08/powershell-ise-comment-uncomment.html
Thursday, August 22, 2013. Commenting Code in ISE. One of my biggest frustrations with Powershell ISE V3 is there is no "Comment" feature which for an IDE(ISE) , well lets just say I am disappointed. Yesterday I stumbled across this post and this guy has a neat way of achieving this without having to add a plug in. Posted by Joel 'Jaykul' Bennett. On 1/25/2012 at 6:39 PM. To uncomment, do the same thing except hit DEL instead of "#" ;-). So I hope this helps some of you out there, it did me! Simple templ...
paulbrice.com
paulbrice.com: Adding Windows Features - AD Tools
http://www.paulbrice.com/2013/08/adding-windows-features-ad-tools.html
Wednesday, August 14, 2013. Adding Windows Features - AD Tools. Quick and Dirty one. Open up Powershell "As Administrator". C: Add-WindowsFeature "RSAT-AD-Tool" -Reboot. This will install the Active-Directory management GUI and Powershell CMDlet tools. PS: Will reboot after it installs the feature! Subscribe to: Post Comments (Atom). On to My Next Adventures! Ironman, Contracting and Europe. Akams for #AzureStack Guidance. Revisiting NetSession Function using PSReflect. Neil Peterson - PFE.
paulbrice.com
paulbrice.com: Moving Data Between SQL and Excel - DateTime Format
http://www.paulbrice.com/2014/11/moving-data-between-sql-and-excel.html
Wednesday, November 5, 2014. Moving Data Between SQL and Excel - DateTime Format. Here is a quick one. When you copy data from SQL into Excel the datetime format does not exist so you have to use a custom one for the data to display. Select custom on data format and use " yyyy-mm-dd hh. All information is provided on an AS-IS basis, with no warranties and confers no rights. Subscribe to: Post Comments (Atom). On to My Next Adventures! Ironman, Contracting and Europe. Akams for #AzureStack Guidance.
paulbrice.com
paulbrice.com: Disclaimer
http://www.paulbrice.com/p/disclaimer.html
Because I value your thoughtful opinions, don't be offended if I edit your comments for clarity or to keep out questionable matters and I may even delete off-topic comments. The opinions expressed here represent my own and not those of my employer. Subscribe to: Posts (Atom). On to My Next Adventures! Ironman, Contracting and Europe. Akams for #AzureStack Guidance. ARM concepts in Azure Stack for the WAP Administrator – Troubleshooting IaaS in Azure Stack. Revisiting NetSession Function using PSReflect.
paulbrice.com
paulbrice.com: July 2013
http://www.paulbrice.com/2013_07_01_archive.html
Wednesday, July 24, 2013. I needed to validate what Powershell profiles existed on my machine so I used the "Test-Path" CMDLet to validate what existed. Current User, Current Host - console. Home [My ]Documents WindowsPowerShell Profile.ps1. Current User, All Hosts. Home [My ]Documents Profile.ps1. All Users, Current Host - console. PsHome Microsoft.PowerShell profile.ps1. All Users, All Hosts. Current user, Current Host - ISE. All users, Current Host - ISE. PS C: test-path $PROFILE. Certificate Enrollme...
paulbrice.com
paulbrice.com: MS Orchestrator Custom HTML Emails
http://www.paulbrice.com/2014/06/ms-orchestrator-alternate-address-emails.html
Thursday, June 12, 2014. MS Orchestrator Custom HTML Emails. Sending email messages in Microsoft Orchestrator is simple using the built in activity, but. If you want to do something a little more personalized like sending as a no Primary SMTP address or a custom HTML message body? You need to use PowerShell to build the HTML and send the email. So in this Runbook, there is a .NET activity using PowerShell. However you need a relay connector in configured in Exchange (I am using Exchange 2010) that accept...
paulbrice.com
paulbrice.com: March 2013
http://www.paulbrice.com/2013_03_01_archive.html
Sunday, March 31, 2013. WDS - Changing Default Remote Install Folder. So after doing the initial install of WDS on Server 2012, realized I had set the remote install folder path incorrectly. I wanted to see if it could be reset rather than re-installing WDS. Never fear this thread. On Technet had the solution, thanks to Tim Quan! Open a Powershell command shell, type. Wdsutil /Initialize-Server /REMINST:"%new path%". Your path is now reset. Friday, March 29, 2013. VMware White Box - Home Lab. I fat finge...
paulbrice.com
paulbrice.com: April 2013
http://www.paulbrice.com/2013_04_01_archive.html
Tuesday, April 23, 2013. MDT 2012 PowerShell Initialization Error. So MDT 2012 on Windows 2012! When running MDT 2012 on Windows Server 2012 you get a Initialization Error, complaining about PowerShell being missing. Try this.its a PowerShell execution policy issue. All information is provided on an AS-IS basis, with no warranties and confers no rights. One of the best sessions I was able to attend in MMS 2013! System Center 2012 ConfigMgr Advanced infrastructure session notes. Thursday, April 18, 2013.