Unable to use InputObject parameter with RAS PowerShell module

0 users found this article helpful

Symptoms

When trying to use the InputObject parameter with RAS Powershell commands, following error is observed:

Cause

InputObject does not equal object name.

Resolution

For this example we use the user filtering cmdlet.

1. Run PowerShell ISE

2. Create a following script (note, that -Server parameter should be set to your server name):

3. Run the script and you'll be prompted for further actions, in this case - specifying required user account.

Was this article helpful?

Tell us how we can improve it.