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 |
Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems.[except from WikiPedia]
0
votes
Powershell Site Provisioning example
Get-SPUser $SecondaryLogin -Web $url
$SecondaryAdmin.Name = $SecondaryDisplay
$SecondaryAdmin.Update()
$web.Dispose()
Link:
http://sharepointpromag.com/sharepoint/create-sharepoint-site-collection-windows-powershell-ui-style …
0
votes
2
answers
766
views
Formatting the output using powershell
The following working as expected except the format. It appears the record of value $r and $s variable are display in the same column field. How i can make display in different column field? or when i …
3
votes
Accepted
License users in O365 with PowerShell
LicenseAssignment contoso:ENTERPRISEPACK
http://technet.microsoft.com/en-us/library/dn530773.aspx
http://www.everonit.com/techtips/techtips/tech-tips-for-techs-applying-office-365-licenses-in-bulk-using-powershell …
2
votes
1
answer
6k
views
Get the outgoing email Server Settings using powershell
I am trying to return information about outgoing email server setting from Central Admin. I manage to return the outbound SMTP server information using the following:
(Get-SPWebApplication -IncludeCe …
2
votes
1
answer
885
views
Powershell add sitecollection primary adminstrator
Create a site collection and top level website
# The primary and secondary site collection administrators are specified
# In Central Administration, their e-mail addresses are looked up, but
# in PowerShell … PrimaryAdmin.Update()
$SecondaryAdmin = Get-SPUser $SecondaryLogin -Web $url
$SecondaryAdmin.Name = $SecondaryDisplay
$SecondaryAdmin.Update()
# Finish by disposing of the SPWeb object to be a good PowerShell …
3
votes
How to set Anonymous access to Site Collection using Powershell
You can implement like the following:
$web = Get-SPWeb http://sharepoint.contoso.com/sites/sitecollection
$web.AnonymousState = [Microsoft.SharePoint.SPWeb+WebAnonymousState]::Enabled
$web.Update()
0
votes
The term 'New-Object' is not recognized as the name of a cmdlet
have you try to add Add-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue and run with user that has Admin right then run your code again
0
votes
1
answer
247
views
Powershell send email from email field in csv
I have construct powershell to get sitecollection information. …
1
vote
Powershell - Create Document Library on All Sites or Sites in list
You can create multiple list using the the following code by reading setting from xml file. You can specified the template as required
$invocation = (Get-Variable MyInvocation).Value
$directorypath = …
2
votes
Accepted
Iterating Through Site Collections in a Tenancy using PnP PowerSHell
From the admin site, the available site collections can be retrieved, using PnP CSOM PowerShell and run the following:
$sites = Get-SPOTenantSite -Detailed -IncludeOneDriveSites -Force
Write-Host "There … Write-Host "-----------------------------------------"
}
Here is the link:
https://globaltechstop.wordpress.com/2016/07/12/working-with-sharepoint-site-collections-on-office365-tenant-site-using-pnp-powershell …
1
vote
Accepted
Can't export Content query web part
Solution 1:
Edit webpart. Under Export Mode under Advanced Section, ensure Export all data selected. Refer to the image attached.
Solution 2
Use exportwp page
e.q:
https://intranet.contoso.com/_v …
0
votes
Removing NewsFeed comments with Remove-SPSocialItemByDate throws SQLException
Try this.
Add-PsSnapIn Microsoft.SharePoint.PowerShell
$userProfProxy = Get-SPServiceApplicationProxy | where { $_.DisplayName -eq 'User Profile Service Application' }
Remove-SPSocialItemByDate -Remo …
1
vote
0
answers
387
views
How to Hide default Authentication Providers in SharePoint 2013
I am using Claim Provider authentication and I tried to hide default authentication provider based from People picker using powershell. … I copied the following powershell script from Steve Peschka blog however it will hide AD result on Farm Level (all zone) not only in People Picker. …
1
vote
1
answer
9k
views
Read sharepoint field list using CSOM in powershell
Here is the code so far:
listName ="CustomerList"
Add-Type -Path "D:\libs\Powershell Office365\Libraries\Microsoft.SharePoint.Client.dll"
Add-Type -Path "D:\libs\Powershell Office365\Libraries\Microsoft.SharePoint.Client.Runtime.dll … "
Add-Type -Path "D:\libs\Powershell Office365\Libraries\Microsoft.SharePoint.Client.Taxonomy.dll"
# connect/authenticate to SharePoint Online and get ClientContext object.. …
0
votes
1
answer
119
views
How to filter sharepoint list with CAML query with more than one filters
The following filter CAML query is working as expect. I would like to add filter for record that only created today. Are you able to point out what i have missed or done incorrectly. Thank you.
I hav …