full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPQuotaTemplate/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example creates a specific quota template in the local farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPSearchIndexPartition/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example adds an extra search partition to the local farms topology
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPUserProfileServiceAppPermissions/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example applies permissions for the user profile service application to limit
access to specific features.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-Ds... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPAppManagementServiceApp/1-CreateServiceApp.ps1 | 1-CreateServiceApp.ps1 | <#
.EXAMPLE
This example shows how to create a new app management service application in the
local SharePoint farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResour... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPAppManagementServiceApp/2-RemoveServiceApp.ps1 | 2-RemoveServiceApp.ps1 | <#
.EXAMPLE
This example shows how to remove a specific app management service application in the
local SharePoint farm. The application pool property is still mandatory but it is not
used so therefore the value is not important.
#>
Configuration Example
{
param(
[P... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPHealthAnalyzerRuleState/1-DisableHealthRule.ps1 | 1-DisableHealthRule.ps1 | <#
.EXAMPLE
This example shows how to disable a health analyzer rule
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localho... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPJoinFarm/1-JoinFarm.ps1 | 1-JoinFarm.ps1 | <#
.EXAMPLE
This example shows how to join an existing SharePoint farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount,
[Parameter(Mandatory = $true)]
[PSCredential]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPJoinFarm/1-JoinFarmWithRole.ps1 | 1-JoinFarmWithRole.ps1 | <#
.EXAMPLE
This example shows how to join an existing SharePoint farm using a specific
server role (applies to SharePoint 2016 only).
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount,
[P... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPSubscriptionSettingsServiceApp/1-NewServiceApp.ps1 | 1-NewServiceApp.ps1 | <#
.EXAMPLE
This example creates a new subscription settings service app in the local farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPSubscriptionSettingsServiceApp/2-RemoveServiceApp.ps1 | 2-RemoveServiceApp.ps1 | <#
.EXAMPLE
This example removes a subscription settings service app in the local farm.
The ApplicationPool property is required, but is ignored when removing a
service app.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWebAppThrottlingSettings/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example shows how to apply throttling settings to a specific web app
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPDatabaseAAG/1-AddDBtoAAG.ps1 | 1-AddDBtoAAG.ps1 | <#
.EXAMPLE
This example takes an existing SharePoint database and puts it in to the specified
AlwaysOn Availability Group (AAG).
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Imp... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPDatabaseAAG/2-RemoveDBfromAAG.ps1 | 2-RemoveDBfromAAG.ps1 | <#
.EXAMPLE
This example removes a database from the specified AlwaysOn Availability Group (AAG)
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePoint... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPTrustedIdentityTokenIssuer/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example deploys a trusted token issuer to the local farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node lo... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWebAppSiteUseAndDeletion/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example shows how to apply site use and deletion settings to the specified web applicaiton
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPAppCatalog/1-SetSiteAsAppCatalog.ps1 | 1-SetSiteAsAppCatalog.ps1 | <#
.EXAMPLE
This example shows how to apply specific anti-virus configuration to the farm
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWebAppPermissions/1-LimitPermissions.ps1 | 1-LimitPermissions.ps1 | <#
.EXAMPLE
This example shows how to limit the available permisions within a web app
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWebAppPermissions/2-AllPermissions.ps1 | 2-AllPermissions.ps1 | <#
.EXAMPLE
This example shows how to ensure all permissions are available for a web app
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPVisioServiceApp/1-NewServiceApp.ps1 | 1-NewServiceApp.ps1 | <#
.EXAMPLE
This example shows how to create a new visio services service app in the local farm
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointD... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPVisioServiceApp/2-RemoveServiceApp.ps1 | 2-RemoveServiceApp.ps1 | <#
.EXAMPLE
This example shows how to remove a visio services service app in the local farm.
The ApplicationPool property is still requried but is not used when removing, so
the value used here doesn't matter.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWebApplication/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example shows how to create a new web application in the local farm
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPUserProfileSyncConnection/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example adds a new user profile sync connection to the specified user
profile service app
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount,
[Parameter(Mandatory = $true)... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPShellAdmins/2-SpecificDBs.ps1 | 2-SpecificDBs.ps1 | <#
.EXAMPLE
This example gives admin access to the specified users for the local farm as well as
all content databases in the local farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPShellAdmins/1-FarmAdmins.ps1 | 1-FarmAdmins.ps1 | <#
.EXAMPLE
This example gives admin access to the specified users for the local farm as well as
all content databases in the local farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPBlobCacheSettings/1-ApplyBlobCacheConfig.ps1 | 1-ApplyBlobCacheConfig.ps1 | <#
.EXAMPLE
This example shows how to configure the blob cache settings on the local server for the
specified web application and zone
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPFarmAdministrators/2-SetIncludeExcludeAdmins.ps1 | 2-SetIncludeExcludeAdmins.ps1 | <#
.EXAMPLE
This example shows how certain changes are made to the farm admins groups. Here any
members in the MembersToInclude property are added, and members in the MembersToExclude
property are removed. Any members that exist in the farm admins group that aren't listed
in either of these propert... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPFarmAdministrators/1-SetSpecificAdmins.ps1 | 1-SetSpecificAdmins.ps1 | <#
.EXAMPLE
This example shows how to set a specific list of members for the farm admins group.
Any members not in this list will be removed.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPManagedMetaDataServiceApp/1-CreateServiceApp.ps1 | 1-CreateServiceApp.ps1 | <#
.EXAMPLE
This example shows how to deploy the Managed Metadata service app to the local SharePoint farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPManagedMetaDataServiceApp/2-RemoveServiceApp.ps1 | 2-RemoveServiceApp.ps1 | <#
.EXAMPLE
This example shows how to remove a specific managed metadata service app from the
local SharePoint farm. Because Application pool parameter is required
but is not acutally needed to remove the app, any text value can
be supplied for these as it will be ignored.
#>
Configura... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPOutgoingEmailSettings/2-WebApp.ps1 | 2-WebApp.ps1 | <#
.EXAMPLE
This example shows to set outgoing email settings for a specific web app
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPOutgoingEmailSettings/1-WholeFarm.ps1 | 1-WholeFarm.ps1 | <#
.EXAMPLE
This example shows to set outgoing email settings for the entire farm. Use the URL
of the central admin site for the web app URL to apply for the entire farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWebAppWorkflowSettings/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example shows how to apply workflow settings to the specific web application
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPUserProfileServiceApp/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example adds a new user profile service application to the local farm
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount,
[Parameter(Mandatory = $true)]
[PSCredenti... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWordAutomationServiceApp/1-NewServiceApp.ps1 | 1-NewServiceApp.ps1 | <#
.EXAMPLE
This example makes sure the service application exists and has a specific configuration
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePo... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPWordAutomationServiceApp/2-RemoveServiceApp.ps1 | 2-RemoveServiceApp.ps1 | <#
.EXAMPLE
This example removes a word automation service app
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost {
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPAppDomain/1-SetAppDomainDetails.ps1 | 1-SetAppDomainDetails.ps1 | <#
.EXAMPLE
This example shows how to apply app URLs to the current farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node lo... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPInstall/1-InstallToDefaultPath.ps1 | 1-InstallToDefaultPath.ps1 | <#
.EXAMPLE
This module will install SharePoint to the default locations. The binaries for
SharePoint in this scenario are stored at C:\SPInstall (so it will look to run
C:\SPInstall\Setup.exe)
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPInstall/3-InstallSPFoundation.ps1 | 3-InstallSPFoundation.ps1 | <#
.EXAMPLE
This module will install SharePoint Foundation 2013 to the local server
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName PSDesiredStateConfigura... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPInstall/2-InstallToCustomPath.ps1 | 2-InstallToCustomPath.ps1 | <#
.EXAMPLE
This module will install SharePoint to the specific locations set for the
InstallPath and DataPath directories.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-D... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPInstallPrereqs/2-OfflineInstall.ps1 | 2-OfflineInstall.ps1 | <#
.EXAMPLE
This module will install the prerequisites for SharePoint 2013. This resource will run in
offline mode, running all prerequisite installations from the specified paths.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPInstallPrereqs/1-OnlineInstall.ps1 | 1-OnlineInstall.ps1 | <#
.EXAMPLE
This module will install the prerequisites for SharePoint. This resource will run in
online mode, looking to download all prerequisites from the internet.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPSearchServiceApp/1-NewServiceApp.ps1 | 1-NewServiceApp.ps1 | <#
.EXAMPLE
This example creates a new search service app in the local farm
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node l... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPSearchServiceApp/2-RemoveServiceApp.ps1 | 2-RemoveServiceApp.ps1 | <#
.EXAMPLE
This example removes a search service app in the local farm. The ApplicationPool
parameter is still required but is not actually used, so its value does not matter.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPServiceAppProxyGroup/1-ProxyGroups.ps1 | 1-ProxyGroups.ps1 | <#
.EXAMPLE
This example creates two seperate proxy groups of service apps that can be
assigned to web apps in the farm
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscRe... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPSecureStoreServiceApp/1-NewServiceApp.ps1 | 1-NewServiceApp.ps1 | <#
.EXAMPLE
This example creates a new secure store service app.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost {
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPSecureStoreServiceApp/2-RemoveServiceApp.ps1 | 2-RemoveServiceApp.ps1 | <#
.EXAMPLE
This example removes a secure store service app. The ApplicationPool and
AuditingEnabled parameters are required, but are not used so their values
are able to be set to anything.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPTimerJobState/1-Example.ps1 | 1-Example.ps1 | <#
.EXAMPLE
This example show how to disable the dead site delete job in the local farm.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPAntivirusSettings/1-SetAntivirusConfig.ps1 | 1-SetAntivirusConfig.ps1 | <#
.EXAMPLE
This example shows how to apply specific anti-virus configuration to the farm
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPDiagnosticLoggingSettings/1-ApplyLoggingSettings.ps1 | 1-ApplyLoggingSettings.ps1 | <#
.EXAMPLE
This example applies the specified diagnostic logging settings to the local
SharPoint farm. Any setting not defined will be left as it default, or to
whatever value has been manually configured outside of DSC.
#>
Configuration Example
{
param(
[Parameter(M... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPCacheAccounts/1-SetCacheAccounts.ps1 | 1-SetCacheAccounts.ps1 | <#
.EXAMPLE
This example sets the super use and reader accounts for the specified web app. It will
also set the appropriate web app policies by default for these accounts.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Modules/SharePointDsc/Examples/Resources/SPCacheAccounts/2-SetCacheAccountsNoPolicy.ps1 | 2-SetCacheAccountsNoPolicy.ps1 | <#
.EXAMPLE
This example sets the super use and reader accounts for the specified web app. It will
not set the web app policies for these accounts though, allowing them to be controlled
elsewhere (either manually or with SPWebAppPolicy)
#>
Configuration Example
{
param(
... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/.vscode/RunGlobalTests.ps1 | RunGlobalTests.ps1 | Import-Module (Join-Path $PSScriptRoot "..\Tests\Unit\SharePointDsc.TestHarness.psm1")
$DscTestsPath = Join-Path $PSScriptRoot "..\Modules\SharePointDsc\DscResource.Tests"
if ((Test-Path $DscTestsPath) -eq $false) {
throw "Unable to locate DscResource.Tests repo at '$DscTestsPath', common DSC resource tests wi... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/.vscode/RunPesterTests.ps1 | RunPesterTests.ps1 | Import-Module (Join-Path $PSScriptRoot "..\Tests\Unit\SharePointDsc.TestHarness.psm1" -Resolve) -Force
$DscTestsPath = Join-Path $PSScriptRoot "..\Modules\SharePointDsc\DscResource.Tests" -Resolve
if ((Test-Path $DscTestsPath) -eq $false) {
Write-Warning "Unable to locate DscResource.Tests repo at '$DscTestsP... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPPasswordChangeSettings.Tests.ps1 | SharePointDsc.SPPasswordChangeSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPFarmSolution.Tests.ps1 | SharePointDsc.SPFarmSolution.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPTrustedIdentityTokenIssuer.Tests.ps1 | SharePointDsc.SPTrustedIdentityTokenIssuer.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPPerformancePointServiceApp.Tests.ps1 | SharePointDsc.SPPerformancePointServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPManagedMetadataServiceApp.Tests.ps1 | SharePointDsc.SPManagedMetadataServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWebAppProxyGroup.tests.ps1 | SharePointDsc.SPWebAppProxyGroup.tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPServiceAppProxyGroup.tests.ps1 | SharePointDsc.SPServiceAppProxyGroup.tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.Util.Tests.ps1 | SharePointDsc.Util.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
Import-Module ... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPSite.Tests.ps1 | SharePointDsc.SPSite.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPAppCatalog.Tests.ps1 | SharePointDsc.SPAppCatalog.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWordAutomationServiceApp.Tests.ps1 | SharePointDsc.SPWordAutomationServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:C... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPAppDomain.Tests.ps1 | SharePointDsc.SPAppDomain.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPSearchCrawlRule.Tests.ps1 | SharePointDsc.SPSearchCrawlRule.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPBlobCacheSettings.Tests.ps1 | SharePointDsc.SPBlobCacheSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPSubscriptionSettings.Tests.ps1 | SharePointDsc.SPSubscriptionSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPManagedPath.Tests.ps1 | SharePointDsc.SPManagedPath.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPUserProfileSection.Tests.ps1 | SharePointDsc.SPUserProfileSection.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWebAppBlockedFileTypes.Tests.ps1 | SharePointDsc.SPWebAppBlockedFileTypes.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWebApplication.Tests.ps1 | SharePointDsc.SPWebApplication.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPCacheAccounts.Tests.ps1 | SharePointDsc.SPCacheAccounts.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWeb.Tests.ps1 | SharePointDsc.SPWeb.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4693.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPSecureStoreServiceApp.Tests.ps1 | SharePointDsc.SPSecureStoreServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPServiceAppSecurity.Tests.ps1 | SharePointDsc.SPServiceAppSecurity.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPRemoteFarmTrust.Tests.ps1 | SharePointDsc.SPRemoteFarmTrust.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPServiceInstance.Tests.ps1 | SharePointDsc.SPServiceInstance.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPUserProfileServiceAppPermissions.Tests.ps1 | SharePointDsc.SPUserProfileServiceAppPermissions.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPDiagnosticLoggingSettings.Tests.ps1 | SharePointDsc.SPDiagnosticLoggingSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPusageApplication.Tests.ps1 | SharePointDsc.SPusageApplication.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWebAppPermissions.Tests.ps1 | SharePointDsc.SPWebAppPermissions.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWebAppPolicy.Tests.ps1 | SharePointDsc.SPWebAppPolicy.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPVisioServiceApp.Tests.ps1 | SharePointDsc.SPVisioServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPOfficeOnlineServerBinding.Tests.ps1 | SharePointDsc.SPOfficeOnlineServerBinding.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPFarmAdministrators.Tests.ps1 | SharePointDsc.SPFarmAdministrators.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPStateServiceApp.Tests.ps1 | SharePointDsc.SPStateServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWebAppThrottlingSettings.Tests.ps1 | SharePointDsc.SPWebAppThrottlingSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPOutgoingEmailSettings.Tests.ps1 | SharePointDsc.SPOutgoingEmailSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPAccessServiceApp.Tests.ps1 | SharePointDsc.SPAccessServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.Global.Tests.ps1 | SharePointDsc.Global.Tests.ps1 | [CmdletBinding()]
# Ignoring this because we need to generate a stub credential to return up the current crawl account as a PSCredential
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot ".... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPFeature.Tests.ps1 | SharePointDsc.SPFeature.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPUserProfileProperty.Tests.ps1 | SharePointDsc.SPUserProfileProperty.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWorkManagementServiceApp.Tests.ps1 | SharePointDsc.SPWorkManagementServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPSearchServiceApp.Tests.ps1 | SharePointDsc.SPSearchServiceApp.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPAntivirusSettings.Tests.ps1 | SharePointDsc.SPAntivirusSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPSessionStateService.Tests.ps1 | SharePointDsc.SPSessionStateService.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPWebAppGeneralSettings.Tests.ps1 | SharePointDsc.SPWebAppGeneralSettings.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPTimerJobState.Tests.ps1 | SharePointDsc.SPTimerJobState.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
PowerShellCorpus/Github/kumarksendhi_ekmuc/Initiatives/Work on Pester/Pester1/SharePointDsc-dev/SharePointDsc-dev/Tests/Unit/SharePointDsc/SharePointDsc.SPHealthAnalyzerRuleState.Tests.ps1 | SharePointDsc.SPHealthAnalyzerRuleState.Tests.ps1 | [CmdletBinding()]
param(
[string] $SharePointCmdletModule = (Join-Path $PSScriptRoot "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" -Resolve)
)
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..\..).Path
$Global:CurrentS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.