Powershell Quick Tips Uncategorized

PowerShell Tools – Create an ISO

  Brilliant little tool Hrisan Dzhankardashliyski at Powershell.com http://powershell.com/cs/media/p/49052.aspx   Edit: updated the script block to enable copy & paste 😀   # Author: Hrisan Dzhankardashliyski # Date: 20/05/2015 # Inspiration from # # http://blogs.msdn.com/b/opticalstorage/archive/2010/08/13/writing-optical-discs-using-imapi-2-in-powershell.aspx</a> # # and # # http://tools.start-automating.com/Install-ExportISOCommand/</a> # # with help from # # http://stackoverflow.com/a/9802807/223837</a> $InputFolder

Read more
Powershell Quick Tips SCOM Windows Server

Set Agent Proxy Default setting – SCOM 2012 R2

Run this on any server that has the SCOM Console installed. add-pssnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”; new-managementGroupConnection -ConnectionString:scomserver.domain.com; set-location “OperationsManagerMonitoring::”; Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True Totally stole this from the SCOM aficionado – Kevin Holman. His post is here Cheers’ Dan

Read more
Powershell Quick Tips SCOM

SCOM 2012 R2 – Enable Agent Proxy

Just a quick note on how to enable agent proxy via PowerShell Assumptions in this scenario: SCOM 2012 R2 – UR3 Using Operations Manager Shell You want all Agents with proxy enabled Some basics: Get-SCOMAgent Let’s limit our scope.. Get-SCOMAgent | where {$_.ProxyingEnabled -match $False} Let’s enable the proxy for all

Read more