-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SkillsAdm
committed
May 12, 2020
1 parent
105d228
commit 988be02
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# SharePoint2019Commands | ||
PowerShell module to help you auto-load all SharePoint 2019 cmdlets | ||
|
||
PowerShell module to help you auto-load all SharePoint 2019 cmdlets. | ||
|
||
## Why, you may ask | ||
|
||
The challenge we face with an out of the box SharePoint Server installation is that the SharePoint Management Shell is using a PSSnappin in the background. | ||
And PSSnappins do not support PowerShell's module autoloading capabilities. | ||
|
||
So we have two options, the first is if use SharePoint Management Shell, and the second is if we make sure that we run the following command: `Add-PSSnapin Microsoft.SharePoint.PowerShell` before we try to execute any of the SharePoint related cmdlets. | ||
|
||
Or third, we can install the `SharePoint2019Commands` module from the PowerSHell Gallery and get module autoloading for SharePoint. | ||
|
||
## Installation | ||
|
||
We can install **SharePoint2019Commands** in two scopes: user level, or machine level. | ||
|
||
To install on the user level execute this line: `Install-Module SharePoint2019Commands -Scope CurrentUser` | ||
|
||
To install on the machine level, start the regular Windows PowerShell as Administrator and execute this line: `Install-Module SharePoint2019Commands` |