makerofthings7
makerofthings7

Reputation: 61463

How does the command "cd WSMan:\localhost\shell" work? How can I reproduce it?

I am able to use Powershell to configure WinRM using a special "cd" command. Can anyone explain how it works and how I can implement that type of plug in for my own app?

Upvotes: 0

Views: 764

Answers (1)

JasonMArcher
JasonMArcher

Reputation: 14991

What you are looking at is a PowerShell Provider. You can implement providers to expose data or configuration information as a file system.

This link should get your started, but know that providers are more difficult to implement than cmdlets.

Writing a Windows PowerShell Provider

Upvotes: 3

Related Questions