$Identity = Read-Host 'Please enter the user name of the locked account (e.g. jdoe)'Get-LockedOutLocation -Identity $IdentityRead-Host 'Press Enter to continue...' | Out-Null
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Try if pushing the results out to the console explicitely will help:
$Identity = Read-Host 'Please enter the user name of the locked account (e.g. jdoe)'Get-LockedOutLocation -Identity $Identity | Out-HostRead-Host 'Press Enter to continue...' | Out-Null
Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.
Open in new window