dfch / biz.dfch.ps.storebox.api Goto Github PK
View Code? Open in Web Editor NEWPowerShell Module: biz.dfch.PS.Storebox.Api
Home Page: http://d-fens.ch/2013/01/16/module-biz-dfch-ps-storebox-api/
License: Apache License 2.0
PowerShell Module: biz.dfch.PS.Storebox.Api
Home Page: http://d-fens.ch/2013/01/16/module-biz-dfch-ps-storebox-api/
License: Apache License 2.0
Copyright must be beginning from 2011 (and not 2013). Update all files with this accordingly.
The wiki pages are not yet updated with the current inline help from the various Cmdlets.
TODO update and upload to Wiki
Currently Invoke-CteraFileTransfer
creates three log entries on every invocation. This leads to excessive log entries and does not give much information. Therefore this should be reduced, e.g. response count can be removed and timing should only be shown when request is slower than nnn s
Currently some scripts like Invoke-RestCall only log its output when the total run time of the script is more than 1000
ms (see #3).
if(1000 -le ($datEnd - $datBegin).TotalMilliseconds)
{
Log-Debug "fn" "msg"
}
This should be configurable via a module variable (see LogThreshold
) ...
PS > $biz_dfch_PS_Storebox_Api
Name Value
---- -----
UserAgent Mozilla/5.0 WindowsPowerShell/3.0
UriBase /ServicesPortal/api/
UriBaseGlobal /admin/
DataStores { ... }
UriBaseLocal /ServicesPortal/
DefaultPlan Default
LogThreshold 1000
... so the logging could be rewritten like this:
if($biz_dfch_PS_Storebox_Api.LogThreshold -le ($datEnd - $datBegin).TotalMilliseconds)
{
Log-Debug "fn" "msg"
}
Inline help for the Cmdlets is available but should be enhanced with examples.
The current interface is not self-explanatory. Examples should be added.
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.