sitecorepowershell / console Goto Github PK
View Code? Open in Web Editor NEWSitecore PowerShell Extensions
Home Page: https://doc.sitecorepowershell.com/
License: Other
Sitecore PowerShell Extensions
Home Page: https://doc.sitecorepowershell.com/
License: Other
This has been broken for me since I installed PowerShell 3.0 on my server for some reason.
Is there a way to abort running script?
I accidently run some heavy searching script on root instead of a small branch. I needed to reset the app to stop it.
It would be nice to be able to force the script to stop... and nicer if that would trigger some partial result to be showed.
The ISE does not tab complete like the console.
There is an unnecessary parentheses in the description.
Name Root Description
core core: Sitecore database: 'core')
Button to clear the text similar to generating and Untitled1.ps1 script.
Get-Item should by default return like
Get-Item -Path .
I was testing out a script today and noticed that using Write-Log will log but not output to the console. This could be useful when writing larger scripts and testing in the ISE.
An alternate approach would be to use -Verbose on Write-Log so that you can toggle it on or off in the ISE.
Not sure how best to title this. Basically I would like to have the region for the cursor to be increased. Currently you have to click about 1 cm from the prompt PS Master:> before the cursor will be placed there.
Also, would like to have the ESC key clear the entire line, like it does in the Windows PowerShell console.
Result for
PS >get-help install-updatepackage
was showing:
Install-UpdatePackage %((%%((%-RollbackPackagePath%))% <string>%))%
-UpgradeAction <UpgradeAction> {Preview | Upgrade}
-InstallMode <InstallMode> {Install | Update}
%((%<CommonParameters>%))%
where it should be
Install-UpdatePackage [[-RollbackPackagePath] <string>]
-UpgradeAction <UpgradeAction> {Preview | Upgrade}
-InstallMode <InstallMode> {Install | Update}
[<CommonParameters>]
Initially broken in 2.0
_Courtesy of report by Michael West_
In my environment I have items with the same paths. I workarounded item creation by creating child directly in parent item:
$templateId = New-Object "Sitecore.Data.TemplateID" (New-Object "Sitecore.Data.ID" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}");
$newItem = $item.Add("test-item", $templateId);
In my case a -Parent and -NewItemName parameters to the New-Item command would be more approprieate as using Path would create Item only under one of my items.
Please note that using parent by newly created item can take it's language version. That would simplify running scripts in multilanguage environment.
Bring jQuery up to the most current pre-2.0 version.
Same issue as the console, just in the ISE.
I need to add the ability to show and hide scripts in the context menu in Content Editor based on the template of the item that is right clicked or the position in the tree.
I'm building a fairly large menu here and all the scripts clutter the context menu.
I need not show them everywhere, but rather only in places in the tree where they make sense.
As requested on the Marketplace Console Page
http://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx
SHING CHEN
08:07 PM on Jul 1, 2013Hi Adam,
The sitecore powershell is very nice. Is it possible to use the features in the standard powershell console? In other words, can i register any of your libraries to import them to the standard powershell console and use them there?
Thanks,
Shing
ISE saves user settings and last script when they execute. It does so under the following path in master:
/sitecore/system/Modules/PowerShell/Settings/ISE
It creates the settings item for user's domain first and then underneath for your user name.
For default admin it will save your settings in:
/sitecore/system/Modules/PowerShell/Settings/ISE/sitecore/admin
If the user name or domain contained one of those characters that sitecore considers not-kosher for item name the save would fail.
Those characters are now escaped.
private static readonly char[] invalidChars =
{ '\\', '/', ':', '"', '<', '>', '|', '[', ']', '.' };
_Courtesy of report by Michael West_
I have multi-language environment. I see that New-item command lacks the language parameter. How can I set the language version of the item to be created? -Language parameter would be nice to have.
When the PowerShell console runs, the browser console shows 2 errors. This is caused by jQuery conflicting with Prototype library used in Sitecore.
Run jQuery in no-conflict mode to prevent it, make sure everything still runs - all modules run in plugin mode.
It's not just experimenting any more - I'm building script libraries with common functionalities and functions, so I want to use those without having to paste them before every script I run.
An example would be a function that formats errors with full stack trace adding "Resolve-Error" function I want to be able to call this function in my scripts so I want my "Resolve-Error" script be run before them so I can make use of them. Kind of like "using" in C#.
I need a way of doing it either from the script or from the script configuration.
I have items with the same path in the system (it is not forbidden and sometime it happens). I've noticed that command get-childitem -recurse returns only only first item of those who have the same path.
I'm trying to use Powershell to repair such items so I would expect commands to return the additonal items in some way.
I'll find the items using object properties so there is no problem with it. But the queestion is: it this a feature of commands to treat the item path as unique? If yes and that will be left for better performance I would be happy if there would be some switch to turn that assumption off for example "-nonUniquePaths" param.
Something like the Scheduled Task Util project on the market place.
Any name is fine...as long as it doesn't conflict with the PowerShell commands.
Start-TaskScheduler -Name DoSomethingTask
Write-Progress needs to be enabled in ISE and Results popup window.
Create a commandlet to support importing of .update packages that are used by Sitecore CMS updates, TDS and are created by Courier
_Courtesy of requested and advice by Michael West_
type:
C:\(Hit Ctrl+Space)
The paths will not get auto-completed in Ace editor.
It should accept path that starts with /sitecore/ (when copied from Content Editor) as well as allow for a shorter version when even the /templates/ is skipped for Compatibility with Rocks scripts and convenience.
Generally - remove uncertainty of when the template path will be accepted
Changed to be consistent with other commandlets and PowerShell
The scripts once saved in the proper place in the script library should be available in Sitecore Control Panel
It should be possible to write Advanced System Reported reports in PowerShell.
The Shift+Enter shiwing help for the command no longer works after switch to Ace editor. (Firefox&Chrome tested)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.