Get-Content : Impossible de lier l'argument au paramètre « Path », car il a
la valeur Null.
Au niveau de c:\script\DSConfig.ps1 : 33 Caractère : 8
+ type <<<< $file >> DataSourceGroups.xml # Consolidating groups
pertaining to all the volumes.
+ CategoryInfo : InvalidData: (:) [Get-Content],
ParameterBindingValidationException
+ FullyQualifiedErrorId :
ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetContentC
ommand
Remove-Item : Impossible de trouver un paramètre correspondant au nom
« Recursive ».
Au niveau de c:\script\DSConfig.ps1 : 37 Caractère : 30
+ Remove-Item -Force -Recursive <<<< $dir
+ CategoryInfo : InvalidArgument: (:) [Remove-Item],
ParameterBindingException
+ FullyQualifiedErrorId :
NamedParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
The script was executed on one of the cluster's host, which is running W2k8
R2 French.
Thank you
Please run the script after these changes.
Thanks,
--Angad.
--
This posting is provided “AS IS” with no warranties, and confers no rights
"Bernard" <Ber...@discussions.microsoft.com> wrote in message
news:E2B3B950-4082-4100...@microsoft.com...
--
Narendran[MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Bernard" <Ber...@discussions.microsoft.com> wrote in message
news:E2B3B950-4082-4100...@microsoft.com...
The script executes just fine now, thank you!
I did rename my volumes to custom names. This is why the script wouldn't
run properly. After applying the fix proposed by Andad, it completed
successully.
Thank you!