PowerShell for Windows Admins:

July, 2015


July 1, 2015  10:51 AM

String startswith method

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
.NET, Powershell

If you look at the methods available on a string one of them is StartsWith(). It tests if a given string starts with another string £> 'frgrughrugu'.StartsWith OverloadDefinitions ------------------- bool StartsWith(string value) bool StartsWith(string value, System.StringComparison...

July 1, 2015  8:13 AM

Domain Admins password last set

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

A recent question on the forums asked about getting the date a password was last set and the password never expires status for the domain admins group This is one way of doing it Get-ADGroupMember -Identity 'Domain Admins' | foreach { Get-ADUser -Identity $psitem.samAccountName -Properties...


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: