Creating Shares Remotely using Powershell
PowerTip of the Day, from PowerShell.com: Let’s assume you need to access another machine’s file system but there is no network share available. Provided you have local administrator privileges and WMI remoting is allowed in your Firewall, here is a one-liner that adds another share remotely: PS> ([wmiclass]‘\\storage1\root\cimv2:Win32_Share’).Create(‘c:\’, ‘Hidden’, 0, 12, ‘secret share‘).ReturnValue… Continue reading Creating Shares Remotely using Powershell