using ii to open folder in explorer

I am trying to open all explorer folders which match a pattern with ii command, the folders are network shares.

when I try ii "\\servername\logs" - I am able to open

when I try ii "\\servername\log*" - I am not able to open.

Is it possible to open multiple folders which match a pattern like

ii \\servername\*log* can it open all folders matching that pattern?
DevSupportAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlanConsultantCommented:
Hi,

These all work for me:

II C:\Temp\AlanA
II C:\Temp\AlanB
II C:\Temp\Alan*
II C:\Temp\*lan*

With the last two, I get two windows opened (AlanA and AlanB)

Might be different in different versions of PowerShell.  I am running 5.1.15063.608

Use this to get your version:

$PSVersionTable


Alan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DevSupportAuthor Commented:
I am using 5.1.14409.1005, when I opened with administrator option it worked. Thanks!
0
AlanConsultantCommented:
Cool - glad it is sorted!

Alan.
0
SD-WAN: Making It Work for You

As bandwidth requirements and Internet costs grow, businesses naturally want to manage budgets by reducing reliance on their most expensive connection types. Learn more about how to make SD-WAN work for your business in our upcoming webinar!

DevSupportAuthor Commented:
sorry, closed it too soon. can I reopen this question? it appears to work in local drives but not network drives
0
DevSupportAuthor Commented:
ii c:\p* - works

ii \\servername\lo* - does not work
0
AlanConsultantCommented:
Hi - Saw your new question - I will respond there.

Thanks,

Alan.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.