Skip to content

PowerShell tool for developement of the core Sitefinity CMS.

Notifications You must be signed in to change notification settings

todorm85/Sf-PoSh

Repository files navigation

Sitefinty PowerShell Module for Sitefinity core developers

Description

Manage, provision and automate Sitefinity instances on local machine.

Installation

Get the release branch of this repo locally or pull changes to update.

Requirements

  • Powershell 5.1 64bit
  • VS 2017 (or other, but needs configuration)
  • First run of internet explorer to have completed (this is required for the WebClient in .NET)
  • Enabled IIS server feature, which should add the WebAdministration powershell module

Links

Release Notes

Quickstart

In powershell console window type:

Import-Module $path # where $path is your local path to https://github.com/todorm85/Sf-PoSh/blob/release/sf-posh/sf-posh.psm1
sf-PSmodule-openConfig # opens the configuration file with its default settings and paths (set for VS2017 tools) after editing you must restart the powershell session
sf- #then press (ctrl + space), which should list all commands
sf-proj #then ctrl+space, would list all related to module`s projects commands etc.
sf-project-new -displayName test -sourcePath "any path to sitefinity web app zip or tfs branch" # this creates a new project, in case of tfs branch a separate workspace. It is automatically selected for the current session. All commands that are executed in the powershell session are modifying the currently selected project - it should be displayed on the prompt and on the console status bar.
sf-project-select # to select a different project previously created etc.
sf-project-get # returns the currently selected project object
sf-project-set # sets the project object passed to the command as the current 

About

PowerShell tool for developement of the core Sitefinity CMS.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published