Tags » PowerShell

Working with schedules in Azure Automation (and SMA)

The few of us that have started working with Azure Automation and/or SMA have probably noticed the lack of functionality that would equal a monitoring activity in Orchestrator. 269 more words

Powershell

Office 365: Deploying your SSO Identity Infrastructure in Microsoft Azure – Part 2

This is part 2 of 3 in a series where we go through how to create a highly available SSO infrastructure for Office 365 in Microsoft Azure. 1,721 more words

Office 365

Consuming an RSS feed with PowerShell

Here is a fun little function I created to check the current sales running at woot.com.

function woot {
  param(
        $site
  )
  $url = 'http://api.woot.com/1/sales/current.rss'
  if ($site -ne "") {
     $url = "http://api.woot.com/1/sales/current.rss/{0}.woot.com" -f $site
  }
  $wc = New-Object System.Net.WebClient
   $xml = $wc.DownloadString($url)
  $woots = $xml.GetElementsByTagName("item") | sort link
  foreach ($woot in $woots) {
    if ($woot.wootoff -eq "true") {$woof="woot!"} else {$woof=""}
    $props = @{
       site=($woot.link -split "\.")[0] -replace "http://","";
       title=$woot.title;
       price=$woot.pricerange;
       '%sold'=($_.soldoutpercentage) * 100;
       wootoff=$woof
       condition=$woot.condition
    }
    new-object -type PSObject -prop $props
  }
}
… 233 more words
Scripting

Windows Management Framework 5.0 Preview November 2014 #Powershell #DSC #Winserv

Windows Management Framework (WMF) 5.0 Preview November 2014 contains functionality that has been updated from WMF 4.0. WMF 5.0 Preview November 2014 is available for installation on Windows 8.1 and Windows Server 2012 R2, and contains updated versions of the following features: 40 more words

Hyper-V

Exploring iTunes Using PowerShell Part 3: Connected Devices

Continuing on with my article on PoweShell and iTunes, I am now going to show you how to find out what devices are currently connected to iTunes. 534 more words

Powershell

Changing Delay Between Responses for SQL Alerts with Powershell

So you have read that you should have alerts for severity levels 16 to 24 and 823,824 and 825 on SQLSkills.com or maybe you have used… 336 more words

Powershell

Remove SidHistory via Powershell

Often in migration projects I need to remove SidHsitory from a user account because the initial match via ADMT was incorrect, or duplicate accounts, or cleaning up someone else’s migration mess,  and I need to “detangle” the source and target object, or SidHistory is not longer required in Target Org … so I regularly use this piece of PowerShell. 40 more words

Active Directory