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:
Just replace "storage1" with the name or IP address of the system you want to access. Note that this method does not allow for separate authentication, so your current user must have local administrator privileges on the target machine.
A return value of 0 indicates success. If you receive a "2", you do not have proper permissions.