Skip to main content
7 events
when toggle format what by license comment
Jun 2, 2017 at 14:33 comment added ameliapond The third parameter of the method Add specifies if the file within the library that has the same name as the file that is adding should be replace ($true) or not ($false).
Dec 26, 2016 at 20:42 comment added emo Hi, what does the $false do after the Openread() command in the script, when adding a item to the list?
Oct 29, 2015 at 18:48 comment added ajs for some reason when i run this code i get the error "The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." how do i correct this? Thanks again
Oct 8, 2015 at 19:22 history edited Eric Alexander CC BY-SA 3.0
added 40 characters in body
Oct 8, 2015 at 19:11 comment added andrewsha In the script document library name is defined as "Docs". You can change it in your own version. To make a PS script to sleep I'd suggest using Start-Sleep command. For instance, "Start-Sleep -s 10" will pause for 10 seconds.. More info about the command you can get using "Get-Help Start-Sleep -Full" command. Hope Iit'd be useful for you.
Oct 8, 2015 at 18:07 comment added ajs Thank you very much for your help, what is $DocLibName there?
Oct 8, 2015 at 18:02 history answered andrewsha CC BY-SA 3.0