Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
PowerShell commands that allows you to perform complex provisioning and artifact management actions towards SharePoint. The commands use CSOM and can work against both SharePoint Online as SharePoint On-Premises.
0
votes
Powershell PnP attachmentfiles.serverrelativeurl
You can put code in your for each item loop, this will get all attachments and Set grouplogopath. Though this takes of all attachments, ideally you should have only one attachment.
$attachments = For …
1
vote
How to change versions of PnP PowerShell
you can do below
Run them side by side
Out of the box this won't work.
Well, you can install them, but PowerShell will automatically load the first one it finds. So in order to use them we will hav …
0
votes
Finding SharePoint Site Collection using just it's GUID
Edit - Below will work only for SP on premises environment.
I think you can use Pure Powershell command.
Get-SPSite -Identity "121321-12312-12312-1231231"
Identity parameter takes url or GUID, be …
0
votes
Remove-PnPSiteCollectionAdmin on none existing users
Below code can be used,
#Get the Root web
$web = Get-SPWeb "http://sharepoint.stackechange"
#Specify the user account
$UserAccount = "Stackexchange\mqassas"
#Removes user from site collection
Remove …
1
vote
How to add JSLink to a field through pnp?
Set JS Link using PNP Field, just remove tilt sign from jslink path. JSLink properties requires relative path without any placeholder. it will automatically add your current site url before '/'
Set-P …
1
vote
How to edit properties on survey list via pnp powershell
Unfortunately, you don't have option to change this 2 settings in PnP powershell, In fact this are not available in SharePoint powershell also. You have to rely on list.asmx webservice to do this.... …
0
votes
how do i get list with lookup columns and managed metadata columns in sharepoint site collec...
To get all list which has Lookup columns using powershell.
Powershell to get list column and its types
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Configuration Para …
5
votes
Accepted
Batch update via PNP Powershell
By default CSOM is batch update request so all the request are queued until execute query method is called.
Use Powershell SPO online commands to create new item but do not call execute query until y …
1
vote
PowerShell to import promoted results into SharePoint online
Please check if below helps... Ref link
$siteUrl = "http://sandbox0391"
$resultSourceName = "Local SharePoint Results"
$web = Get-SPWeb $siteUrl
$ssa = Get-SPEnterpriseSearchServiceApplication " …
2
votes
Drop down field choices in SharePoint Online list
We can modify the options of a choice field by modifying the schema xml of the field
Let say the field Fruit has 2 options, Apple and Orange and we want to add Banana to the list
First we get the sc …