Installation and Setup - Skatterbrainz/sktools GitHub Wiki
Since sktools is a PowerShell module, you install it as follows:
- Open a PowerShell console using "Run as Administrator"
- Enter
powershell Install-Module sktools
(note: If dbatools is not already installed, it will be installed along with sktools) - Import the sktools module by typing
powershell Import-Module sktools
This will load two commands/functions: Install-SkatterTools, and Start-SkatterTools.
This function simply creates a configuration file named skconfig.txt
within your Documents folder (e.g. c:\users<username>\Documents\skconfig.txt).
Open this file and edit the contents to suit your environment. The most common settings that require changing are:
- SkCmDbHost (SQL Server host name)
- SkCmSMSProvider (ConfigMgr SMS Provider host name)
- SkCmSiteCode (ConfigMgr site code)
After editing the file, save and close it.
In the same PowerShell console, enter powershell Start-SkatterTools
This command initializes the PoSHServer web service and provides the support to SkatterTools. Once loaded, you should see a confirmation which includes version number and other information. At this point, minimize the PowerShell console, and open your web browser and navigate to http://localhost:8080.
Note: If you need to use a different TCP port than 8080, use the -Port
parameter (e.g. powershell Start-SkatterTools -Port 8181
).