PowerShell for Windows Admins:

Powershell


August 5, 2015  1:29 PM

WMF 5.0 COM applications

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
COM, Microsoft Office 2013, Powershell

One change in WMF 5.0 that I hadn’t got round to testing was the speed up in COM based operations. COM – Component Object Model – was the Microsoft programming model before .NET.  Its old but still around – the interfaces for Internet Explorer and Office are all COM based for...

August 3, 2015  10:46 AM

PowerShell Summit NA 2016 – Call for Topics

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The PowerShell Summit is the number one conference where PowerShell enthusiasts gather and learn from each other in fast-paced, knowledge packed presentations. PowerShell experts from all over the world including MVP’s, Guru’s, community leaders and PowerShell team members, will once again join...


August 1, 2015  4:05 AM

Scripting Games July 12015 thoughts on the solution

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The July 2015 puzzle can be found here: http://powershell.org/wp/2015/07/04/2015-july-scripting-games-puzzle/ Write a one-liner...


July 28, 2015  11:23 AM

PowerShell Summit NA 2016–call for topics warning

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A conference organiser’s work is never done. The dust has just settled from PowerShell Summit NA 2015 and we’re gearing up for PowerShell Europe 2015. We also need to start thinking about PowerShell NA 2016! A post on powershell.org

    0 Comments     RSS Feed     Email a friend


July 28, 2015  5:26 AM

WMI dates

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
CIM, Powershell, WMI

Dates as reported by WMI still seem to cause a lot of problems. If you use the WMI cmdlets £> Get-WmiObject -Class Win32_OperatingSystem | select *date* | fl InstallDate   : 20131205101649.000000+000 LocalDateTime : 20150728121320.002000+060   That format is year, month, day,...


July 25, 2015  7:44 AM

Self signed certificates for testing

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A question on the forum

    0 Comments     RSS Feed     Email a friend


July 22, 2015  8:23 AM

PowerShell documentation and more

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

PowerShell has a new home.  This site on MSDN https://msdn.microsoft.com/en-us/powershell is the centre for Microsoft’s PowerShell documentation. Book mark it now!


July 22, 2015  8:04 AM

Using parameters instead of read-host when getting AD replication data

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

I’ve seen a lot of scripts recently that use Read-Host to get input data.  This is generally not best practice – I tend to only use Read-Host if I want to get a password and obscure the text on screen. A better practice is to use parameters – either in a function or a script. As an...


July 21, 2015  2:54 PM

Data for comparisons

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A question on the forum asked about storing data used in comparisons, The example was based on a list if IP addresses where some were known to be good and the questioner wanted to filter out the known good ones so he just had to investigate the rest. You could put the data in your...


July 20, 2015  12:55 PM

Input validation on multiple regex

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell, Regular expressions

One of the things I like about writing advanced functions is the ability to validate the input. if you test the input immediately you can  often stop mistakes being made. Mistakes that could damage your system! One of the validation options is to test the input against a regular expression. Not...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: