PowerShell for Windows Admins:

Powershell


June 8, 2016  5:13 AM

32 or 64 and/or Administrator

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

When you run the PowerShell console (or ISE) the default icon runs a 32 or 64 bit version that matches your OS. On a 64 bit machine you have the option of running in 32bit (icons have a (x86) suffix on the title. How can you tell whether you’re running in 32 or 64 bit mode? One way is shown...

June 7, 2016  4:03 AM

Local Administrators

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Finding the local administrators on a system is a not infrequent action.  There are a number of ways to do this. The oldest method is to use the ADSI WinNT provider $group =[ADSI]"WinNT://$($env:COMPUTERNAME)/Administrators, group" $members = @($group.psbase.Invoke("Members")) $members |...


June 6, 2016  3:39 AM

PowerShell Summit 2017–request for topics

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The PowerShell Summit is a community event. PowerShell.orh may organise it but we’re very aware that it is the PowerShell community’s event. We’ve been planning the  2017 Summit for a while and we’ve reached a point in the process where we need your help. What topics would you like...


June 1, 2016  1:54 PM

Dates in file and folder

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

If you want to incorporate the date in a file or folder name you can’t use Get-Date directly PS>  Get-Date 01 June 2016 20:52:03 The simplest answer is to use the –Format or –Uformat parameters: PS>  Get-Date -Format yyyyMMdd 20160601 PS>  Get-Date -UFormat...


May 31, 2016  3:19 PM

Counting members

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

If you have a collection of objects $proc = get-process you can get the number of members using the Length property PS>  $proc.Length 71 $proc is of type System.Array PS>  $proc.GetType() IsPublic IsSerial...


May 30, 2016  10:02 AM

WMF 5.0 preview support ending

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Support for the WMF 5.0 preview is ending - 0 Comments     RSS Feed     Email a friend


May 29, 2016  3:58 AM

PowerShell 5.1

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Want to see what PowerShell 5.1 looks like? Install Windows Server 2016 TP 5 or get on the fast ring for Windows 10 Insider Previews. The latest build – 14352 shows a PowerShell version of  5.1.14352.1002 with Powershell 1.0 through 5.0 as compatible versions The WSMAN stack is still...


May 5, 2016  12:12 PM

PowerShell and Nano server

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell, Windows Server 2016

Nano server is the new install option introduced with Windows 2016. It has a really tiny footprint compared to a server core machine. Of course it has PowerShell but its not a complete port of the PowerShell you’re used to. The features that aren’t present are detailed here:


May 2, 2016  7:45 AM

Loading assemblies

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

PowerShell is .NET based but doesn’t load all available .NET assemblies when it starts. Many people still use something  like [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') to load additional assemblies.  This is a hang over from PowerShell v1 when there...


April 29, 2016  5:13 AM

WinOps conference

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DevOps, Powershell

The WinOps conference is dedicated to ‘Windows in a DevOps World’  Its in London 24 May 2016. I’ll be speaking as will Jeffrey Snover and Ed Wilson of Microsoft. More details from http://winops.org/ Hope to see you there


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: