PowerShell for Windows Admins:

Powershell


March 4, 2017  5:59 AM

Modifying AD users in bulk

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

Modifying AD users in bulk involves either setting one or more properties to the same value for a set of users or reading in the values you need from a data source of some kind. We prepared some test data in the last post so lets see how we use it.

$users = Import-Csv -Path...

March 3, 2017  1:52 PM

Test data for bulk AD changes

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

I’ve had a number of questions about changing AD user data in bulk. If you need to do that you need some test data. The specific questions were around setting the Division property and the EmployeeNumber at the same time – but some accounts didn’t have an employee number. First you need...


March 1, 2017  6:05 AM

Get-Content and Numbers

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A common technique is to put a list of information into a text file and read that using Get-Content. The information is often server names. This works great when the data is strings but breaks down if you’re dealing with numbers. Lets start with a text file containing some...


February 24, 2017  4:25 AM

Wanted

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Wanted one nice kind PowerShell community member to buy the last lonely ticket for the 2017 PowerShell and DevOps Summit. That’s right we have one place left. And its definitely the last. if you want it – better hurry.


February 16, 2017  2:24 PM

Get-ADUser doesn’t display all properties

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

Microsoft’s Active Directory cmdlets have some issues. One of the ones that catches everyone when they start using them is that Get-ADUser doesn’t display all properties. A default call to Get-ADUser displays a subset of the available properties of the user object:

DistinguishedName :...


February 11, 2017  8:57 AM

Filtering of Objects and Properties

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Saw a post on the forum today that suggests people are still confused about how to perform filtering of objects and properties in PowerShell. As with so much in PowerShell explanations are always better with examples. Let’s start with the physical disks in a computer:

PS>...


February 9, 2017  10:56 AM

PowerShell Summit 2017 – – more seats available

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

After selling out in record time we’ve managed to squeeze a few more seats in after discussion with the conference centre. Those seats are live now. They are very definitely, the absolute last set of seats we’ll be able to add this year. First come – First served. When they’re...


February 9, 2017  5:43 AM

POwerShell Summit 2017 – sold out

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

We sold the last seat for the 2017 Summit - https://eventloom.com/event/home/summit2017 yesterday. If, and its a very big if, more seats become available we'll notify you though the event web site and on powershell.org


February 1, 2017  2:14 PM

PowerShell on Linux installs

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Linux, Powershell

PowerShell on Linux installs are now easier as you can use the Linux package management tools to download and update PowerShell Core 6.0 Details from 0 Comments     RSS Feed     Email a friend


January 31, 2017  2:17 PM

Append data to a file

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A question on the forums - the user wanted to append data to a file. This is a common scenario when you’re creating a log file. There’s 2 easy ways to do this. Lets create a couple of variables with multi-line data PS> $data = @' >> This is >> multiline...


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: