All Questions
14 questions
0
votes
1
answer
3k
views
Powershell Script - Download SharePoint files from a folder and any subfolders
I'm trying to create a PowerShell script which will download files from a specific folder I have in a SharePoint site. This part seems to be working at moment using the script below.
However, within ...
0
votes
1
answer
541
views
Import .aspx page to Sharepoint with Powershell
I'm trying to import an .aspx page to sharepoint with powershell scripts, I've tried a few ways and some work, however I don't understand why when I run the script and previously specified that only ...
0
votes
1
answer
135
views
Set "Configure Search Navigation" in search setting in SharePoint Online using PowerShell
I want to mark checkbox to true for use the same search navigation links as my parent using PowerShell script as I have 100+ Subsites. I tries to some scripts but they did not work so it would be ...
1
vote
0
answers
38
views
Optimizing Script for Downloading Files from Library with Folders
Due to some extenuating circumstances we had to resort to migrating a teams content from one farm to another via locally downloading the files from their lists and shipping them. Unfortunately, this ...
0
votes
2
answers
165
views
[Powershell/Sharepoint]Can someone review my script to delete Sharepoint list items older than 7 days? Getting'Cannot index into Null Array'
Script I made deletes items older than 7 days in each folder called Scans.
It will delete then eventually error out with 'Cannot index into a null array.'
Can someone help me with whats wrong with my ...
0
votes
1
answer
41
views
Removing an element from a library
I have a library in a list which contains a document I want to delete. This has to be done for site collections, so I decided to make a script do it.
#Set the Error Action
$ErrorActionPreference = "...
0
votes
0
answers
175
views
How do i script an excel action outside the application, i need to run Data-->Refresh All
I have an excel sheet that I need to update via command line. I am completely new to this so take it easy. I am using an application called Alteryx to do data preparation on a excel file, but I need ...
1
vote
1
answer
7k
views
Get a collection of items in document library/list
I'm new to Powershell. What I'm trying to do is get a list of all the documents in a document library. I have an absolute URL of the document library I want to process, for example.
Essentially what ...
0
votes
1
answer
1k
views
get-spweb how can i get today created items
I'm using the next Powershell Script to get items from Sharepoint List and export it
how can i edit this script to get only today created data or the data entered today
This is the code
$MyWeb = ...
2
votes
2
answers
5k
views
How to update SharePoint calendar using PowerShell?
I've been trying to update a SharePoint calendar using PowerShell (say I have a .csv file with calendar events in it) and have not been successful. Could you walk me through this action? Starting with ...
3
votes
1
answer
30k
views
SharePoint 2010, Powershell - Loop through all Document Libraries, create view and set it as default
I'm having a little trouble with a script I'm working on for SharePoint 2010. I'm only a beginner with Powershell so haven't been able to to spot the no doubt obvious and glaring problem.
The desire ...
1
vote
3
answers
10k
views
How to add custom webparts to pages in powershell scripts?
I have created a custom webpart and added to the webpart gallery.I need to add that webpart control in my page.
Please help me how to achieve this in powershell scripts.
3
votes
3
answers
615
views
How do you modify existing SharePoint sites?
I often have customer requesting changing properties, like the version history setting on all document libraries on all existing sites on a farm.
So far the best solution I have been able to think of ...
12
votes
9
answers
59k
views
Can I copy files to a Network Place from a script or the command line? [closed]
Is it possible, in Windows XP, to copy files to a Network Place from the command line, a batch file or, even better, a PowerShell script?
What sent me down this road of research was trying to publish ...