If you have worked with the AutoSPInstaller script for your SharePoint installations, you may have encountered a long standing issue whereby the PowerShell script cannot handle file path spaces.
Unfortunately, without going through and editing the AutoSPInstallerMain.ps1 script file, there seems to be no way of getting around this problem other than to ensure that your file path does not contain any spaces.
The safest way to do this is to put the AutoSPInstaller directory at the root of a drive to ensure there are no spaces in the path.
Perhaps the AutoSPInstaller CodePlex project will fix this defect/bug one day, but for now removing any file path spaces is the easiest workaround.
Unfortunately, without going through and editing the AutoSPInstallerMain.ps1 script file, there seems to be no way of getting around this problem other than to ensure that your file path does not contain any spaces.
The safest way to do this is to put the AutoSPInstaller directory at the root of a drive to ensure there are no spaces in the path.
Perhaps the AutoSPInstaller CodePlex project will fix this defect/bug one day, but for now removing any file path spaces is the easiest workaround.
No comments:
Post a Comment