Monthly Archives: August 2015

Manning Deal of the Day–31 August 2015

Deal of the Day August 31: Half off my book Learn Active Directory Management in a Month of Lunches. Use code dotd083115au at https://manning.com/books/learn-active-directory-management-in-a-month-of-lunches Learn ConfigMgr 2012 in a Month of Lunches and Learn SQL Server Administration in a Month … Continue reading

Posted in CDXML, PowerShell and Active Directory | Leave a comment

PowerShell User Group meeting in Manchester

The UK PowerShell User Group was the World’s first user group dedicated to PowerShell. Its been in hibernation for the last few years but Ryan Yates is bringing it back to life. He’s set up a meeting in Manchester for … Continue reading

Posted in PowerShell User Group | Leave a comment

PowerShell Summit Europe 2015 final schedule

The schedule for the PowerShell Summit Europe 2015 has been finalised.  See the event site at http://eventmgr.azurewebsites.net/event/home/PSEU15#schedule

Posted in Powershell, Summit | Leave a comment

PowerShell gallery security

There are a number of  concerns with pulling code from the Internet e.g. code quality and whether it contains malicious actions. The PowerShell gallery has implemented a couple of features that should help. All modules have to meet a minimum … Continue reading

Posted in PowerShell v5 | Leave a comment

Creating JSON from a hash table

A question on the forum was asking about creating a JSON structure for use with a REST API. The original has table looked like this $body = @{auth_token = “$auth_token”items = @{label = “server1”value = “OK”label = “server2”value = “OK”}} … Continue reading

Posted in Powershell Basics | Leave a comment

Passing data into Jobs

PowerShell jobs are a powerful tool fro running processes in the background. You have to remember that a PowerShell job runs in a separate process that only exists for the duration of the job. The results are returned to your … Continue reading

Posted in Powershell Basics | Leave a comment

WinOps conference

The WinOps conference will take place 22 September 2015 in London. Details from http://winops.org/ Its all about “Windows in a DevOps world”

Posted in DevOps, Powershell | Leave a comment

Windows 10 and PSScriptAnalyzer

if you were wondering where the PSScriptanalyzer module was in Windows 10 RTM  – its not there.  Its been moved out of core PowerShell and is now available on the PSGallery. £> Find-Module *Script* Version    Name                                Repository——-    —-                                ———-0.1        nScriptAnalyzerRules                … Continue reading

Posted in PowerShell v5 | Leave a comment

Masking output

A question on the forum on how to stop the output from New-Item raises an important point. Many cmdlets produce output when run for example £> New-Item -Type File -Name test.txt     Directory: C:\Test2 Mode                LastWriteTime         Length Name—-                ————-         —— … Continue reading

Posted in Powershell Basics | Leave a comment

WMF 5 roadmap

With the recent release of Windows 10 a lot of confusion has arisen regarding the position of PowerShell 5.0. That confusion has been cleared up with a post from the PowerShell team – http://blogs.msdn.com/b/powershell/archive/2015/08/06/windows-management-framework-wmf-5-0-roadmap.aspx

Posted in PowerShell v5, WMFv5 | Leave a comment