PowerShell Guide

This article explains how to install, uninstall, or update SPDocKit PowerShell Module.

SPDocKit PS module is used to collect SharePoint farm settings and permissions. SPDocKit PS module needs to run on a server inside your client’s farm.

After acquiring PowerShell module from PowerShell Gallery or Syskit Customers Web, the module can be imported by manually copying the module and pasting it to the PowerShell module path or by using the command, whichever you prefer.

The PowerShell module can be used with PowerShell version 3.0 or higher.

Install SPDocKit PowerShell Module

1. Using the command

  • Save the module to preferred location:

Save-Module -Name SysKit.SPDocKit.PS -Path < path >

< path > can be any location of your choice such as: C:\Users\Public\Desktop Save–Module command automatically downloads and unzips module to location.

  • Install the module:

Install-Module -Name SysKit.SPDocKit.PS

Install-Module command installs SPDocKit PS Module to default location: C:\Program Files\WindowsPowerShell\Modules

  • (Optional) Check the SPDocKit PS module version:

Get-SPDocKitVersion

Running Get-SPDocKitVersion is used to check SPDocKit PS module version to make sure you have successfully installed the module.

2. Manually copy and paste PowerShell module:

  • Go to PowerShell Gallery to find the latest version of SPDocKit PowerShell module.

  • Navigate to the Manual Download tab, then select the Download the raw nupkg file option.

  • Once you’ve downloaded syskit.spdockit.ps.1.X.X.nupkg, change the file extension from .nupkg to .zip and extract it to a location of your choosing.

  • Finally, copy the extracted content from syskit.spdockit.ps.1.X.X folder to C:\Program Files\WindowsPowerShell\Modules\SysKit.SPDocKit.PS.

Uninstall SPDocKit PowerShell Module

If you wish to uninstall SysKit.SPDocKit PS module from a server inside your client’s farm you can use the following command:

Get-InstalledModule -Name “SysKit.SPDocKit.PS” | Uninstall-Module

Or you can manually delete SysKit.SPDocKit PS file from the location you chose during installation.

Update SPDocKit PowerShell Module

SysKit.SPDocKit module update can be done using the following command:

Update-Module -Name “SysKit.SPDocKit.PS”

To update the module manually, first, uninstall the existing version of module, then follow instructions in [section 2](powershell-guide.md#2-manually-copy-and-paste-powershell-module) of this article.

General information on how to create a snapshot can be viewed here.

Last updated

Was this helpful?