I need to create shortcuts on a WindowsXP box to about 100 solaris directories which are mounted as SMB shares. If I go through the process manually, I create a shortcut, entering the UNC path as the target. When I click on the shortcut, Windows asks me for a username/password. Once I enter that and click "Remember", then the shortcut is accessible without problems.
How can I automate this process in a script so I can do this to multiple PCs. I know how to write a powershell script to create the shortcut, but not sure how to do the password entering, remembering part.