mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 14:40:05 +02:00
Compare commits
400 Commits
Author | SHA1 | Date | |
---|---|---|---|
4833ecbfa4 | |||
3142c0bce6 | |||
b1845110bb | |||
b4afef5748 | |||
020e1fa30b | |||
00fcfa095a | |||
adca1ca2f7 | |||
5906c30a14 | |||
e1e4dd8185 | |||
2077f676cf | |||
cfc3b82846 | |||
98d70bfa34 | |||
828e741c74 | |||
dc63559aa0 | |||
66af9a5668 | |||
f826630e72 | |||
35e940a00c | |||
893273739a | |||
0915de8f8b | |||
c7d469422f | |||
17c26df2d9 | |||
7a8baf1054 | |||
d46e0f3f50 | |||
1f60b988c1 | |||
c9190874e9 | |||
45cb1c9904 | |||
329626f163 | |||
bde66d8aea | |||
9aefaa8994 | |||
0082f696ac | |||
79d4fc3d75 | |||
106cda4f53 | |||
8ccc88cc35 | |||
4b89df73f1 | |||
23c3ed729d | |||
9c86de8499 | |||
6d84c275d8 | |||
054a94d6ff | |||
99d6ccb414 | |||
d2788b7ba1 | |||
824903d3b2 | |||
e93cb73d02 | |||
3a5aa8a8cc | |||
7ba6813c67 | |||
c99dd855ca | |||
d0f9223137 | |||
56c8e4bbd7 | |||
24f2f69bc7 | |||
64b4a0839a | |||
f68310dee0 | |||
7e379a79ba | |||
7ed57228ac | |||
dcd1ea7f8b | |||
b892eb7b17 | |||
bb6b9b4aa5 | |||
425b4afdf1 | |||
d0cf6df8b5 | |||
fd5751ddaf | |||
f27ad348ed | |||
760b59216e | |||
69e0b11c69 | |||
d3b59ef7eb | |||
49b14b8d79 | |||
a147fdec4d | |||
5d91d303af | |||
3a88fa3923 | |||
8b6e9f6b98 | |||
69ccb6a2af | |||
9b2d444df7 | |||
2731540147 | |||
51947ab13d | |||
44a40d4e15 | |||
b53e4f5b95 | |||
5f5acec687 | |||
a3300d75e2 | |||
fc2f04a133 | |||
8f266d1417 | |||
1b48f27d40 | |||
febe6ed9f7 | |||
43bbf406d7 | |||
a3978dd37c | |||
55f5e8984c | |||
1756897ae9 | |||
7baef5ef74 | |||
a679bdfc48 | |||
71db949ffe | |||
4f1eadcb86 | |||
e14f126f4c | |||
8fb66ad7eb | |||
dbef508e55 | |||
1816f7d12d | |||
dfe7444ca7 | |||
fd0f6844fb | |||
3b34aa16e3 | |||
3ce90ab07c | |||
e2aaef5499 | |||
9687903884 | |||
a865b6647d | |||
bb3419f6fa | |||
ccf88b966d | |||
eef59091ed | |||
c46416aaf9 | |||
fb00ef93fe | |||
601b8411e0 | |||
d3e56c97a1 | |||
0f402d2301 | |||
b975faf67f | |||
9fe2821c7f | |||
00513c05b1 | |||
28fbbb7a71 | |||
c819626612 | |||
4b96db4f0e | |||
7f86368024 | |||
9c8f8d343f | |||
d19a2e03c4 | |||
293d9ea489 | |||
84b3e0db22 | |||
909e360eb9 | |||
3e9a2c4e17 | |||
6c1a6b514c | |||
36ab0d8704 | |||
7f25ad32d2 | |||
d64385e5a7 | |||
11bac7c14e | |||
f561a3572e | |||
b367c74a5a | |||
b6cbfe4273 | |||
ee308851e5 | |||
33925330ab | |||
5ad95b47f6 | |||
7e2b7c3019 | |||
a30ec5502c | |||
cba63b08fc | |||
cf3aa0278a | |||
755e7119ce | |||
69fae9b22d | |||
973222dd24 | |||
688bca091f | |||
4373dced52 | |||
cc25583414 | |||
2893921099 | |||
55f4bdefb1 | |||
7a7540de60 | |||
580275de6e | |||
e518b37d92 | |||
ab6c21a426 | |||
63aead20f9 | |||
0fc5c2ca4a | |||
8c8bfd7ee7 | |||
5be0c8c3c3 | |||
9ba8f1d0e4 | |||
b9a7b8f6ff | |||
bf4adf39d9 | |||
c823c14e95 | |||
7623b8e48b | |||
bb19cdc162 | |||
ba95c452d5 | |||
13ab287ca2 | |||
884bf66199 | |||
aa3e5a8555 | |||
cb99c1ad30 | |||
3c9fddf615 | |||
9c6491eb29 | |||
1005f4585d | |||
2b97cc727d | |||
61f91d2a0a | |||
3d43a360b6 | |||
71b9cd04ed | |||
09299ebfec | |||
791771e308 | |||
a217faecee | |||
5b2a69b336 | |||
86f447985e | |||
a351f82ee5 | |||
8af228e009 | |||
8a69f78eb5 | |||
89da027ab8 | |||
bee97e90c6 | |||
9cdcf3c303 | |||
5fe33d34ce | |||
77f9dafecf | |||
48caeda15f | |||
b8beb3ef27 | |||
f864fa1d3a | |||
9a5a9cefec | |||
c9faa1ff01 | |||
b2cb346fa6 | |||
c311385d43 | |||
040f039ae9 | |||
35f6d9ab90 | |||
6ad06a7b31 | |||
c9ccde874d | |||
fa8750ae0d | |||
beb5f7f4bf | |||
e1b6894828 | |||
e1f57abcdd | |||
070837ecd0 | |||
f5f556961d | |||
722c59256a | |||
a3340f3994 | |||
b31ca9f095 | |||
7ad7923ef3 | |||
f79c6d843a | |||
ced7359b6d | |||
a6936f6726 | |||
3347acc028 | |||
15f0a279b9 | |||
35da2ffb21 | |||
aa7ae2fff1 | |||
7f31a3b98b | |||
bf2bb7b179 | |||
e909ed9288 | |||
4e1c1feb79 | |||
19e9bfbcdf | |||
3731229913 | |||
8684ccb73f | |||
ece94dfa79 | |||
037920f60d | |||
0542d95b61 | |||
b621eadc25 | |||
2bf762f3b3 | |||
f7d66192af | |||
37601075c8 | |||
ddb854ec46 | |||
df026e721c | |||
815440638d | |||
64880f982a | |||
5f6e4d3fb4 | |||
0281bed912 | |||
3d9d0e8071 | |||
e764c995de | |||
b9deb748b0 | |||
84a62b5d4c | |||
843a12ed7d | |||
2e186d1068 | |||
adaa43e6ea | |||
d144dc3aa4 | |||
f93afeb4be | |||
9e5773e033 | |||
3bfb53cdc5 | |||
653aae36a5 | |||
fbda619d8f | |||
151cbd90cd | |||
6aeb2895f2 | |||
95b66fe2bf | |||
f4bd6ef82b | |||
8c58536e17 | |||
8cc3c85a56 | |||
6eb7f26f1b | |||
e20ff1ad6f | |||
f507273d2d | |||
c79623d90f | |||
860b43149a | |||
141a1de976 | |||
932d97b373 | |||
8a1935170f | |||
4de252f33f | |||
e75a1d476f | |||
51dc9b5ba1 | |||
46341ca147 | |||
e7031bc8d8 | |||
8d0522358d | |||
83e9fd962f | |||
4c0a77c2c7 | |||
bfa8c73c19 | |||
175eabc661 | |||
71bd6bf643 | |||
1a5bde5cd3 | |||
dbaf9f803e | |||
eeb14a1946 | |||
7958604a1b | |||
a8ae01493e | |||
01939af228 | |||
b9153cd5da | |||
68decf6c89 | |||
9f45904cb4 | |||
da876a6e5a | |||
7960632eb0 | |||
7b3b764038 | |||
3f609f6134 | |||
8cfa16892b | |||
a0344921e7 | |||
bca2c9ea92 | |||
9fed276567 | |||
b3b302421d | |||
84ddd405b0 | |||
7ff8bc4e50 | |||
8e5a7a0cdb | |||
926b3cd83c | |||
5b4bd14f2a | |||
1264ab2dce | |||
5c70090970 | |||
bd6f813857 | |||
a074efd6e7 | |||
f8bd641648 | |||
0edb627bc9 | |||
102f8d9e0d | |||
5dd0c28834 | |||
4311745d44 | |||
36eba003a2 | |||
0799fba893 | |||
eb38bf1148 | |||
d070ae28c1 | |||
100b298870 | |||
c227fd586b | |||
a8287d29cc | |||
48bd375632 | |||
f8159e0769 | |||
345da64609 | |||
14b028e1ce | |||
9c5a7849f2 | |||
b9b6e0aa2f | |||
02ad290752 | |||
c5414bd312 | |||
7c3775538d | |||
6793d3b434 | |||
c4e6be8316 | |||
72263ffb3a | |||
4ecdec34a5 | |||
ce017becfb | |||
fae1922ce8 | |||
915f7ef10e | |||
d7ca6a69f1 | |||
c74d8fd67b | |||
07ddbc78a7 | |||
6d75ce1ec5 | |||
772fdb2b68 | |||
977e037e72 | |||
749eb47a2b | |||
61c8bd0c7c | |||
488ccce2ab | |||
6b97e11d53 | |||
bc86d2c749 | |||
277142b164 | |||
8fcebe63d1 | |||
7da88a5032 | |||
8df43e437a | |||
970048b24a | |||
abe9bf5ec0 | |||
f96ce8d4a8 | |||
86f29e045a | |||
2fa471c798 | |||
5297e946c5 | |||
d67c626411 | |||
116de7f183 | |||
f1c5a54559 | |||
6e02dba5da | |||
355989f481 | |||
35cdf2cb96 | |||
cdc223fe88 | |||
613a18f40f | |||
f78fc2ed9f | |||
46c67aab1f | |||
9e52bbe4a8 | |||
41be046841 | |||
499c86aaab | |||
33b9e684d9 | |||
12b56f4a3c | |||
0084431270 | |||
f6da1a39f7 | |||
f73f8b3ccb | |||
37a6e8b087 | |||
8b73e26eff | |||
9365203245 | |||
74811f7fe6 | |||
344c0a9cc4 | |||
7cfbf37610 | |||
1e262cca7b | |||
4d7e57eb37 | |||
05434aa74d | |||
6bb47eda65 | |||
460e8d402c | |||
d9f23edca6 | |||
2142a58e92 | |||
78378f1128 | |||
99805974ef | |||
358b957ed3 | |||
9e51c44d96 | |||
e948ed313f | |||
e810cbba63 | |||
ac8e36f64d | |||
61274f7488 | |||
94e7ea7669 | |||
7055e9fef5 | |||
937739e4a1 | |||
af5c1d2351 | |||
f09c0626b0 | |||
ba0345004e | |||
7834f0c0b8 | |||
516b7d716b | |||
7522e1deb2 | |||
185d1d49d3 | |||
dc9160436d | |||
d5a720efe2 | |||
2ef05b1ce0 | |||
116936db62 | |||
192c9b1c08 | |||
08396e825a | |||
1c1fc04bce | |||
2551930aed |
3
.github/FUNDING.yml
vendored
Normal file
3
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [fleschutz] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
@ -1,269 +0,0 @@
|
||||
ABBR,MEANING
|
||||
AC,"Axiom of Choice, or set of absolutely continuous functions."
|
||||
a.c.,absolutely continuous.
|
||||
acrd,inverse chord function.
|
||||
ad,adjoint representation (or adjoint action) of a Lie group.
|
||||
adj,adjugate of a matrix.
|
||||
a.e.,almost everywhere.
|
||||
Ai,Airy function.
|
||||
AL,Action limit.
|
||||
Alt,alternating group (Alt(n) is also written as An.)
|
||||
A.M.,arithmetic mean.
|
||||
arccos,inverse cosine function.
|
||||
arccosec,inverse cosecant function. (Also written as arccsc.)
|
||||
arccot,inverse cotangent function.
|
||||
arccsc,inverse cosecant function. (Also written as arccosec.)
|
||||
arcexc,"inverse excosecant function. (Also written as arcexcsc, arcexcosec.)"
|
||||
arcexcosec,"inverse excosecant function. (Also written as arcexcsc, arcexc.)"
|
||||
arcexcsc,"inverse excosecant function. (Also written as arcexcosec, arcexc.)"
|
||||
arcexs,inverse exsecant function. (Also written as arcexsec.)
|
||||
arcexsec,inverse exsecant function. (Also written as arcexs.)
|
||||
arcosech,inverse hyperbolic cosecant function. (Also written as arcsch.)
|
||||
arcosh,inverse hyperbolic cosine function.
|
||||
arcoth,inverse hyperbolic cotangent function.
|
||||
arcsch,inverse hyperbolic cosecant function. (Also written as arcosech.)
|
||||
arcsec,inverse secant function.
|
||||
arcsin,inverse sine function.
|
||||
arctan,inverse tangent function.
|
||||
arctan2,inverse tangent function with two arguments. (Also written as atan2.)
|
||||
arg,argument of
|
||||
arg max,argument of the maximum.
|
||||
arg min,argument of the minimum.
|
||||
arsech,inverse hyperbolic secant function.
|
||||
arsinh,inverse hyperbolic sine function.
|
||||
artanh,inverse hyperbolic tangent function.
|
||||
a.s.,almost surely.
|
||||
atan2,inverse tangent function with two arguments. (Also written as arctan2.)
|
||||
A.P.,arithmetic progression.
|
||||
Aut,automorphism group.
|
||||
bd,boundary. (Also written as fr or ∂.)
|
||||
Bi,Airy function of the second kind.
|
||||
BIDMAS,"Brackets, Indices, Divide, Multiply, Add, Subtract."
|
||||
Bias,bias of an estimator
|
||||
BWOC,by way of contradiction
|
||||
Card,"cardinality of a set. (Card(X) is also written #X, ♯X or |X|.)"
|
||||
cas,cos + sin function.
|
||||
cdf,cumulative distribution function.
|
||||
c.f.,cumulative frequency.
|
||||
c.c.,complex conjugate.
|
||||
char,characteristic of a ring.
|
||||
Chi,hyperbolic cosine integral function.
|
||||
Ci,cosine integral function.
|
||||
cis,cos + i sin function. (Also written as expi.)
|
||||
Cl,conjugacy class.
|
||||
cl,topological closure.
|
||||
CLT,central limit theorem.
|
||||
cod,"codom,codomain."
|
||||
cok,"coker,cokernel."
|
||||
conv,convex hull of a set.
|
||||
Cor,corollary.
|
||||
corr,correlation.
|
||||
cos,cosine function.
|
||||
cosec,cosecant function. (Also written as csc.)
|
||||
cosech,hyperbolic cosecant function. (Also written as csch.)
|
||||
cosh,hyperbolic cosine function.
|
||||
cosiv,"coversine function. (Also written as cover, covers, cvs.)"
|
||||
cot,cotangent function. (Also written as ctg.)
|
||||
coth,hyperbolic cotangent function.
|
||||
cov,covariance of a pair of random variables.
|
||||
cover,"coversine function. (Also written as covers, cvs, cosiv.)"
|
||||
covercos,covercosine function. (Also written as cvc.)
|
||||
covers,"coversine function. (Also written as cover, cvs, cosiv.)"
|
||||
crd,chord function.
|
||||
csc,cosecant function. (Also written as cosec.)
|
||||
csch,hyperbolic cosecant function. (Also written as cosech.)
|
||||
ctg,cotangent function. (Also written as cot.)
|
||||
curl,curl of a vector field. (Also written as rot.)
|
||||
cvc,covercosine function. (Also written as covercos.)
|
||||
cvs,"coversine function. (Also written as cover, covers, cosiv.)"
|
||||
def,define or definition.
|
||||
deg,"degree of a polynomial, or other recursively-defined objects such as well-formed formulas. (Also written as ∂.)"
|
||||
del,"del, a differential operator. (Also written as {\displaystyle \nabla }\nabla .)"
|
||||
det,determinant of a matrix or linear transformation.
|
||||
dim,dimension of a vector space.
|
||||
div,divergence of a vector field.
|
||||
DNE,"a solution for an expression does not exist, or is undefined. Generally used with limits and integrals."
|
||||
dom,"domain of a function. (Or, more generally, a relation.)"
|
||||
End,categories of endomorphisms.
|
||||
Ei,exponential integral function.
|
||||
epi,epigraph of a function.
|
||||
Eqn,equation.
|
||||
erf,error function.
|
||||
erfc,complementary error function.
|
||||
etr,exponent of the trace.
|
||||
exc,"excosecant function. (Also written as excsc, excosec.)"
|
||||
excosec,"excosecant function. (Also written as excsc, exc.)"
|
||||
excsc,"excosecant function. (Also written as excosec, exc.)"
|
||||
exs,exsecant function. (Also written as exsec.)
|
||||
exsec,exsecant function. (Also written as exs.)
|
||||
exp,exponential function. (exp x is also written as ex.)
|
||||
expi,cos + i sin function. (Also written as cis.)
|
||||
expm1,exponential minus 1 function. (Also written as exp1m.)
|
||||
exp1m,exponential minus 1 function. (Also written as expm1.)
|
||||
Ext,Ext functor.
|
||||
ext,exterior.
|
||||
extr,a set of extreme points of a set.
|
||||
FIP,finite intersection property.
|
||||
FOC,first order condition.
|
||||
FOL,first-order logic.
|
||||
fr,boundary. (Also written as bd or ∂.)
|
||||
Frob,Frobenius endomorphism.
|
||||
Gal,Galois group. (Also written as Γ.)
|
||||
gcd,greatest common divisor of two numbers. (Also written as hcf.)
|
||||
gd,Gudermannian function.
|
||||
GF,Galois field.
|
||||
GF,generating function.
|
||||
GL,general linear group.
|
||||
GM,geometric mean.
|
||||
glb,greatest lower bound. (Also written as inf.)
|
||||
GP,geometric progression.
|
||||
grad,gradient of a function.
|
||||
hacover,"hacoversine function. (Also written as hacovers, hcv.)"
|
||||
hacovercos,hacovercosine function. (Also written as hcc.)
|
||||
hacovers,"hacoversine function. (Also written as hacover, hcv.)"
|
||||
hav,haversine function. (Also written as sem.)
|
||||
havercos,havercosine function. (Also written as hvc.)
|
||||
hcc,hacovercosine function. (Also written as hacovercos.)
|
||||
hcv,"hacoversine function. (Also written as hacover, hacovers.)"
|
||||
hcf,highest common factor of two numbers. (Also written as gcd.)
|
||||
H.M.,harmonic mean.
|
||||
HOL,higher-order logic.
|
||||
Hom,Hom functor.
|
||||
hom,hom-class.
|
||||
hot,higher order term
|
||||
HOTPO,half or triple plus one
|
||||
hvc,havercosine function. (Also written as havercos.)
|
||||
hyp,hypograph of a function.
|
||||
iff,if and only if.
|
||||
IH,induction hypothesis.
|
||||
iid,independent and identically distributed random variables.
|
||||
Im,imaginary part of a complex number (Also written as {\displaystyle \Im }\Im ).
|
||||
im,image
|
||||
inf,infimum of a set. (Also written as glb.)
|
||||
int,interior.
|
||||
I.o.,Infinitely often.
|
||||
ker,kernel.
|
||||
lb,binary logarithm (log2). (Also written as ld.)
|
||||
lcm,lowest common multiple (a.k.a. least common multiple) of two numbers.
|
||||
LCHS,locally compact Hausdorff second countable.
|
||||
ld,binary logarithm (log2). (Also written as lb.)
|
||||
lerp,linear interpolation.[5]
|
||||
lg,common logarithm (log10) or binary logarithm (log2).
|
||||
LHS,left-hand side of an equation.
|
||||
Li,offset logarithmic integral function.
|
||||
li,logarithmic integral function or linearly independent.
|
||||
lim,"limit of a sequence, or of a function."
|
||||
lim inf,limit inferior.
|
||||
lim sup,limit superior.
|
||||
LLN,law of large numbers.
|
||||
ln,"natural logarithm, loge."
|
||||
lnp1,natural logarithm plus 1 function.
|
||||
ln1p,natural logarithm plus 1 function.
|
||||
log,"logarithm. (If without a subscript, this may mean either log10 or loge.)"
|
||||
logh,"natural logarithm, loge."
|
||||
LST,language of set theory.
|
||||
lub,least upper bound. (Also written sup.)
|
||||
max,maximum of a set.
|
||||
MGF,moment-generating function.
|
||||
M.I.,mathematical induction.
|
||||
min,minimum of a set.
|
||||
mod,modulo.
|
||||
Mp,metaplectic group.
|
||||
mtanh,modified hyperbolic tangent function. (Also written as mth.)
|
||||
mth,modified hyperbolic tangent function. (Also written as mtanh.)
|
||||
mx,matrix.
|
||||
NAND,not-and in logic.
|
||||
No.,number.
|
||||
NOR,not-or in logic.
|
||||
NTS,need to show.
|
||||
OBGF,ordinary bivariate generating function.
|
||||
ob,object class.
|
||||
ord,ordinal number of a well-ordered set.[4]
|
||||
pdf,probability density function.
|
||||
pf,proof.
|
||||
PGL,projective general linear group.
|
||||
PI,the constant 3.14159265359
|
||||
Pin,pin group.
|
||||
pmf,probability mass function.
|
||||
Pn,previous number.
|
||||
Pr,probability of an event
|
||||
PSL,projective special linear group.
|
||||
PSO,projective orthogonal group.
|
||||
PSU,projective special unitary group.
|
||||
PU,projective unitary group.
|
||||
QED,"Quod erat demonstrandum, a Latin phrase used at the end of a definitive proof."
|
||||
QEF,"quod erat faciendum, a Latin phrase sometimes used at the end of a geometrical construction."
|
||||
ran,range of a function.
|
||||
rank,rank of a matrix. (Also written as rk.)
|
||||
Re,real part of a complex number
|
||||
resp,respectively.
|
||||
RHS,right-hand side of an equation.
|
||||
rk,rank. (Also written as rank.)
|
||||
RMS,"rms,root mean square."
|
||||
rng,non-unital ring.
|
||||
rot,rotor of a vector field. (Also written as curl.)
|
||||
RTP,required to prove.
|
||||
RV,random variable. (or as R.V.)
|
||||
R,Real numbers
|
||||
SD,standard deviation
|
||||
SE,standard error
|
||||
sec,secant function.
|
||||
sech,hyperbolic secant function.
|
||||
seg,initial segment of.[1]
|
||||
sem,haversine function. (Also written as hav.)
|
||||
SFIP,strong finite intersection property.
|
||||
sgn,sign function.
|
||||
Shi,hyperbolic sine integral function.
|
||||
Si,sine integral function.
|
||||
sin,sine function.
|
||||
sinc,sinc function.
|
||||
sinh,hyperbolic sine function.
|
||||
siv,"versine function. (Also written as ver, vers.)"
|
||||
SL,special linear group.
|
||||
SO,special orthogonal group.
|
||||
SOC,second order condition.
|
||||
Soln,solution.
|
||||
Sp,symplectic group.
|
||||
Sp,"trace of a matrix, from the German 'spur' used for the trace."
|
||||
sp,"linear span of a set of vectors. (Also written as span or written with angle brackets.)"
|
||||
Spec,spectrum of a ring.
|
||||
Spin,spin group.
|
||||
s.t.,such that or so that or subject to.
|
||||
st,standard part function.
|
||||
STP,[it is] sufficient to prove.
|
||||
SU,special unitary group.
|
||||
sup,"supremum of a set. (Also written as lub, which stands for least upper bound.)"
|
||||
supp,support of a function.
|
||||
swish,"swish function, an activation function in data analysis."
|
||||
Sym,"symmetric group (Sym(n) is also written as Sn) or symmetric algebra."
|
||||
tan,"tangent function. (Also written as tgn, tg.)"
|
||||
tanh,hyperbolic tangent function.
|
||||
TAU,"the constant 6.283185307179586476925286766559"
|
||||
TFAE,the following are equivalent.
|
||||
tg,"tangent function. (Also written as tan, tgn.)"
|
||||
tgn,"tangent function. (Also written as tan, tg.)"
|
||||
Thm,theorem.
|
||||
Tor,Tor functor.
|
||||
Tr,"trace, either the field trace, or the trace of a matrix or linear transformation."
|
||||
undef,a function or expression is undefined
|
||||
V,volume.
|
||||
var,variance of a random variable.
|
||||
vcs,vercosine function. (Also written as vercos.)
|
||||
ver,"versine function. (Also written as vers, siv.)"
|
||||
vercos,vercosine function. (Also written as vcs.)
|
||||
vers,"versine function. (Also written as ver, siv.)"
|
||||
W^5,"which was what we wanted. Synonym of Q.E.D."
|
||||
walog,without any loss of generality.
|
||||
wff,well-formed formula.
|
||||
whp,with high probability.
|
||||
wlog,without loss of generality.
|
||||
WMA,we may assume.
|
||||
WO,well-ordered set
|
||||
wp1,with probability 1.
|
||||
wrt,with respect to or with regard to.
|
||||
WTP,want to prove
|
||||
WTS,want to show
|
||||
XOR,exclusive or in logic
|
||||
XYZ,"Cartesian coordinate system (x,y,z)"
|
||||
ZF,Zermelo–Fraenkel axioms of set theory
|
||||
ZFC,Zermelo–Fraenkel axioms (with the Axiom of Choice) of set theory
|
|
@ -1,21 +0,0 @@
|
||||
LANGUAGE, POPULARITY, CHANGE
|
||||
C, 12.54, -4.65
|
||||
Python, 11.84, +3.48
|
||||
Java, 11.54, -4.56
|
||||
C++, 7.36, +1.41
|
||||
C#, 4.33, -0.40
|
||||
Visual Basic, 4.01, -0.68
|
||||
JavaScript, 2.33, +0.06
|
||||
PHP, 2.21, -0.05
|
||||
Assembly language, 2.05, +1.09
|
||||
SQL, 1.88, +0.15
|
||||
Classic Visual Basic, 1.72, +1.07
|
||||
Groovy, 1.29, +0.87
|
||||
Ruby, 1.23, +0.25
|
||||
R, 1.20, -0.99
|
||||
Perl, 1.18, +0.36
|
||||
Swift, 1.10, -0.35
|
||||
Fortran, 1.07, +0.80
|
||||
Delphi/Object Pascal, 1.06, +0.47
|
||||
MATLAB, 1.05, +0.15
|
||||
Go, 0.95, -0.06
|
|
@ -1 +0,0 @@
|
||||
/* Exported by export-scripts2serenade.ps1 */
|
@ -1,69 +0,0 @@
|
||||
JOKE
|
||||
"Chuck Norris doesnt read books. He stares them down until he gets the information he wants."
|
||||
"Time waits for no man. Unless that man is Chuck Norris."
|
||||
"If you spell Chuck Norris in Scrabble, you win. Forever."
|
||||
"Chuck Norris breathes air five times a day."
|
||||
"In the Beginning there was nothing then Chuck Norris roundhouse kicked nothing and told it to get a job."
|
||||
"Chuck Norris has a mug of nails instead of coffee in the morning."
|
||||
"If Chuck Norris were to travel to an alternate dimension in which there was another Chuck Norris and they both fought, they would both win."
|
||||
"The dinosaurs looked at Chuck Norris the wrong way once. You know what happened to them."
|
||||
"Chuck Norris tears cure cancer. Too bad he has never cried."
|
||||
"Chuck Norris once roundhouse kicked someone so hard that his foot broke the speed of light"
|
||||
"Since 1940, the year Chuck Norris was born, roundhouse kick related deaths have increased 13,000 percent."
|
||||
"Chuck Norris does not own a stove, oven, or microwave , because revenge is a dish best served cold."
|
||||
"Chuck Norris does not sleep. He waits."
|
||||
"There is no chin behind Chuck Norris beard. There is only another fist."
|
||||
"The chief export of Chuck Norris is pain."
|
||||
"Chuck Norris recently had the idea to sell his pee as a canned beverage. Its now called Red Bull."
|
||||
"If paper beats rock, rock beats scissors, and scissors beats paper, what beats all 3 at the same time? Chuck Norris."
|
||||
"On the 7th day, God rested Chuck Norris took over."
|
||||
"Chuck Norris can dribble a bowling ball."
|
||||
"Chuck Norris drinks napalm to fight his heartburn."
|
||||
"Chuck Norris roundhouse kick is so powerful, it can be seen from outer space by the naked eye."
|
||||
"If you want a list of Chuck Norris enemies, just check the extinct species list."
|
||||
"Chuck Norris has never blinked in his entire life. Never."
|
||||
"Chuck Norris does not use spell check. If he happens to misspell a word, Oxford will change the spelling."
|
||||
"Some kids pee their name in the snow. Chuck Norris can pee his name into concrete."
|
||||
"Chuck Norris counted to infinity twice."
|
||||
"Chuck Norris can speak Braille."
|
||||
"Chuck Norris can have both feet on the ground and kick butt at the same time."
|
||||
"Chuck Norris can do a wheelie on a unicycle."
|
||||
"Chuck Norris stands faster than anyone can run."
|
||||
"Once a cobra bit Chuck Norris leg. After five days of excruciating pain, the cobra died."
|
||||
"Chuck Norris once won a game of Connect Four in three moves."
|
||||
"Champions are the breakfast of Chuck Norris."
|
||||
"When the Boogeyman goes to sleep every night he checks his closet for Chuck Norris."
|
||||
"Chuck Norris can slam revolving doors."
|
||||
"Chuck Norris does not hunt because the word hunting implies the possibility of failure. Chuck Norris goes killing."
|
||||
"The dark is afraid of Chuck Norris."
|
||||
"Chuck Norris makes onions cry."
|
||||
"Death once had a near-Chuck-Norris experience."
|
||||
"When Chuck Norris writes, he makes paper bleed."
|
||||
"Chuck Norris can strangle you with a cordless phone."
|
||||
"Chuck Norris never retreats; He just attacks in the opposite direction."
|
||||
"Chuck Norris can build a snowman out of rain."
|
||||
"Chuck Norris can drown a fish."
|
||||
"When Chuck Norris enters a room, he doesnt turn the lights on, he turns the dark off."
|
||||
"The only time Chuck Norris was ever wrong was when he thought he had made a mistake."
|
||||
"Chuck Norris is the only person that can punch a cyclops between the eye."
|
||||
"Chuck Norris used to beat up his shadow because it was following to close. It now stands 15 feet behind him."
|
||||
"Outer space exists because its afraid to be on the same planet with Chuck Norris."
|
||||
"When Chuck Norris does a pushup, he's pushing the Earth down."
|
||||
"Chuck Norris doesnt wear a watch. He decides what time it is."
|
||||
"Chuck Norris does not get frostbite. Chuck Norris bites frost."
|
||||
"Chuck Norris spices up his steaks with pepper spray."
|
||||
"The Great Wall of China was originally created to keep Chuck Norris out. It didn't work."
|
||||
"Chuck Norris can get in a bucket and lift it up with himself in it."
|
||||
"Chuck Norris doesn't shower, he only takes blood baths."
|
||||
"Chuck Norris can divide by zero."
|
||||
"Chuck Norris once kicked a horse in the chin. Its descendants are now known as giraffes."
|
||||
"When Chuck Norris does division, there are no remainders."
|
||||
"It takes Chuck Norris 20 minutes to watch '60 Minutes'."
|
||||
"Chuck Norris once went skydiving, but promised never to do it again. One Grand Canyon is enough."
|
||||
"We live in an expanding universe. All of it is trying to get away from Chuck Norris."
|
||||
"Chuck Norris beat the sun in a staring contest."
|
||||
"Chuck Norris can clap with one hand."
|
||||
"Chuck Norris doesn't need to shave. His beard is scared to grow."
|
||||
"Chuck Norris invented airplanes because he was tired of being the only person that could fly."
|
||||
"Freddy Krueger has nightmares about Chuck Norris."
|
||||
"Chuck Norris can start a fire with an ice cube."
|
|
@ -1,201 +0,0 @@
|
||||
DOMAIN
|
||||
a.root-servers.net
|
||||
accounts.google.com
|
||||
activity.windows.com
|
||||
airbnb.at
|
||||
airbnb.com
|
||||
airbnb.de
|
||||
aka.ms
|
||||
alternate.de
|
||||
api.dropboxapi.com
|
||||
api.met.no
|
||||
api.serenade.ai
|
||||
api1.origin.com
|
||||
arc.msn.com
|
||||
arte.tv
|
||||
assets.msn.com
|
||||
amazon.com
|
||||
amazon.co.uk
|
||||
amazon.de
|
||||
amazon.fr
|
||||
amazon.it
|
||||
b.root-servers.net
|
||||
banking.ing-diba.de
|
||||
bing.com
|
||||
bing.de
|
||||
bing.fr
|
||||
bitbucket.org
|
||||
blitzortung.org
|
||||
bolt.dropbox.com
|
||||
c.root-servers.net
|
||||
catalog.gamepass.com
|
||||
changelogs.ubuntu.com
|
||||
client.dropbox.com
|
||||
client.wns.windows.com
|
||||
clients1.google.com
|
||||
clients2.google.com
|
||||
clients3.google.com
|
||||
clients4.google.com
|
||||
contacts.google.com
|
||||
d.dropbox.com
|
||||
d.root-servers.net
|
||||
dasoertliche.de
|
||||
deepl.com
|
||||
dell.com
|
||||
de.yahoo.com
|
||||
discord.com
|
||||
discordapp.com
|
||||
dhl.de
|
||||
download.windowsupdate.com
|
||||
duckduckgo.com
|
||||
e.root-servers.net
|
||||
earth.google.com
|
||||
ebay.com
|
||||
ebay.de
|
||||
ebay.fr
|
||||
ebook3000.com
|
||||
edition.cnn.com
|
||||
f.root-servers.net
|
||||
facebook.com
|
||||
facebook.de
|
||||
facebook.fr
|
||||
flightradar24.com
|
||||
fonts.google.com
|
||||
fonts.googleapis.com
|
||||
fonts.gstatic.com
|
||||
foto-webcam.eu
|
||||
foursquare.com
|
||||
g.root-servers.net
|
||||
github.com
|
||||
github.map.fastly.net
|
||||
gmail.com
|
||||
google.at
|
||||
google.com
|
||||
google.de
|
||||
google.fr
|
||||
google.it
|
||||
googleapis.com
|
||||
gstatic.com
|
||||
h.root-servers.net
|
||||
holidaycheck.de
|
||||
hornbach.de
|
||||
i.root-servers.net
|
||||
i.ytimg.com
|
||||
IEEE.org
|
||||
ibm.com
|
||||
icons8.com
|
||||
imap.googlemail.com
|
||||
install.robertsspaceindustries.com
|
||||
ipfs.io
|
||||
ipv6.msftconnecttest.com
|
||||
j.root-servers.net
|
||||
k.root-servers.net
|
||||
l.root-servers.net
|
||||
launcher2.robertsspaceindustries.com
|
||||
licensing.mp.microsoft.com
|
||||
live.github.com
|
||||
live.thunderbird.net
|
||||
livepatch.canonical.com
|
||||
login.live.com
|
||||
longfiles.com
|
||||
m.root-servers.net
|
||||
mail.google.com
|
||||
map.blitzortung.org
|
||||
maps.google.com
|
||||
maps.google.de
|
||||
maps.google.fr
|
||||
microsoft.com
|
||||
mozilla.org
|
||||
mtalk.google.com
|
||||
music.google.com
|
||||
news.google.com
|
||||
news.google.de
|
||||
news.google.fr
|
||||
news.url.google.com
|
||||
ntp.ubuntu.com
|
||||
ogs.google.com
|
||||
open.spotify.com
|
||||
opera.com
|
||||
photos.google.com
|
||||
pixabay.com
|
||||
play.google.com
|
||||
plex.tv
|
||||
presence.teams.microsoft.com
|
||||
ptbtime1.ptb.de
|
||||
ptbtime2.ptb.de
|
||||
ptbtime3.ptb.de
|
||||
redhat.com
|
||||
reichelt.de
|
||||
robertsspaceindustries.com
|
||||
secure.download.dm.origin.com
|
||||
semonkeys.net
|
||||
settings.data.microsoft.com
|
||||
settings-win.data.microsoft.com
|
||||
sites.google.com
|
||||
slashdot.org
|
||||
speed.cloudflare.com
|
||||
speedtest.net
|
||||
ssl.gstatic.com
|
||||
stackoverflow.com
|
||||
start.thunderbird.net
|
||||
static.nvidiagrid.net
|
||||
storage.googleapis.com
|
||||
substrate.office.com
|
||||
sunnyportal.com
|
||||
t-online.de
|
||||
t0.gstatic.com
|
||||
teams.microsoft.com
|
||||
telemetry.dropbox.com
|
||||
tile-service.weather.microsoft.com
|
||||
time.windows.com
|
||||
toggl.com
|
||||
toom.de
|
||||
track.toggl.com
|
||||
translate.google.de
|
||||
twitter.com
|
||||
twitter.de
|
||||
ubuntu.com
|
||||
update.googleapis.com
|
||||
wetter.com
|
||||
wttr.in
|
||||
www.apple.com
|
||||
www.arte.tv
|
||||
www.bbc.co.uk
|
||||
www.bild.de
|
||||
www.booking.com
|
||||
www.cdc.gov
|
||||
www.dropbox.com
|
||||
www.ecosia.org
|
||||
www.etsy.com
|
||||
www.expedia.com
|
||||
www.fleschutz.de
|
||||
www.focus.de
|
||||
www.foto-webcam.eu
|
||||
www.golem.de
|
||||
www.google.com
|
||||
www.googleapis.com
|
||||
www.gstatic.com
|
||||
www.heise.de
|
||||
www.hulu.com
|
||||
www.instagram.com
|
||||
www.msn.com
|
||||
www.nasa.gov
|
||||
www.netflix.com
|
||||
www.nytimes.com
|
||||
www.paypal.com
|
||||
www.redbull.com
|
||||
www.schneier.com
|
||||
www.techstage.de
|
||||
www.tiktok.com
|
||||
www.ufainc.com
|
||||
www.walmart.com
|
||||
www.whatsapp.com
|
||||
www.whitehouse.gov
|
||||
www.windy.com
|
||||
www.wikipedia.at
|
||||
www.wikipedia.de
|
||||
www.wikipedia.fr
|
||||
www.wikipedia.org
|
||||
www.wired.com
|
||||
www.youtube.com
|
||||
www.zdf.de
|
|
@ -1,29 +0,0 @@
|
||||
FOLDERNAME, CATEGORY, BRANCH, FULL, URL
|
||||
base256unicode, dev tool, main, no, "git@github.com:fleschutz/base256unicode.git"
|
||||
bazel, build tool, master, no, "git@github.com:bazelbuild/bazel.git"
|
||||
cmake, build tool, master, no, "git@github.com:Kitware/CMake.git"
|
||||
cmatrix, CLI fun, master, no, "git@github.com:abishekvashok/cmatrix.git"
|
||||
cmark, tool, master, no, "git@github.com:commonmark/cmark.git"
|
||||
CWTS, dev tool, main, no, "git@github.com:fleschutz/CWTS.git"
|
||||
elasticsearch, search tool, main, no, "git@github.com:elastic/elasticsearch.git"
|
||||
kubo, file sharing tool, master, no, "git@github.com:ipfs/kubo.git"
|
||||
grafana, visualization tool, main, no, "git@github.com:grafana/grafana.git"
|
||||
jhead, EXIF tool, master, no, "git@github.com:Matthias-Wandel/jhead"
|
||||
leon, personal assistant, master, no, "git@github.com:leon-ai/leon.git"
|
||||
llvm, compiler, main, no, "git@github.com:llvm/llvm-project.git"
|
||||
LSS, math tool, main, no, "git@github.com:fleschutz/LSS.git"
|
||||
ninja, build tool, master, no, "git@github.com:ninja-build/ninja.git"
|
||||
opencv, lib, master, no, "git@github.com:opencv/opencv.git"
|
||||
operating-systems, collection, main, no, "git@github.com:fleschutz/operating-systems.git"
|
||||
papers, collection, main, no, "git@github.com:fleschutz/papers.git"
|
||||
PowerShell, collection, master, no, "git@github.com:fleschutz/PowerShell.git"
|
||||
pwsh, shell, master, no, "git@github.com:PowerShell/PowerShell.git"
|
||||
protobuf, dev, main, no, "git@github.com:protocolbuffers/protobuf.git"
|
||||
rust, compiler, master, no, "git@github.com:rust-lang/rust.git"
|
||||
smartmontools, SSD/HDD tool, master, no, "git@github.com:smartmontools/smartmontools.git"
|
||||
talk2windows, tool, main, no, "git@github.com:fleschutz/talk2windows.git"
|
||||
tensorflow, tool, master, no, "git@github.com:tensorflow/tensorflow.git"
|
||||
terminal, desktop tool, main, no, "git@github.com:microsoft/terminal.git"
|
||||
tinycc, compiler, mob, no, "git@github.com:TinyCC/tinycc.git"
|
||||
voice2json, tool, master, no, "git@github.com:synesthesiam/voice2json.git"
|
||||
zfs, tool, master, no, "git@github.com:openzfs/zfs.git"
|
|
@ -1,133 +0,0 @@
|
||||
## Summary
|
||||
How do I create packages? See https://docs.chocolatey.org/en-us/create/create-packages
|
||||
|
||||
If you are submitting packages to the community feed (https://community.chocolatey.org)
|
||||
always try to ensure you have read, understood and adhere to the create
|
||||
packages wiki link above.
|
||||
|
||||
## Automatic Packaging Updates?
|
||||
Consider making this package an automatic package, for the best
|
||||
maintainability over time. Read up at https://docs.chocolatey.org/en-us/create/automatic-packages
|
||||
|
||||
## Shim Generation
|
||||
Any executables you include in the package or download (but don't call
|
||||
install against using the built-in functions) will be automatically shimmed.
|
||||
|
||||
This means those executables will automatically be included on the path.
|
||||
Shim generation runs whether the package is self-contained or uses automation
|
||||
scripts.
|
||||
|
||||
By default, these are considered console applications.
|
||||
|
||||
If the application is a GUI, you should create an empty file next to the exe
|
||||
named 'name.exe.gui' e.g. 'bob.exe' would need a file named 'bob.exe.gui'.
|
||||
See https://docs.chocolatey.org/en-us/create/create-packages#how-do-i-set-up-shims-for-applications-that-have-a-gui
|
||||
|
||||
If you want to ignore the executable, create an empty file next to the exe
|
||||
named 'name.exe.ignore' e.g. 'bob.exe' would need a file named
|
||||
'bob.exe.ignore'.
|
||||
See https://docs.chocolatey.org/en-us/create/create-packages#how-do-i-exclude-executables-from-getting-shims
|
||||
|
||||
## Self-Contained?
|
||||
If you have a self-contained package, you can remove the automation scripts
|
||||
entirely and just include the executables, they will automatically get shimmed,
|
||||
which puts them on the path. Ensure you have the legal right to distribute
|
||||
the application though. See https://docs.chocolatey.org/en-us/information/legal.
|
||||
|
||||
You should read up on the Shim Generation section to familiarize yourself
|
||||
on what to do with GUI applications and/or ignoring shims.
|
||||
|
||||
## Automation Scripts
|
||||
You have a powerful use of Chocolatey, as you are using PowerShell. So you
|
||||
can do just about anything you need. Choco has some very handy built-in
|
||||
functions that you can use, these are sometimes called the helpers.
|
||||
|
||||
### Built-In Functions
|
||||
https://docs.chocolatey.org/en-us/create/functions
|
||||
|
||||
A note about a couple:
|
||||
* Get-ToolsLocation - used to get you the 'tools' root, which by default is set to 'c:\tools', not the chocolateyInstall bin folder - see https://docs.chocolatey.org/en-us/create/functions/get-toolslocation
|
||||
* Install-BinFile - used for non-exe files - executables are automatically shimmed... - see https://docs.chocolatey.org/en-us/create/functions/install-binfile
|
||||
* Uninstall-BinFile - used for non-exe files - executables are automatically shimmed - see https://docs.chocolatey.org/en-us/create/functions/uninstall-binfile
|
||||
|
||||
### Getting package specific information
|
||||
Use the package parameters pattern - see https://docs.chocolatey.org/en-us/guides/create/parse-packageparameters-argument
|
||||
|
||||
### Need to mount an ISO?
|
||||
https://docs.chocolatey.org/en-us/guides/create/mount-an-iso-in-chocolatey-package
|
||||
|
||||
### Environment Variables
|
||||
Chocolatey makes a number of environment variables available (You can access any of these with $env:TheVariableNameBelow):
|
||||
|
||||
* TEMP/TMP - Overridden to the CacheLocation, but may be the same as the original TEMP folder
|
||||
* ChocolateyInstall - Top level folder where Chocolatey is installed
|
||||
* ChocolateyPackageName - The name of the package, equivalent to the `<id />` field in the nuspec (0.9.9+)
|
||||
* ChocolateyPackageTitle - The title of the package, equivalent to the `<title />` field in the nuspec (0.10.1+)
|
||||
* ChocolateyPackageVersion - The version of the package, equivalent to the `<version />` field in the nuspec (0.9.9+)
|
||||
* ChocolateyPackageFolder - The top level location of the package folder - the folder where Chocolatey has downloaded and extracted the NuGet package, typically `C:\ProgramData\chocolatey\lib\packageName`.
|
||||
|
||||
#### Advanced Environment Variables
|
||||
The following are more advanced settings:
|
||||
|
||||
* ChocolateyPackageParameters - Parameters to use with packaging, not the same as install arguments (which are passed directly to the native installer). Based on `--package-parameters`. (0.9.8.22+)
|
||||
* CHOCOLATEY_VERSION - The version of Choco you normally see. Use if you are 'lighting' things up based on choco version. (0.9.9+) - Otherwise take a dependency on the specific version you need.
|
||||
* ChocolateyForceX86 = If available and set to 'true', then user has requested 32bit version. (0.9.9+) - Automatically handled in built in Choco functions.
|
||||
* OS_PLATFORM - Like Windows, OSX, Linux. (0.9.9+)
|
||||
* OS_VERSION - The version of OS, like 6.1 something something for Windows. (0.9.9+)
|
||||
* OS_NAME - The reported name of the OS. (0.9.9+)
|
||||
* USER_NAME = The user name (0.10.6+)
|
||||
* USER_DOMAIN = The user domain name (could also be local computer name) (0.10.6+)
|
||||
* IS_PROCESSELEVATED = Is the process elevated? (0.9.9+)
|
||||
* IS_SYSTEM = Is the user the system account? (0.10.6+)
|
||||
* IS_REMOTEDESKTOP = Is the user in a terminal services session? (0.10.6+)
|
||||
* ChocolateyToolsLocation - formerly 'ChocolateyBinRoot' ('ChocolateyBinRoot' will be removed with Chocolatey v2.0.0), this is where tools being installed outside of Chocolatey packaging will go. (0.9.10+)
|
||||
|
||||
#### Set By Options and Configuration
|
||||
Some environment variables are set based on options that are passed, configuration and/or features that are turned on:
|
||||
|
||||
* ChocolateyEnvironmentDebug - Was `--debug` passed? If using the built-in PowerShell host, this is always true (but only logs debug messages to console if `--debug` was passed) (0.9.10+)
|
||||
* ChocolateyEnvironmentVerbose - Was `--verbose` passed? If using the built-in PowerShell host, this is always true (but only logs verbose messages to console if `--verbose` was passed). (0.9.10+)
|
||||
* ChocolateyExitOnRebootDetected - Are we exiting on a detected reboot? Set by ` --exit-when-reboot-detected` or the feature `exitOnRebootDetected` (0.11.0+)
|
||||
* ChocolateyForce - Was `--force` passed? (0.9.10+)
|
||||
* ChocolateyForceX86 - Was `-x86` passed? (CHECK)
|
||||
* ChocolateyRequestTimeout - How long before a web request will time out. Set by config `webRequestTimeoutSeconds` (CHECK)
|
||||
* ChocolateyResponseTimeout - How long to wait for a download to complete? Set by config `commandExecutionTimeoutSeconds` (CHECK)
|
||||
* ChocolateyPowerShellHost - Are we using the built-in PowerShell host? Set by `--use-system-powershell` or the feature `powershellHost` (0.9.10+)
|
||||
|
||||
#### Business Edition Variables
|
||||
|
||||
* ChocolateyInstallArgumentsSensitive - Encrypted arguments passed from command line `--install-arguments-sensitive` that are not logged anywhere. (0.10.1+ and licensed editions 1.6.0+)
|
||||
* ChocolateyPackageParametersSensitive - Package parameters passed from command line `--package-parameters-senstivite` that are not logged anywhere. (0.10.1+ and licensed editions 1.6.0+)
|
||||
* ChocolateyLicensedVersion - What version is the licensed edition on?
|
||||
* ChocolateyLicenseType - What edition / type of the licensed edition is installed?
|
||||
* USER_CONTEXT - The original user context - different when self-service is used (Licensed v1.10.0+)
|
||||
|
||||
#### Experimental Environment Variables
|
||||
The following are experimental or use not recommended:
|
||||
|
||||
* OS_IS64BIT = This may not return correctly - it may depend on the process the app is running under (0.9.9+)
|
||||
* CHOCOLATEY_VERSION_PRODUCT = the version of Choco that may match CHOCOLATEY_VERSION but may be different (0.9.9+) - based on git describe
|
||||
* IS_ADMIN = Is the user an administrator? But doesn't tell you if the process is elevated. (0.9.9+)
|
||||
* IS_REMOTE = Is the user in a remote session? (0.10.6+)
|
||||
|
||||
#### Not Useful Or Anti-Pattern If Used
|
||||
|
||||
* ChocolateyInstallOverride = Not for use in package automation scripts. Based on `--override-arguments` being passed. (0.9.9+)
|
||||
* ChocolateyInstallArguments = The installer arguments meant for the native installer. You should use chocolateyPackageParameters instead. Based on `--install-arguments` being passed. (0.9.9+)
|
||||
* ChocolateyIgnoreChecksums - Was `--ignore-checksums` passed or the feature `checksumFiles` turned off? (0.9.9.9+)
|
||||
* ChocolateyAllowEmptyChecksums - Was `--allow-empty-checksums` passed or the feature `allowEmptyChecksums` turned on? (0.10.0+)
|
||||
* ChocolateyAllowEmptyChecksumsSecure - Was `--allow-empty-checksums-secure` passed or the feature `allowEmptyChecksumsSecure` turned on? (0.10.0+)
|
||||
* ChocolateyChecksum32 - Was `--download-checksum` passed? (0.10.0+)
|
||||
* ChocolateyChecksumType32 - Was `--download-checksum-type` passed? (0.10.0+)
|
||||
* ChocolateyChecksum64 - Was `--download-checksum-x64` passed? (0.10.0)+
|
||||
* ChocolateyChecksumType64 - Was `--download-checksum-type-x64` passed? (0.10.0)+
|
||||
* ChocolateyPackageExitCode - The exit code of the script that just ran - usually set by `Set-PowerShellExitCode` (CHECK)
|
||||
* ChocolateyLastPathUpdate - Set by Chocolatey as part of install, but not used for anything in particular in packaging.
|
||||
* ChocolateyProxyLocation - The explicit proxy location as set in the configuration `proxy` (0.9.9.9+)
|
||||
* ChocolateyDownloadCache - Use available download cache? Set by `--skip-download-cache`, `--use-download-cache`, or feature `downloadCache` (0.9.10+ and licensed editions 1.1.0+)
|
||||
* ChocolateyProxyBypassList - Explicitly set locations to ignore in configuration `proxyBypassList` (0.10.4+)
|
||||
* ChocolateyProxyBypassOnLocal - Should the proxy bypass on local connections? Set based on configuration `proxyBypassOnLocal` (0.10.4+)
|
||||
* http_proxy - Set by original `http_proxy` passthrough, or same as `ChocolateyProxyLocation` if explicitly set. (0.10.4+)
|
||||
* https_proxy - Set by original `https_proxy` passthrough, or same as `ChocolateyProxyLocation` if explicitly set. (0.10.4+)
|
||||
* no_proxy- Set by original `no_proxy` passthrough, or same as `ChocolateyProxyBypassList` if explicitly set. (0.10.4+)
|
||||
|
@ -1,131 +0,0 @@
|
||||
TODO
|
||||
|
||||
1. Determine Package Use:
|
||||
|
||||
Organization? Internal Use? - You are not subject to distribution
|
||||
rights when you keep everything internal. Put the binaries directly
|
||||
into the tools directory (as long as total nupkg size is under 1GB).
|
||||
When bigger, look to use from a share or download binaries from an
|
||||
internal location. Embedded binaries makes for the most reliable use
|
||||
of Chocolatey. Use `$fileLocation` (`$file`/`$file64`) and
|
||||
`Install-ChocolateyInstallPackage`/`Get-ChocolateyUnzip` in
|
||||
tools\chocolateyInstall.ps1.
|
||||
|
||||
You can also choose to download from internal urls, see the next
|
||||
section, but ignore whether you have distribution rights or not, it
|
||||
doesn't apply. Under no circumstances should download from the
|
||||
internet, it is completely unreliable. See
|
||||
https://docs.chocolatey.org/en-us/community-repository/community-packages-disclaimer
|
||||
to understand the limitations of a publicly available repository.
|
||||
|
||||
Community Repository?
|
||||
Have Distribution Rights?
|
||||
If you are the software vendor OR the software EXPLICITLY allows
|
||||
redistribution and the total nupkg size will be under 200MB, you
|
||||
have the option to embed the binaries directly into the package to
|
||||
provide the most reliable install experience. Put the binaries
|
||||
directly into the tools folder, use `$fileLocation` (`$file`/
|
||||
`$file64`) and `Install-ChocolateyInstallPackage`/
|
||||
`Get-ChocolateyUnzip` in tools\chocolateyInstall.ps1. Additionally,
|
||||
fill out the LICENSE and VERIFICATION file (see 3 below and those
|
||||
files for specifics).
|
||||
|
||||
NOTE: You can choose to download binaries at runtime, but be sure
|
||||
the download location will remain stable. See the next section.
|
||||
|
||||
Do Not Have Distribution Rights?
|
||||
- Note: Packages built this way cannot be 100% reliable, but it's a
|
||||
constraint of publicly available packages and there is little
|
||||
that can be done to change that. See
|
||||
https://docs.chocolatey.org/en-us/community-repository/community-packages-disclaimer
|
||||
to better understand the limitations of a publicly available
|
||||
repository.
|
||||
Download Location is Publicly Available?
|
||||
You will need to download the runtime files from their official
|
||||
location at runtime. Use `$url`/`$url64` and
|
||||
`Install-ChocolateyPackage`/`Install-ChocolateyZipPackage` in
|
||||
tools\chocolateyInstall.ps1.
|
||||
Download Location is Not Publicly Available?
|
||||
Stop here, you can't push this to the community repository. You
|
||||
can ask the vendor for permission to embed, then include a PDF of
|
||||
that signed permission directly in the package. Otherwise you
|
||||
will need to seek alternate locations to non-publicly host the
|
||||
package.
|
||||
Download Location Is Same For All Versions?
|
||||
You still need to point to those urls, but you may wish to set up
|
||||
something like Automatic Updater (AU) so that when a new version
|
||||
of the software becomes available, the new package version
|
||||
automatically gets pushed up to the community repository. See
|
||||
https://docs.chocolatey.org/en-us/create/automatic-packages#automatic-updater-au
|
||||
|
||||
2. Determine Package Type:
|
||||
|
||||
- Installer Package - contains an installer (everything in template is
|
||||
geared towards this type of package)
|
||||
- Zip Package - downloads or embeds and unpacks archives, may unpack
|
||||
and run an installer using `Install-ChocolateyInstallPackage` as a
|
||||
secondary step.
|
||||
- Portable Package - Contains runtime binaries (or unpacks them as a
|
||||
zip package) - cannot require administrative permissions to install
|
||||
or use
|
||||
- Config Package - sets config like files, registry keys, etc
|
||||
- Extension Package - Packages that add PowerShell functions to
|
||||
Chocolatey - https://docs.chocolatey.org/en-us/features/extensions
|
||||
- Template Package - Packages that add templates like this for `choco
|
||||
new -t=name` - https://docs.chocolatey.org/en-us/guides/create/create-custom-package-templates
|
||||
- Other - there are other types of packages as well, these are the main
|
||||
package types seen in the wild
|
||||
|
||||
3. Fill out the package contents:
|
||||
|
||||
- tools\chocolateyBeforeModify.ps1 - remove if you have no processes
|
||||
or services to shut down before upgrade/uninstall
|
||||
- tools\LICENSE.txt / tools\VERIFICATION.txt - Remove if you are not
|
||||
embedding binaries. Keep and fill out if you are embedding binaries
|
||||
in the package AND pushing to the community repository, even if you
|
||||
are the author of software. The file becomes easier to fill out
|
||||
(does not require changes each version) if you are the software
|
||||
vendor. If you are building packages for internal use (organization,
|
||||
etc), you don't need these files as you are not subject to
|
||||
distribution rights internally.
|
||||
- tools\chocolateyUninstall.ps1 - remove if autouninstaller can
|
||||
automatically uninstall and you have nothing additional to do during
|
||||
uninstall
|
||||
- Readme.txt - delete this file once you have read over and used
|
||||
anything you've needed from here
|
||||
- nuspec - fill this out, then clean out all the comments (you may wish
|
||||
to leave the headers for the package vs software metadata)
|
||||
- tools\chocolateyInstall.ps1 - instructions in next section.
|
||||
|
||||
4. ChocolateyInstall.ps1:
|
||||
|
||||
- For embedded binaries - use `$fileLocation` (`$file`/`$file64`) and
|
||||
`Install-ChocolateyInstallPackage`/ `Get-ChocolateyUnzip`.
|
||||
- Downloading binaries at runtime - use `$url`/`$url64` and
|
||||
`Install-ChocolateyPackage` / `Install-ChocolateyZipPackage`.
|
||||
- Other needs (creating files, setting registry keys), use regular
|
||||
PowerShell to do so or see if there is a function already defined:
|
||||
https://docs.chocolatey.org/en-us/create/functions
|
||||
- There may also be functions available in extension packages, see
|
||||
https://community.chocolatey.org/packages?q=id%3A.extension for examples and
|
||||
availability.
|
||||
- Clean out the comments and sections you are not using.
|
||||
|
||||
5. Test the package to ensure install/uninstall work appropriately.
|
||||
There is a test environment you can use for this -
|
||||
https://github.com/chocolatey/chocolatey-test-environment
|
||||
|
||||
6. Learn more about Chocolatey packaging - go through the workshop at
|
||||
https://github.com/chocolatey/chocolatey-workshop
|
||||
You will learn about
|
||||
- General packaging
|
||||
- Customizing package behavior at runtime (package parameters)
|
||||
- Extension packages
|
||||
- Custom packaging templates
|
||||
- Setting up an internal Chocolatey.Server repository
|
||||
- Adding and using internal repositories
|
||||
- Reporting
|
||||
- Advanced packaging techniques when installers are not friendly to
|
||||
automation
|
||||
|
||||
7. Delete this file.
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<!-- == PACKAGE SPECIFIC SECTION == -->
|
||||
<!-- This section is about this package, although id and version have ties back to the software -->
|
||||
<!-- id is lowercase and if you want a good separator for words, use '-', not '.'. Dots are only acceptable as suffixes for certain types of packages, e.g. .install, .portable, .extension, .template -->
|
||||
<!-- If the software is cross-platform, attempt to use the same id as the debian/rpm package(s) if possible. -->
|
||||
<id>powershell-scripts</id>
|
||||
<!-- version should MATCH as closely as possible with the underlying software -->
|
||||
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
|
||||
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
|
||||
<version>0.4</version>
|
||||
<packageSourceUrl>https://github.com/fleschutz/PowerShell</packageSourceUrl>
|
||||
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
|
||||
<owners>Markus Fleschutz</owners>
|
||||
<!-- ============================== -->
|
||||
|
||||
<!-- == SOFTWARE SPECIFIC SECTION == -->
|
||||
<!-- This section is about the software itself -->
|
||||
<title>powershell-scripts</title>
|
||||
<authors>Markus Fleschutz</authors>
|
||||
<!-- projectUrl is required for the community feed -->
|
||||
<projectUrl>https://github.com/fleschutz/PowerShell</projectUrl>
|
||||
<!-- There are a number of CDN Services that can be used for hosting the Icon for a package. More information can be found here: https://docs.chocolatey.org/en-us/create/create-packages#package-icon-guidelines -->
|
||||
<!-- <copyright>Year Software Vendor</copyright> -->
|
||||
<!-- If there is a license Url available, it is required for the community feed -->
|
||||
<licenseUrl>https://github.com/fleschutz/PowerShell/blob/master/LICENSE</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<projectSourceUrl>https://github.com/fleschutz/PowerShell</projectSourceUrl>
|
||||
<!--<docsUrl>At what url are the software docs located?</docsUrl>-->
|
||||
<!--<mailingListUrl></mailingListUrl>-->
|
||||
<bugTrackerUrl>https://github.com/fleschutz/PowerShell/issues</bugTrackerUrl>
|
||||
<tags>powershell-scripts PowerShell Scripts collection</tags>
|
||||
<summary>Mega Collection of PowerShell Scripts</summary>
|
||||
<description>This collection provides more than 250 useful and cross-platform PowerShell scripts in the Scripts subfolder - to be used by command-line interface (CLI), for remote control (e.g. via SSH), by context menu, by voice control (see also repo talk2windows), by automation software like Jenkins, automatically as daily tasks, or simply to learn PowerShell.</description>
|
||||
<releaseNotes>0.4 Release</releaseNotes>
|
||||
<!-- =============================== -->
|
||||
|
||||
<dependencies>
|
||||
<dependency id="chocolatey-core.extension" version="1.1.0" />
|
||||
</dependencies>
|
||||
<!--<provides>NOT YET IMPLEMENTED</provides>-->
|
||||
<!--<conflicts>NOT YET IMPLEMENTED</conflicts>-->
|
||||
<!--<replaces>NOT YET IMPLEMENTED</replaces>-->
|
||||
</metadata>
|
||||
<files>
|
||||
<!-- this section controls what actually gets packaged into the Chocolatey package -->
|
||||
<file src="tools\**" target="tools" />
|
||||
</files>
|
||||
</package>
|
@ -1,11 +0,0 @@
|
||||
|
||||
Note: Include this file if including binaries you have the right to distribute.
|
||||
Otherwise delete. this file.
|
||||
|
||||
===DELETE ABOVE THIS LINE AND THIS LINE===
|
||||
|
||||
From: <insert applicable license url here>
|
||||
|
||||
LICENSE
|
||||
|
||||
<Insert License Here>
|
@ -1,13 +0,0 @@
|
||||
|
||||
Note: Include this file if including binaries you have the right to distribute.
|
||||
Otherwise delete. this file. If you are the software author, you can change this
|
||||
mention you are the author of the software.
|
||||
|
||||
===DELETE ABOVE THIS LINE AND THIS LINE===
|
||||
|
||||
VERIFICATION
|
||||
Verification is intended to assist the Chocolatey moderators and community
|
||||
in verifying that this package's contents are trustworthy.
|
||||
|
||||
<Include details of how to verify checksum contents>
|
||||
<If software vendor, explain that here - checksum verification instructions are optional>
|
@ -1,9 +0,0 @@
|
||||
# This runs in 0.9.10+ before upgrade and uninstall.
|
||||
# Use this file to do things like stop services prior to upgrade or uninstall.
|
||||
# NOTE: It is an anti-pattern to call chocolateyUninstall.ps1 from here. If you
|
||||
# need to uninstall an MSI prior to upgrade, put the functionality in this
|
||||
# file without calling the uninstall script. Make it idempotent in the
|
||||
# uninstall script so that it doesn't fail when it is already uninstalled.
|
||||
# NOTE: For upgrades - like the uninstall script, this script always runs from
|
||||
# the currently installed version, not from the new upgraded package version.
|
||||
|
@ -1,42 +0,0 @@
|
||||
|
||||
$ErrorActionPreference = 'Stop';
|
||||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||||
$url = ''
|
||||
$url64 = ''
|
||||
|
||||
$packageArgs = @{
|
||||
packageName = $env:ChocolateyPackageName
|
||||
unzipLocation = $toolsDir
|
||||
fileType = 'EXE'
|
||||
url = $url
|
||||
url64bit = $url64
|
||||
|
||||
softwareName = 'powershell-scripts*'
|
||||
|
||||
checksum = ''
|
||||
checksumType = 'sha256'
|
||||
checksum64 = ''
|
||||
checksumType64= 'sha256'
|
||||
|
||||
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
|
||||
validExitCodes= @(0, 3010, 1641)
|
||||
}
|
||||
|
||||
Install-ChocolateyPackage @packageArgs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,83 +0,0 @@
|
||||
# IMPORTANT: Before releasing this package, copy/paste the next 2 lines into PowerShell to remove all comments from this file:
|
||||
# $f='c:\path\to\thisFile.ps1'
|
||||
# gc $f | ? {$_ -notmatch "^\s*#"} | % {$_ -replace '(^.*?)\s*?[^``]#.*','$1'} | Out-File $f+".~" -en utf8; mv -fo $f+".~" $f
|
||||
|
||||
## NOTE: In 80-90% of the cases (95% with licensed versions due to Package Synchronizer and other enhancements),
|
||||
## AutoUninstaller should be able to detect and handle registry uninstalls without a chocolateyUninstall.ps1.
|
||||
## See https://docs.chocolatey.org/en-us/choco/commands/uninstall
|
||||
## and https://docs.chocolatey.org/en-us/create/functions/uninstall-chocolateypackage
|
||||
|
||||
## If this is an MSI, ensure 'softwareName' is appropriate, then clean up comments and you are done.
|
||||
## If this is an exe, change fileType, silentArgs, and validExitCodes
|
||||
|
||||
$ErrorActionPreference = 'Stop'; # stop on all errors
|
||||
$packageArgs = @{
|
||||
packageName = $env:ChocolateyPackageName
|
||||
softwareName = 'powershell-scripts*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
|
||||
fileType = 'EXE_MSI_OR_MSU' #only one of these: MSI or EXE (ignore MSU for now)
|
||||
# MSI
|
||||
silentArgs = "/qn /norestart"
|
||||
validExitCodes= @(0, 3010, 1605, 1614, 1641) # https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx
|
||||
# OTHERS
|
||||
# Uncomment matching EXE type (sorted by most to least common)
|
||||
#silentArgs = '/S' # NSIS
|
||||
#silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
|
||||
#silentArgs = '/s' # InstallShield
|
||||
#silentArgs = '/s /v"/qn"' # InstallShield with MSI
|
||||
#silentArgs = '/s' # Wise InstallMaster
|
||||
#silentArgs = '-s' # Squirrel
|
||||
#silentArgs = '-q' # Install4j
|
||||
#silentArgs = '-s -u' # Ghost
|
||||
# Note that some installers, in addition to the silentArgs above, may also need assistance of AHK to achieve silence.
|
||||
#silentArgs = '' # none; make silent with input macro script like AutoHotKey (AHK)
|
||||
# https://community.chocolatey.org/packages/autohotkey.portable
|
||||
#validExitCodes= @(0) #please insert other valid exit codes here
|
||||
}
|
||||
|
||||
# Get-UninstallRegistryKey is new to 0.9.10, if supporting 0.9.9.x and below,
|
||||
# take a dependency on "chocolatey-core.extension" in your nuspec file.
|
||||
# This is only a fuzzy search if $softwareName includes '*'. Otherwise it is
|
||||
# exact. In the case of versions in key names, we recommend removing the version
|
||||
# and using '*'.
|
||||
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
|
||||
|
||||
if ($key.Count -eq 1) {
|
||||
$key | % {
|
||||
$packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below
|
||||
|
||||
if ($packageArgs['fileType'] -eq 'MSI') {
|
||||
# The Product Code GUID is all that should be passed for MSI, and very
|
||||
# FIRST, because it comes directly after /x, which is already set in the
|
||||
# Uninstall-ChocolateyPackage msiargs (facepalm).
|
||||
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
|
||||
|
||||
# Don't pass anything for file, it is ignored for msi (facepalm number 2)
|
||||
# Alternatively if you need to pass a path to an msi, determine that and
|
||||
# use it instead of the above in silentArgs, still very first
|
||||
$packageArgs['file'] = ''
|
||||
} else {
|
||||
# NOTES:
|
||||
# - You probably will need to sanitize $packageArgs['file'] as it comes from the registry and could be in a variety of fun but unusable formats
|
||||
# - Split args from exe in $packageArgs['file'] and pass those args through $packageArgs['silentArgs'] or ignore them
|
||||
# - Ensure you don't pass double quotes in $file (aka $packageArgs['file']) - otherwise you will get "Illegal characters in path when you attempt to run this"
|
||||
# - Review the code for auto-uninstaller for all of the fun things it does in sanitizing - https://github.com/chocolatey/choco/blob/bfe351b7d10c798014efe4bfbb100b171db25099/src/chocolatey/infrastructure.app/services/AutomaticUninstallerService.cs#L142-L192
|
||||
}
|
||||
|
||||
Uninstall-ChocolateyPackage @packageArgs
|
||||
}
|
||||
} elseif ($key.Count -eq 0) {
|
||||
Write-Warning "$packageName has already been uninstalled by other means."
|
||||
} elseif ($key.Count -gt 1) {
|
||||
Write-Warning "$($key.Count) matches found!"
|
||||
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
|
||||
Write-Warning "Please alert package maintainer the following keys were matched:"
|
||||
$key | % {Write-Warning "- $($_.DisplayName)"}
|
||||
}
|
||||
|
||||
## OTHER POWERSHELL FUNCTIONS
|
||||
## https://docs.chocolatey.org/en-us/create/functions
|
||||
#Uninstall-ChocolateyZipPackage $packageName # Only necessary if you did not unpack to package directory - see https://docs.chocolatey.org/en-us/create/functions/uninstall-chocolateyzippackage
|
||||
#Uninstall-ChocolateyEnvironmentVariable # 0.9.10+ - https://docs.chocolatey.org/en-us/create/functions/uninstall-chocolateyenvironmentvariable
|
||||
#Uninstall-BinFile # Only needed if you used Install-BinFile - see https://docs.chocolatey.org/en-us/create/functions/uninstall-binfile
|
||||
## Remove any shortcuts you added in the install script.
|
||||
|
@ -1,26 +0,0 @@
|
||||
PROVIDER, IPv4_PRI, IPv4_SEC
|
||||
"AdGuard DNS (Cyprus)", 94.140.14.14, 94.140.15.15
|
||||
"CleanBrowsing", 185.228.168.9, 185.228.169.9
|
||||
"Cloudflare Public DNS (USA, standard)", 1.1.1.1, 1.0.0.1
|
||||
"Cloudflare Public DNS (with malware blocklist)", 1.1.1.2, 1.0.0.2
|
||||
"Cloudflare Public DNS (with malware+adult blocklist)", 1.1.1.3, 1.0.0.3
|
||||
"Control D (Canada)", 76.76.2.0, 76.76.10.0
|
||||
"DNS0.eu (standard)", 193.110.81.0, 185.253.5.0
|
||||
"DNS0.eu (for kids)", 193.110.81.1, 185.253.5.1
|
||||
"DNS0.eu (zero)", 193.110.81.9, 185.253.5.9
|
||||
"DNS.WATCH (Germany)", 84.200.69.80, 84.200.70.40
|
||||
"Google Public DNS (USA)", 8.8.8.8, 8.8.4.4
|
||||
"Level3 one", 4.2.2.1, 4.2.2.1
|
||||
"Level3 two", 4.2.2.2, 4.2.2.2
|
||||
"Level3 three", 4.2.2.3, 4.2.2.3
|
||||
"Level3 four", 4.2.2.4, 4.2.2.4
|
||||
"Level3 five", 4.2.2.5, 4.2.2.5
|
||||
"Level3 six", 4.2.2.6, 4.2.2.6
|
||||
"OpenDNS (basic)", 208.67.222.222, 208.67.220.220
|
||||
"OpenDNS (family shield)", 208.67.222.123, 208.67.220.123
|
||||
"OpenNIC Project", 94.247.43.254, 94.247.43.254
|
||||
"Quad9 (with malware blocklist, with DNSSEC)", 9.9.9.9, 149.112.112.112
|
||||
"Quad9 (no malware blocklist, no DNSSEC)", 9.9.9.10, 9.9.9.10
|
||||
"Quad9 (with malware blocklist, with DNSSEC, with EDNS)", 9.9.9.11, 9.9.9.11
|
||||
"Quad9 (with malware blocklist, with DNSSEC, NXDOMAIN only)", 9.9.9.12, 9.9.9.12
|
||||
"Verisign Public DNS (USA)", 64.6.64.6, 64.6.65.6
|
|
@ -1,48 +0,0 @@
|
||||
CATEGORY,AUTHOR,QUOTE
|
||||
IQ,Thomas Edison,"Genius is one percent inspiration and ninety-nine percent perspiration."
|
||||
Life,Abraham Lincoln,"In the end, it's not the years in your life that count. It's the life in your years."
|
||||
Life,Albert Einstein,"Only a life lived for others is a life worthwhile."
|
||||
Life,Marilyn Monroe,"Keep smiling, because life is a beautiful thing and there's so much to smile about."
|
||||
Life,James M. Barrie,"Life is a long lesson in humility."
|
||||
Life,Bob Marley,"Love the life you live. Live the life you love."
|
||||
Life,Ray Bradbury,"Life is trying things to see if they work."
|
||||
Life,Helen Keller,"Life is either a daring adventure or nothing at all."
|
||||
Life,John Lennon,"Life is what happens when you're busy making other plans."
|
||||
Life,Jonathan Swift,"May you live all the days of your life."
|
||||
Misc,Abraham Lincoln,"The best thing about the future is that it only comes one day at a time."
|
||||
Misc,Albert Einstein,"Learn from yesterday, live for today, hope for tomorrow."
|
||||
Misc,Anne Frank,"Whoever is happy will make others happy too."
|
||||
Misc,Aristotle,"It is during our darkest moments that we must focus to see the light."
|
||||
Misc,Benjamin Franklin,"Tell me and I forget. Teach me and I remember. Involve me and I learn."
|
||||
Misc,Bruce Lee,"Mistakes are always forgivable, if one has the courage to admit them."
|
||||
Misc,Eleanor Roosevelt,"The future belongs to those who believe in the beauty of their dreams."
|
||||
Misc,Johann Wolfgang von Goethe,"Difficulties increase the nearer we get to the goal."
|
||||
Misc,Michelangelo,"Faith in oneself is the best and safest course."
|
||||
Misc,Sophocles,"It takes both sunshine and rain to make a rainbow."
|
||||
Misc,Mahatma Gandhi,"We must become the change we want to see."
|
||||
Misc,Johann Wolfgang von Goethe,"Knowing is not enough; we must apply!"
|
||||
Misc,Immanuel Kant,"Science is organized knowledge. Wisdom is organized life."
|
||||
Misc,Indira Gandhi,"You can't shake hands with a clenched fist."
|
||||
Misc,Pierre Auguste Renoir,"The pain passes, but the beauty remains."
|
||||
Misc,Heraclitus,"All is flux; nothing stays still."
|
||||
Misc,Japanese proverb,"The day you decide to do it is your lucky day."
|
||||
Misc,Epictetus,"We have two ears and one mouth so that we can listen twice as much as we speak."
|
||||
Misc,Cervantes,"Be slow of tongue and quick of eye."
|
||||
Misc,Nelson Mandela,"The greatest glory in living lies not in never falling, but in rising every time we fall."
|
||||
Misc,Mother Teresa,"Spread love everywhere you go. Let no one ever come to you without leaving happier."
|
||||
Misc,Mae West,"You only live once, but if you do it right, once is enough."
|
||||
Misc,Hans Christian Andersen,"Life itself is the most wonderful fairy tale."
|
||||
Misc,Walt Disney,"The way to get started is to quit talking and begin doing."
|
||||
Misc,William Shakespeare,"Having nothing, nothing can he lose."
|
||||
Misc,Tony Robbins,"The only impossible journey is the one you never begin."
|
||||
Misc,Ralph Waldo Emerson,"Do not go where the path may lead, go instead where there is no path and leave a trail."
|
||||
Misc,Margaret Mead,"Always remember that you are absolutely unique. Just like everyone else."
|
||||
Misc,J.K. Rowling,"When in doubt go to the library."
|
||||
Success,Albert Einstein,"Try not to become a man of success, but rather try to become a man of value."
|
||||
Success,Steve Jobs,"If you really look closely, most overnight successes took a long time."
|
||||
Success,Oprah Winfrey,"You know you are on the road to success if you would do your job and not be paid for it."
|
||||
Success,David Brinkley,"A successful man is one who can lay a firm foundation with the bricks others have thrown at him."
|
||||
Success,Estee Lauder,"I never dreamed about success, I worked for it."
|
||||
Success,Henry David Thoreau,"Success usually comes to those who are too busy to be looking for it."
|
||||
Success,Colin Powell,"There are no secrets to success. It is the result of preparation, hard work, and learning from failure."
|
||||
Success,John D. Rockefeller,"The secret of success is to do the common thing uncommonly well."
|
|
293
Data/scripts.csv
293
Data/scripts.csv
@ -1,293 +0,0 @@
|
||||
SCRIPT,DESCRIPTION
|
||||
add-firewall-rules.ps1, Adds firewall rules for executables (needs admin rights)
|
||||
add-memo.ps1, Adds a memo text
|
||||
build-repo.ps1, Builds a Git repository
|
||||
build-repos.ps1, Builds all Git repositories in a folder
|
||||
cd-autostart.ps1, Set the working directory to the user's autostart folder
|
||||
cd-desktop.ps1, Set the working directory to the user's desktop folder
|
||||
cd-docs.ps1, Set the working directory to the user's documents folder
|
||||
cd-downloads.ps1, Set the working directory to the user's downloads folder
|
||||
cd-dropbox.ps1, Set the working directory to the user's Dropbox folder
|
||||
cd-home.ps1, Set the working directory to the user's home folder
|
||||
cd-music.ps1, Set the working directory to the user's music folder
|
||||
cd-onedrive.ps1, Set the working directory to the user's OneDrive folder
|
||||
cd-pics.ps1, Set the working directory to the user's pictures folder
|
||||
cd-recycle-bin.ps1, Set the working directory to the user's recycle bin folder
|
||||
cd-repos.ps1, Set the working directory to the user's Git repositories folder
|
||||
cd-root.ps1, Set the working directory to the root directory (C: on Windows)
|
||||
cd-scripts.ps1, Set the working directory to the PowerShell Scripts folder
|
||||
cd-ssh.ps1, Set the working directory to the user's SSH folder
|
||||
cd-up.ps1, Set the working directory to one directory level up
|
||||
cd-up2.ps1, Set the working directory to two directory levels up
|
||||
cd-up3.ps1, Set the working directory to three directory levels up
|
||||
cd-up4.ps1, Set the working directory to four directory levels up
|
||||
cd-videos.ps1, Set the working directory to the user's videos folder
|
||||
check-cpu-temp.ps1, Checks the CPU temperature
|
||||
check-dns-resolution.ps1, Checks the DNS resolution with frequently used domain names
|
||||
check-drive-space.ps1, Checks a drive for free space left
|
||||
check-file-system.ps1, Checks the file system of a drive (needs admin rights)
|
||||
check-health.ps1, Checks the system health
|
||||
check-ipv4-address.ps1, Checks the given IPv4 address for validity
|
||||
check-ipv6-address.ps1, Checks the given IPv6 address for validity
|
||||
check-mac-address.ps1, Checks the given MAC address for validity
|
||||
check-ping.ps1, Checks the ping latency to the internet
|
||||
check-subnet-mask.ps1, Checks the given subnet mask for validity
|
||||
check-swap-space.ps1, Checks the swap space for free space left
|
||||
check-symlinks.ps1, Checks every symlink in a directory tree
|
||||
check-weather.ps1, Checks the current weather for critical values
|
||||
check-windows-system-files.ps1, Checks the validity of the Windows system files
|
||||
check-xml-file.ps1, Checks the given XML file for validity
|
||||
clean-repo.ps1, Cleans the current/given Git repository from untracked files (including submodules)
|
||||
clean-repos.ps1, Cleans all Git repositories under the current/given directory from untracked files (including submodules)
|
||||
clear-recycle-bin.ps1, Removes the content of the recycle bin folder (can not be undo!)
|
||||
clone-repos.ps1, Clones well-known Git repositories
|
||||
close-calculator.ps1, Closes the calculator program gracefully
|
||||
close-cortana.ps1, Closes Cortana gracefully
|
||||
close-file-explorer.ps1, Closes Microsoft File Explorer gracefully
|
||||
close-google-chrome.ps1, Closes the Google Chrome Web browser
|
||||
close-program.ps1, Closes the given program gracefully
|
||||
close-microsoft-edge.ps1, Closes the Microsoft Edge Web browser
|
||||
close-microsoft-store.ps1, Closes the Microsoft Store app
|
||||
close-mozilla-firefox.ps1, Closes the Mozilla Firefox Web browser
|
||||
close-netflix.ps1, Closes the Netflix application gracefully
|
||||
close-onedrive.ps1, Closes Microsoft OneDrive gracefully
|
||||
close-serenade.ps1, Closes the Serenade.ai application gracefully
|
||||
close-snipping-tool.ps1, Closes the Snipping Tool application gracefully
|
||||
close-spotify.ps1, Closes Spotify
|
||||
close-system-settings.ps1, Closes the System Settings gracefully
|
||||
close-thunderbird.ps1, Closes Mozilla Thunderbird gracefully
|
||||
close-vlc.ps1, Closes the VLC media player application
|
||||
close-windows-terminal.ps1, Closes the Windows Terminal application
|
||||
copy-photos-sorted.ps1, Copy image files sorted by year and month
|
||||
configure-git.ps1, Sets up the Git user configuration
|
||||
convert-csv2txt.ps1, Converts the given CSV file into a text list
|
||||
convert-mysql2csv.ps1, Converts the MySQL database table to a CSV file
|
||||
convert-ps2bat.ps1, Converts PowerShell script(s) to .bat files
|
||||
convert-ps2md.ps1, Converts the comment-based help of a PowerShell script to Markdown
|
||||
convert-sql2csv.ps1, Converts the SQL database table to a CSV file
|
||||
convert-txt2wav.ps1, Converts text into a audio .WAV file
|
||||
daily-tasks.sh, Execute PowerShell scripts automatically as daily tasks (Linux only)
|
||||
decrypt-file.ps1, Decrypts the given file
|
||||
display-time.ps1, Displays the current time for 10 seconds by default
|
||||
download-dir.ps1, Downloads a directory tree from the given URL
|
||||
download-file.ps1, Downloads a file from the given URL
|
||||
edit.ps1, Edits the given file with the built-in text editor
|
||||
enable-crash-dumps.ps1, Enables the writing of crash dumps
|
||||
enable-god-mode.ps1, Enables the god mode (adds a new icon to the desktop)
|
||||
encrypt-file.ps1, Encrypts the given file
|
||||
export-to-manuals.ps1, Converts all scripts as manuals
|
||||
export-to-serenade.ps1, Converts all scripts to Serenade for voice control
|
||||
fetch-repo.ps1, Fetches updates for the current/given Git repository (including submodules)
|
||||
fetch-repos.ps1, Fetches updates for all Git repositories under the current/given directory (including submodules)
|
||||
get-md5.ps1, Prints the MD5 checksum of the given file
|
||||
get-sha1.ps1, Prints the SHA1 checksum of the given file
|
||||
get-sha256.ps1, Prints the SHA256 checksum of the given file
|
||||
hibernate.ps1, Enables hibernate mode for the local computer (needs admin rights)
|
||||
inspect-exe.ps1, Prints basic information of the given executable file
|
||||
install-github-cli.ps1, Installs GitHub CLI
|
||||
install-google-chrome.ps1, Installs the Google Chrome browser
|
||||
install-knot-resolver.ps1, Installs the Knot Resolver (needs admin rights)
|
||||
install-signal-cli.ps1, Installs signal-cli from github.com/AsamK/signal-cli
|
||||
install-ssh-client.ps1, Installs the SSH client (needs admin rights)
|
||||
install-ssh-server.ps1, Installs the SSH server (needs admin rights)
|
||||
install-updates.ps1, Installs updates (needs admin rights)
|
||||
install-vscode.ps1, Installs Visual Studio Code
|
||||
install-wsl.ps1, Installs Windows Subsystem for Linux (WSL), needs admin rights
|
||||
introduce-powershell.ps1, Introduces PowerShell to new users
|
||||
list-aliases.ps1, Lists all PowerShell aliases
|
||||
list-anagrams.ps1, Lists all anagrams of the given word
|
||||
list-automatic-variables.ps1, Lists the automatic variables of PowerShell
|
||||
list-branches.ps1, Lists all branches in the current/given Git repository
|
||||
list-cheat-sheet.ps1, Lists the PowerShell cheat sheet
|
||||
list-city-weather.ps1, Lists the current weather of cities worldwide (east to west)
|
||||
list-commits.ps1, Lists all commits in the current/given Git repository
|
||||
list-console-colors.ps1, Lists all console colors
|
||||
list-countries.ps1, Lists details of all countries
|
||||
list-cli-tools.ps1, Lists available command-line interface (CLI) tools
|
||||
list-clipboard.ps1, Lists the contents of the clipboard
|
||||
list-credits.ps1, Shows the credits
|
||||
list-crypto-rates.ps1, Lists the current crypto exchange rates
|
||||
list-dir-tree.ps1, Lists the directory tree content
|
||||
list-drives.ps1, Lists all drives
|
||||
list-environment-variables.ps1, Lists all environment variables
|
||||
list-emojis.ps1, Lists the emojis of Unicode 13.0
|
||||
list-empty-dirs.ps1, Lists empty subfolders within the given directory tree
|
||||
list-empty-files.ps1, Lists empty files within the given directory tree
|
||||
list-files.ps1, Lists all files in the given folder and also in every subfolder
|
||||
list-folder.ps1, Lists the folder content
|
||||
list-fritzbox-calls.ps1, Lists the FRITZ!Box calls
|
||||
list-fritzbox-devices.ps1, Lists FRITZ!Box's known devices
|
||||
list-hidden-files.ps1, Lists hidden files within the given directory tree
|
||||
list-installed-apps.ps1, Lists the installed Windows Store apps
|
||||
list-installed-software.ps1, Lists the installed software (except Windows Store apps)
|
||||
list-latest-tag.ps1, Lists the latest tag on the current branch in a Git repository
|
||||
list-latest-tags.ps1, Lists the latests tags in all Git repositories under the current/given directory
|
||||
list-memos.ps1, Lists the memos at $HOME/Memos.csv
|
||||
list-unused-files.ps1, Lists unused files in a directory tree
|
||||
list-cmdlets.ps1, Lists the PowerShell cmdlets
|
||||
list-earthquakes.ps1, Lists earthquakes with magnitude >= 6.0 for the last 30 days
|
||||
list-exchange-rates.ps1, Lists the exchange rates for the given currency
|
||||
list-modules.ps1, Lists the PowerShell modules
|
||||
list-mysql-tables.ps1, Lists the MySQL server tables
|
||||
list-network-shares.ps1, Lists the network shares of the local computer
|
||||
list-news.ps1, Lists the latest news
|
||||
list-os-releases.ps1, Lists operating system releases and download URL
|
||||
list-os-updates.ps1, Lists operating system updates
|
||||
list-passwords.ps1, Prints a list of random passwords
|
||||
list-pins.ps1, Prints a list of random PIN's
|
||||
list-printers.ps1, Lists all printer known to the computer
|
||||
list-print-jobs.ps1, Lists all jobs of all printers
|
||||
list-processes.ps1, Lists the local computer processes
|
||||
list-profiles.ps1, Lists your PowerShell profiles
|
||||
list-recycle-bin.ps1, Lists the content of the recycle bin folder
|
||||
list-scripts.ps1, Lists all PowerShell scripts in this repository
|
||||
list-services.ps1, Lists the services on the local computer
|
||||
list-sql-tables.ps1, Lists the SQL server tables
|
||||
list-submodules.ps1, Lists the submodules of the current/given Git repository
|
||||
list-system-info.ps1, Lists system information on the local computer
|
||||
list-tags.ps1, Lists all tags in the current/given Git repository
|
||||
list-tasks.ps1, Lists all Windows scheduler tasks
|
||||
list-timezone.ps1, Lists the current time zone details
|
||||
list-timezones.ps1, Lists all time zones available
|
||||
list-tiobe-index.ps1, Lists the TIOBE index of top programming languages
|
||||
list-user-groups.ps1, Lists the user groups on the local computer
|
||||
list-voices.ps1, Lists the installed text-to-speech (TTS) voices
|
||||
list-weather.ps1, Lists the hourly weather
|
||||
list-workdir.ps1, Lists the current working directory
|
||||
locate-city.ps1, Prints the geographic location of the given city
|
||||
locate-ipaddress.ps1, Prints the geographic location of the given IP address
|
||||
locate-zip-code.ps1, Prints the geographic location of the given zip-code
|
||||
make-install.ps1, Installs built executables and libs to the installation directory
|
||||
moon.ps1, Prints the current moon phase
|
||||
mute-audio.ps1, Mutes the audio device
|
||||
open-amazon.ps1, Opens Amazon's website
|
||||
open-browser.ps1, Starts the default Web browser
|
||||
open-calculator.ps1, Starts the calculator program
|
||||
open-c-drive.ps1, Opens the C: drive folder
|
||||
open-downloads-folder.ps1, Opens the user's downloads folder
|
||||
open-dropbox-folder.ps1, Opens the user's Dropbox folder
|
||||
open-email-client.ps1, Starts the default email client
|
||||
open-facebook.ps1, Opens Facebook's website
|
||||
open-file-explorer.ps1, Opens the File Explorer
|
||||
open-fritz-box.ps1, Opens FRITZ!Box's web interface
|
||||
open-github.ps1, Opens GitHub's website
|
||||
open-google-contacts.ps1, Opens Google Contacts
|
||||
open-google-earth.ps1, Opens Google Earth
|
||||
open-google-maps.ps1, Opens Google Maps
|
||||
open-google-mail.ps1, Opens Google Mail
|
||||
open-google-news.ps1, Opens Google News
|
||||
open-google-play.ps1, Opens Google Play
|
||||
open-google-search.ps1, Opens Google Search
|
||||
open-google-translate.ps1, Opens Google Translate
|
||||
open-home-folder.ps1, Opens the user's home folder
|
||||
open-music-folder.ps1, Opens the user's music folder
|
||||
open-microsoft-edge.ps1, Launches the Microsoft Edge Web browser
|
||||
open-microsoft-store.ps1, Starts the Microsoft Store app
|
||||
open-netflix.ps1, Starts the Netflix app
|
||||
open-notepad.ps1, Starts the Notepad app
|
||||
open-onedrive-folder.ps1, Opens the user's OneDrive folder
|
||||
open-recycle-bin.ps1, Opens the user's recycle bin folder
|
||||
open-repos-folder.ps1, Opens the user's Git repositories folder
|
||||
open-snipping-tools.ps1, Opens the Snipping Tool
|
||||
open-speed-test.ps1, Opens Cloudflare's speed test
|
||||
open-spotify.ps1, Opens the Spotify app
|
||||
open-system-settings.ps1, Launches the Windows system settings
|
||||
open-task-manager.ps1, Launches the Task Manager
|
||||
open-toggl-track.ps1, Opens Toggl Track
|
||||
open-videos-folder.ps1, Opens the user's videos folder
|
||||
open-windows-terminal.ps1, Launches Windows Terminal
|
||||
open-wikipedia.ps1, Opens Wikipedia's website
|
||||
open-youtube.ps1, Opens YouTube.com
|
||||
pick-commit.ps1, Cherry-picks a Git commit into multiple branches
|
||||
play-beep-sound.ps1, Plays a short beep sound
|
||||
play-files.ps1, Plays the given audio files
|
||||
play-happy-birthday.ps1, Plays the Happy Birthday song
|
||||
play-imperial-march.ps1, Plays the Imperial March (Star Wars)
|
||||
play-jingle-bells.ps1, Plays Jingle Bells
|
||||
play-mission-impossible.ps1, Plays the Mission Impossible theme
|
||||
play-m3u.ps1, Plays the given playlist (M3U file format)
|
||||
play-mp3.ps1, Plays the given sound file (MP3 file format)
|
||||
play-super-mario.ps1, Plays the Super Mario Intro
|
||||
play-tetris-melody.ps1, Plays the Tetris melody
|
||||
poweroff.ps1, Halts the local computer (needs admin rights)
|
||||
publish-to-ipfs.ps1, Publishes the given files or directory to IPFS
|
||||
pull-repo.ps1, Pulls updates for the current/given Git repository (including submodules)
|
||||
pull-repos.ps1, Pulls updates for all Git repositories under the current/given directory (including submodules)
|
||||
query-smart-data.ps1, Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory
|
||||
new-branch.ps1, Creates a new branch in the current/given Git repository
|
||||
new-email.ps1, Starts the default email client to write a new email
|
||||
new-qrcode.ps1, Generates a new QR code
|
||||
new-script.ps1, Creates a new PowerShell script
|
||||
new-shortcut.ps1, Creates a new shortcut file
|
||||
new-symlink.ps1, Creates a new symbolic link file
|
||||
new-tag.ps1, Creates a new tag in a Git repository
|
||||
new-zipfile.ps1, Creates a new .zip file from a directory
|
||||
reboot.ps1, Reboots the local computer (needs admin rights)
|
||||
reboot-fritzbox.ps1, Reboots the FRITZ!box device
|
||||
remind-me.ps1, Creates a scheduled task that will display a popup message
|
||||
remove-empty-dirs.ps1, Removes empty subfolders within the given directory tree
|
||||
remove-print-jobs.ps1, Removes all jobs from all printers
|
||||
remove-tag.ps1, Removes a tag in a Git repository
|
||||
replace-in-files.ps1, Search and replace a pattern in the given files by the replacement
|
||||
restart-network-adapters.ps1, Restarts all local network adapters
|
||||
save-screenshot.ps1, Saves a single screenshot
|
||||
say-date.ps1, Say the current date by text-to-speech
|
||||
say-joke.ps1, Say a random Chuck Norris joke by text-to-speech
|
||||
say-quote.ps1, Say a random quote by text-to-speech
|
||||
say-time.ps1, Say the current time by text-to-speech
|
||||
search-filename.ps1, Searches the directory tree for filenames by given pattern
|
||||
search-files.ps1, Searches the given pattern in the given files
|
||||
scan-ports.ps1, Scans the network for open/closed ports
|
||||
send-email.ps1, Sends an email message
|
||||
send-tcp.ps1, Sends a TCP message to the given IP address and port
|
||||
send-udp.ps1, Sends a UDP datagram message to the given IP address and port
|
||||
set-profile.ps1, Updates your PowerShell user profile
|
||||
set-timer.ps1, Sets a timer for a countdown
|
||||
set-wallpaper.ps1, Sets the given image as wallpaper
|
||||
simulate-matrix.ps1, Simulates the Matrix (fun)
|
||||
simulate-presence.ps1, Simulates the human presence against burglars
|
||||
speak-checklist.ps1, Speaks the given checklist by text-to-speech
|
||||
speak-countdown.ps1, Starts a countdown by text-to-speech
|
||||
speak-english.ps1, Speaks the given text with an English text-to-speech voice
|
||||
speak-epub.ps1, Speaks the content of the given Epub file by text-to-speech
|
||||
speak-file.ps1, Speaks the content of the given text file by text-to-speech
|
||||
speak-french.ps1, Speaks the given text with a French text-to-speech voice
|
||||
speak-german.ps1, Speaks the given text with a German text-to-speech voice
|
||||
speak-italian.ps1, Speaks the given text with an Italian text-to-speech voice
|
||||
speak-spanish.ps1, Speaks the given text with a Spanish text-to-speech voice
|
||||
speak-test.ps1, Performs a speak test by text-to-speech
|
||||
speak-text.ps1, Speaks the given text by text-to-speech
|
||||
start-calibre-server.ps1, Starts a local Calibre server
|
||||
start-ipfs-server.ps1, Starts a local IPFS server
|
||||
switch-branch.ps1, Switches the branch in the current/given Git repository (including submodules)
|
||||
switch-shelly1.ps1, Switches a Shelly1 device in the local network
|
||||
sync-repo.ps1, Synchronizes a Git repository by push & pull (including submodules)
|
||||
translate-file.ps1, Translates the given text file into another language
|
||||
translate-files.ps1, Translates the given text files into any supported language
|
||||
translate-text.ps1, Translates the given text into other languages
|
||||
turn-volume-up.ps1, Turns the audio volume up (+10% by default)
|
||||
turn-volume-down.ps1, Turns the audio volume down (-10% by default)
|
||||
unmute-audio.ps1, Unmutes audio
|
||||
upgrade-ubuntu.ps1, Upgrades Ubuntu Linux to the latest (LTS) release
|
||||
upload-file.ps1, Uploads the local file to the given FTP server
|
||||
wakeup.ps1, Sends a magic packet to the given computer, waking him up
|
||||
weather.ps1, Prints the current weather forecast
|
||||
weather-report.ps1, Prints the local weather report
|
||||
what-is.ps1, Prints a description of the given abbreviation
|
||||
write-animated.ps1, Writes animated text
|
||||
write-big.ps1, Writes the given text in big letters
|
||||
write-blue.ps1, Writes the given text in a blue foreground color
|
||||
write-braille.ps1, Writes the given text in Braille
|
||||
write-calendar.ps1, Writes the calendar (month or year)
|
||||
write-green.ps1, Writes the given text in a green foreground color
|
||||
write-joke.ps1], Writes a random Juck Norris joke
|
||||
write-lowercase.ps1, Writes the given text in lowercase letters
|
||||
write-marquee.ps1, Writes the given text as marquee
|
||||
write-morse-code.ps1, Writes the given text in Morse code
|
||||
write-motd.ps1, Writes the message of the day (MOTD)
|
||||
write-quote.ps1, Writes a random quote
|
||||
write-red.ps1, Writes the given text in a red foreground color
|
||||
write-rot13.ps1, Encodes or decodes the given text with ROT13
|
||||
write-typewriter.ps1, Writes the given text with the typewriter effect
|
||||
write-uppercase.ps1, Writes the given text in uppercase letters
|
||||
write-vertical.ps1, Writes the given text in vertical direction
|
Can't render this file because it has a wrong number of fields in line 95.
|
@ -1,20 +0,0 @@
|
||||
NAME, URL
|
||||
Toggl Track, "https://track.toggl.com/timer"
|
||||
Google Calendar,"https://calendar.google.com/calendar/u/0/r/agenda"
|
||||
Google Mail, "https://mail.google.com/"
|
||||
Google Keep, "https://keep.google.com/"
|
||||
Google Photos, "https://photos.google.com/"
|
||||
Google News, "https://news.google.com"
|
||||
Outlook Mail, "https://outlook.office.com/mail/"
|
||||
CNN News, "https://edition.cnn.com"
|
||||
GitHub Explore, "https://github.com/explore"
|
||||
FlightRadar24, "https://www.flightradar24.com/27.63,-6.98/3"
|
||||
Earthquake Watch,"https://www.arcgis.com/apps/dashboards/c8af9c5411814584b460cc87cb7c3780"
|
||||
Live Cyber Threat Map,"https://threatmap.checkpoint.com"
|
||||
Netflix Top 10, "https://www.netflix.com/tudum/top10/"
|
||||
YouTube Music Charts,"https://charts.youtube.com/"
|
||||
Webcams, "https://www.foto-webcam.eu"
|
||||
Peak Zugspitze, "https://zugspitze.panomax.com"
|
||||
Airport Salzburg,"https://livecam.salzburg-airport.com"
|
||||
Windy Weather Radar,"https://www.windy.com/de/-Weather-radar-radar"
|
||||
Windy Weather Temperatures,"https://www.windy.com/-Temperature-temp"
|
Can't render this file because it has a wrong number of fields in line 2.
|
143
Docs/FAQ.md
143
Docs/FAQ.md
@ -1,143 +0,0 @@
|
||||
PowerShell FAQ
|
||||
==============
|
||||
|
||||
<details><summary>What is PowerShell?</summary>
|
||||
|
||||
**PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.**
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>Why use PowerShell?</summary>
|
||||
|
||||
✔️ **It's powerful** - fully control your computer
|
||||
|
||||
✔️ **It's easy to learn** - see the tutorial at: https://www.guru99.com/powershell-tutorial.html
|
||||
|
||||
✔️ **It's cross-platform** - available for Linux, Mac OS and Windows
|
||||
|
||||
✔️ **It's open-source and free** - see the Github repository at: https://github.com/PowerShell/PowerShell
|
||||
|
||||
✔️ **It's fully documented** - see the PowerShell documentation at: https://docs.microsoft.com/en-us/powershell/
|
||||
</details>
|
||||
|
||||
<details><summary>How to install PowerShell?</summary>
|
||||
|
||||
▶️ **On Windows** it's preinstalled, **but** the script execution policy is *restricted* (forbidden) by default! To change this: open the *Windows PowerShell (Administrator)* console and enter:
|
||||
```
|
||||
PS> Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser
|
||||
```
|
||||
NOTE: the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help.
|
||||
|
||||
▶️ **On CentOS, Debian, Docker, Fedora, macOS, openSUSE, Red Hat, Ubuntu** visit https://github.com/PowerShell/PowerShell for installation.
|
||||
|
||||
▶️ **On Linux supporting Snaps** execute:
|
||||
```
|
||||
$ snap install PowerShell
|
||||
$ ln -s /snap/bin/pwsh /usr/bin/pwsh
|
||||
```
|
||||
</details>
|
||||
|
||||
<details><summary>How to get the PowerShell scripts?</summary>
|
||||
|
||||
* When using **Git**, execute in a terminal window: `> git clone https://github.com/fleschutz/PowerShell`
|
||||
* **Otherwise,** download and unzip it from: https://github.com/fleschutz/PowerShell/archive/master.zip
|
||||
</details>
|
||||
|
||||
<details><summary>How to execute PowerShell scripts in Windows?</summary>
|
||||
|
||||
1. In the Windows desktop: right-click the script and select: *Execute with PowerShell*
|
||||
2. In a command-line interface (CLI, e.g. *Windows Terminal*, either local or remote via SSH) by typing: `./<FILENAME_OF_SCRIPT>`.
|
||||
3. By connecting a context menu item with a script.
|
||||
4. By voice control, e.g. see repo [talk2windows](https://github.com/fleschutz/talk2windows) for more information.
|
||||
5. By using automation software, e.g. [Jenkins](https://www.jenkins.io).
|
||||
6. Automatically on login (see AutoStart folder)/logoff/daily/etc.
|
||||
</details>
|
||||
|
||||
<details><summary>How to execute PowerShell scripts in Windows context menus?</summary>
|
||||
|
||||
* to enable "right-click > New > Windows PowerShell Script" execute `Add_ps1_to_New_context_menu.reg` in subfolder [Data/](../Data)
|
||||
|
||||
* to disable this execute `Remove_ps1_from_New_context_menu.reg` in subfolder [Data/](../Data)
|
||||
</details>
|
||||
|
||||
|
||||
<details><summary>How to execute PowerShell scripts in Jenkins?</summary>
|
||||
|
||||
**Install the 'PowerShell plugin' in Jenkins, it allows to invoke PowerShell as build scripts. It uses PowerShell.exe on Windows and pwsh on Linux.**
|
||||
</details>
|
||||
|
||||
<details><summary>What about security?</summary>
|
||||
|
||||
* Execute scripts only that you trust (and/or where you have checked the code before)!
|
||||
* Prefer SSH Remoting instead of PowerShell Remoting
|
||||
* More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here: https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
|
||||
</details>
|
||||
|
||||
<details><summary>Why do some scripts show gibberish characters?</summary>
|
||||
|
||||
**Your current terminal application doesn't support Unicode characters used by those PowerShell scripts. Use a modern one such as *Windows Terminal*, please.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to configure PowerShell as my default shell on Linux?</summary>
|
||||
|
||||
**Make sure PowerShell is installed, then execute: `chsh -s /usr/bin/pwsh USERNAME`. In case you experience an "invalid shell" error, add "/usr/bin/pwsh" to /etc/shells.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to install a custom PowerShell profile?</summary>
|
||||
|
||||
**Execute: `./set-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking base profile, but can easily be changed to your needs.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to add the scripts to the search path?</summary>
|
||||
|
||||
Want to use the PowerShell scripts everywhere on the command-line? Then you need to add the Scripts/ subfolder to the search path:
|
||||
|
||||
* **On Linux using Bash:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/Scripts"
|
||||
* **On Windows:** open Settings > System > About > Advanced system settings > Environment Variables, edit the user's variable "Path", and add the full path to the Scripts/ directory.
|
||||
</details>
|
||||
|
||||
<details><summary>Which editor to use for PowerShell scripts?</summary>
|
||||
|
||||
* **Visual Studio Code** - it supports syntax highlighting, on-the-fly problem checking and an integrated PowerShell Console (available for free on Linux, Mac OS and Windows, now recommended by Microsoft).
|
||||
* **PowerShell ISE** (Integrated Scripting Environment) - the former official PowerShell development environment included with Microsoft Windows.
|
||||
* **PowerShell Studio** - a powerful PowerShell IDE with module, help, and user interface development tools, high DPI support and regular updates.
|
||||
* **PowerShell Plus** - an all in one IDE.
|
||||
* **Atom package** - an add-on with PowerShell language support for Atom.
|
||||
* **SublimeText package** - an add-on with PowerShell language support for Sublime Text.
|
||||
* or your **favorite text editor** as an alternative.
|
||||
</details>
|
||||
|
||||
<details><summary>How to write good PowerShell scripts?</summary>
|
||||
|
||||
**Good PowerShell scripts are both user-friendly and platform-independent. As a starting point I recommend the following:**
|
||||
|
||||
* As filename use the `<verb>-<object>.ps1` scheme. Approved verbs can be found here: [https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands](https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands)
|
||||
* Use `UTF-8 BOM` encoding to support Unicode characters in the script.
|
||||
* Add a comment-based help at the beginning with: `.SYNOPSIS`, `.DESCRIPTION`, `.PARAMETER`, `.EXAMPLE`, `.LINK`, and `.NOTES`.
|
||||
* Check the requirements for the script, e.g. `#Requires -RunAsAdministrator`, or `#Requires -Version 3`
|
||||
* Prefer command-line options, else ask the user for help
|
||||
* Recommended is `Set-StrictMode -Version Latest` to enable additional error checking.
|
||||
* For readibility use UpperCamelCase for variables and functions, lowerCamelCase for everything else.
|
||||
* Set *execute* file permissions for Linux: `chmod a+rx <filename>`
|
||||
* On success exit with error code 0 (`exit 0`), otherwise print the error with keyword "ERROR:" (to support log parsers) and exit the error code (mostly 1)
|
||||
</details>
|
||||
|
||||
<details><summary>Where's the Star History of this repo?</summary>
|
||||
|
||||
[](https://star-history.com/#fleschutz/PowerShell&Date)
|
||||
</details>
|
||||
|
||||
<details><summary>How to contribute or how to report a bug?</summary>
|
||||
|
||||
**If you find something bad (like a bug, error, or any issue), please report it here by opening an Issue. Or even better: Fork the repository, add or fix the script and submit a pull request, so others can participate too.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to donate to this project?</summary>
|
||||
|
||||
**Just follow this link: [https://www.paypal.com/paypalme/Fleschutz](https://www.paypal.com/paypalme/Fleschutz). Thank you very much!**
|
||||
</details>
|
||||
|
||||
<details><summary>What if my question is not answered here?</summary>
|
||||
|
||||
**Just send your question by e-mail to: markus.fleschutz [at] gmail.com**
|
||||
</details>
|
@ -1,112 +0,0 @@
|
||||
*add-firewall-rules.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [<CommonParameters>]
|
||||
|
||||
-PathToExecutables <String>
|
||||
Specifies the path to the executables
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Adds firewall rules for executables (needs admin rights)
|
||||
.DESCRIPTION
|
||||
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
||||
.PARAMETER PathToExecutables
|
||||
Specifies the path to the executables
|
||||
.EXAMPLE
|
||||
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
param([string]$PathToExecutables = "")
|
||||
|
||||
$command = '
|
||||
$output = ''Firewall rules for path '' + $args[0]
|
||||
write-output $output
|
||||
for($i = 1; $i -lt $args.count; $i++){
|
||||
$path = $args[0]
|
||||
$path += ''\''
|
||||
$path += $args[$i]
|
||||
|
||||
$null = $args[$i] -match ''[^\\]*\.exe$''
|
||||
$name = $matches[0]
|
||||
$output = ''Adding firewall rule for '' + $name
|
||||
write-output $output
|
||||
$null = New-NetFirewallRule -DisplayName $name -Direction Inbound -Program $path -Profile Domain, Private -Action Allow
|
||||
}
|
||||
write-host -foregroundColor green -noNewline ''Done - press any key to continue...'';
|
||||
[void]$Host.UI.RawUI.ReadKey(''NoEcho,IncludeKeyDown'');
|
||||
'
|
||||
|
||||
|
||||
try {
|
||||
if ($PathToExecutables -eq "" ) {
|
||||
$PathToExecutables = read-host "Enter path to executables"
|
||||
}
|
||||
|
||||
$PathToExecutables = Convert-Path -Path $PathToExecutables
|
||||
|
||||
$Apps = Get-ChildItem "$PathToExecutables\*.exe" -Name
|
||||
|
||||
if($Apps.count -eq 0){
|
||||
write-warning "No executables found. No Firewall rules have been created."
|
||||
Write-Host -NoNewhLine 'Press any key to continue...';
|
||||
[void]$Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
|
||||
exit 1
|
||||
}
|
||||
|
||||
$arg = "PathToExecutables $Apps"
|
||||
Start-Process powershell -Verb runAs -ArgumentList "-command & {$command} $arg"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 08/06/2023 21:36:04)*
|
@ -1,180 +0,0 @@
|
||||
*build-repo.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script builds a repository by supporting: cmake, configure, autogen, Imakefile, and Makefile.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./build-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
|
||||
-RepoDir <String>
|
||||
Specifies the path to the Git repository
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./build-repo.ps1 C:\MyRepo
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Builds a repository
|
||||
.DESCRIPTION
|
||||
This PowerShell script builds a repository by supporting: cmake, configure, autogen, Imakefile, and Makefile.
|
||||
.PARAMETER RepoDir
|
||||
Specifies the path to the Git repository
|
||||
.EXAMPLE
|
||||
PS> ./build-repo.ps1 C:\MyRepo
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$RepoDir = "$PWD")
|
||||
|
||||
function BuildInDir { param($Path)
|
||||
$DirName = (Get-Item "$Path").Name
|
||||
if (Test-Path "$Path/CMakeLists.txt" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using CMakeLists.txt into subfolder _My_Build ..."
|
||||
if (-not(Test-Path "$Path/_My_Build/" -pathType container)) {
|
||||
& mkdir "$Path/_My_Build/"
|
||||
}
|
||||
Set-Location "$Path/_My_Build/"
|
||||
|
||||
& cmake ..
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' has failed" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
& make test
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/configure" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using 'configure'..."
|
||||
Set-Location "$Path/"
|
||||
|
||||
& ./configure
|
||||
#if ($lastExitCode -ne "0") { throw "Script 'configure' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
& make test
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/autogen.sh" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using 'autogen.sh'..."
|
||||
Set-Location "$Path/"
|
||||
|
||||
& ./autogen.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'autogen.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/build.gradle" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using build.gradle..."
|
||||
Set-Location "$Path"
|
||||
|
||||
& gradle build
|
||||
if ($lastExitCode -ne "0") { throw "'gradle build' has failed" }
|
||||
|
||||
& gradle test
|
||||
if ($lastExitCode -ne "0") { throw "'gradle test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/Imakefile" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using Imakefile..."
|
||||
Set-Location "$RepoDir/"
|
||||
|
||||
& xmkmf
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'xmkmf' has failed" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/Makefile" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using Makefile..."
|
||||
Set-Location "$Path"
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/makefile" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using makefile..."
|
||||
Set-Location "$Path"
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/compile.sh" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using 'compile.sh'..."
|
||||
Set-Location "$Path/"
|
||||
|
||||
& ./compile.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'compile.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/attower/src/build/DevBuild/build.bat" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using build.bat ..."
|
||||
Set-Location "$Path/attower/src/build/DevBuild/"
|
||||
|
||||
& ./build.bat build-all-release
|
||||
if ($lastExitCode -ne "0") { throw "Script 'build.bat' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$Path/$DirName" -pathType container) {
|
||||
"⏳ No make rule found, trying subfolder 📂$($DirName)..."
|
||||
BuildInDir "$Path/$DirName"
|
||||
} else {
|
||||
Write-Warning "Sorry, no make rule applies to: 📂$DirName"
|
||||
exit 0 # success
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
||||
$RepoDirName = (Get-Item "$RepoDir").Name
|
||||
|
||||
$PreviousPath = Get-Location
|
||||
BuildInDir "$RepoDir"
|
||||
Set-Location "$PreviousPath"
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ built repo 📂$RepoDirName in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 08/06/2023 21:36:05)*
|
@ -1,27 +0,0 @@
|
||||
## check-dns-resolution.ps1 - Checks the DNS resolution with frequently used domain names
|
||||
|
||||
This script checks the DNS resolution with frequently used domain names.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-dns-resolution.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-dns-resolution
|
||||
✔️ 11.8 domains/sec (177 domains resolved in 15 sec)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-dns-resolution.ps1*
|
@ -1,72 +0,0 @@
|
||||
## The *check-dns-server.ps1* Script
|
||||
|
||||
check-dns-server.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks DNS server
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks the speed of public DNS server.
|
||||
.EXAMPLE
|
||||
PS> ./check-dns-server
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function CheckDNS { param($Name, $PriIPv4, $SecIPv4)
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
$null = (nslookup whitehouse.gov $PriIPv4)
|
||||
[int]$PriIPv4Elapsed = $StopWatch.Elapsed.TotalMilliseconds
|
||||
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
$null = (nslookup whitehouse.gov $SecIPv4)
|
||||
[int]$SecIPv4Elapsed = $StopWatch.Elapsed.TotalMilliseconds
|
||||
|
||||
" `"$Name`"; `"$PriIPv4`"; `"$PriIPv4Elapsed ms`"; `"$SecIPv4`"; `"$SecIPv4Elapsed ms`"; "
|
||||
}
|
||||
|
||||
try {
|
||||
"Checking speed of public DNS server..."
|
||||
" `"Company`"; `"IPv4 primary`"; `"Latency in ms`"; `"IPv4 secondary`"; `"Latency in ms`"; "
|
||||
CheckDNS "Cloudflare" 1.1.1.1 1.0.0.1
|
||||
CheckDNS "Cloudflare with malware blocklist" 1.1.1.2 1.0.0.2
|
||||
CheckDNS "Cloudflare with malware+adult blocklist" 1.1.1.3 1.0.0.3
|
||||
CheckDNS "DNS.Watch" 84.200.69.80 84.200.70.40
|
||||
CheckDNS "FreeDNS Vienna" 37.235.1.174 37.235.1.177
|
||||
CheckDNS "Google Public DNS" 8.8.8.8 8.8.4.4
|
||||
CheckDNS "Level3 one" 4.2.2.1 4.2.2.1
|
||||
CheckDNS "Level3 two" 4.2.2.2 4.2.2.2
|
||||
CheckDNS "Level3 three" 4.2.2.3 4.2.2.3
|
||||
CheckDNS "Level3 four" 4.2.2.4 4.2.2.4
|
||||
CheckDNS "Level3 five" 4.2.2.5 4.2.2.5
|
||||
CheckDNS "Level3 six" 4.2.2.6 4.2.2.6
|
||||
CheckDNS "OpenDNS Basic" 208.67.222.222 208.67.220.220
|
||||
CheckDNS "OpenDNS Family Shield" 208.67.222.123 208.67.220.123
|
||||
CheckDNS "OpenNIC" 94.247.43.254 94.247.43.254
|
||||
CheckDNS "Quad9 with malware blocklist, with DNSSEC" 9.9.9.9 9.9.9.9
|
||||
CheckDNS "Quad9, no malware blocklist, no DNSSEC" 9.9.9.10 9.9.9.10
|
||||
CheckDNS "Quad9, with malware blocklist, with DNSSEC, with EDNS" 9.9.9.11 9.9.9.11
|
||||
CheckDNS "Quad9, with malware blocklist, with DNSSEC, NXDOMAIN only" 9.9.9.12 9.9.9.12
|
||||
CheckDNS "Verisign Public DNS" 64.6.64.6 64.6.65.6
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-dns-server.ps1*
|
@ -1,111 +0,0 @@
|
||||
*check-drives.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks all drives for free space left.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-drives.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
|
||||
-MinLevel <Int32>
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value 10
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: with 250GB at 10%, 225GB free
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the drive space
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks all drives for free space left.
|
||||
.PARAMETER MinLevel
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: with 250GB at 10%, 225GB free
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([int]$MinLevel = 10) # 10 GB minimum
|
||||
|
||||
function Bytes2String { param([int64]$Bytes)
|
||||
if ($Bytes -lt 1000) { return "$Bytes bytes" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)KB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)MB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)GB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)TB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)PB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)EB" }
|
||||
}
|
||||
|
||||
try {
|
||||
Write-Progress "⏳ Querying drives..."
|
||||
$Drives = Get-PSDrive -PSProvider FileSystem
|
||||
Write-Progress -completed "."
|
||||
foreach($Drive in $Drives) {
|
||||
$Details = (Get-PSDrive $Drive.Name)
|
||||
if ($IsLinux) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
|
||||
[int64]$Free = $Details.Free
|
||||
[int64]$Used = $Details.Used
|
||||
[int64]$Total = ($Used + $Free)
|
||||
|
||||
if ($Total -eq 0) {
|
||||
Write-Host "✅ Drive $ID is empty"
|
||||
} elseif ($Free -eq 0) {
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is 100% full"
|
||||
} elseif ($Free -lt $MinLevel) {
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is nearly full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
[int]$Percent = ($Used * 100) / $Total
|
||||
if ($Percent -gt 90) {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) is $Percent% full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) at $Percent%, $(Bytes2String $Free) free"
|
||||
}
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 08/06/2023 21:36:05)*
|
@ -1,91 +0,0 @@
|
||||
*check-ping.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-ping.ps1 [[-hosts] <String>] [<CommonParameters>]
|
||||
|
||||
-hosts <String>
|
||||
Specifies the hosts to check, seperated by commata (default is: amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,github.com,google.com,live.com,twitter.com,youtube.com)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,github.com,google.com,live.com,twitter.com,youtube.com
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-ping.ps1
|
||||
✅ Ping latency is 29ms average (13ms...109ms, 0 loss)
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the ping latency
|
||||
.DESCRIPTION
|
||||
This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers.
|
||||
.PARAMETER hosts
|
||||
Specifies the hosts to check, seperated by commata (default is: amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,github.com,google.com,live.com,twitter.com,youtube.com)
|
||||
.EXAMPLE
|
||||
PS> ./check-ping.ps1
|
||||
✅ Ping latency is 29ms average (13ms...109ms, 0 loss)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$hosts = "amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,github.com,google.com,live.com,twitter.com,youtube.com")
|
||||
|
||||
try {
|
||||
Write-Host "✅ Ping latency is" -noNewline
|
||||
$hostsArray = $hosts.Split(",")
|
||||
$t = $hostsArray | foreach {
|
||||
(New-Object Net.NetworkInformation.Ping).SendPingAsync($_, 250)
|
||||
}
|
||||
[Threading.Tasks.Task]::WaitAll($t)
|
||||
[int]$min = 9999999
|
||||
[int]$max = [int]$avg = [int]$successCount = [int]$lossCount = 0
|
||||
foreach($ping in $t.Result) {
|
||||
if ($ping.Status -eq "Success") {
|
||||
[int]$latency = $ping.RoundtripTime
|
||||
if ($latency -lt $min) { $min = $Latency }
|
||||
if ($latency -gt $max) { $max = $Latency }
|
||||
$avg += $latency
|
||||
$successCount++
|
||||
} else {
|
||||
$lossCount++
|
||||
}
|
||||
}
|
||||
$avg /= $successCount
|
||||
Write-Host " $($avg)ms average ($($min)ms...$($max)ms, $lossCount loss)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ping.ps1 as of 08/06/2023 21:36:06)*
|
@ -1,85 +0,0 @@
|
||||
*check-uptime.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the computer's uptime and prints it.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-uptime.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-uptime.ps1
|
||||
✅ Up for 2 days, 20 hours, 10 minutes
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the uptime
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the computer's uptime and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-uptime.ps1
|
||||
✅ Up for 2 days, 20 hours, 10 minutes
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$Uptime = (Get-Uptime)
|
||||
} else {
|
||||
$BootTime = Get-WinEvent -ProviderName eventlog | Where-Object {$_.Id -eq 6005} | Select-Object TimeCreated -First 1
|
||||
$Uptime = New-TimeSpan -Start $BootTime.TimeCreated.Date -End (Get-Date)
|
||||
}
|
||||
$Reply = "✅ Up for "
|
||||
$Days = $Uptime.Days
|
||||
if ($Days -eq "1") {
|
||||
$Reply += "1 day, "
|
||||
} elseif ($Days -ne "0") {
|
||||
$Reply += "$Days days, "
|
||||
}
|
||||
|
||||
$Hours = $Uptime.Hours
|
||||
if ($Hours -eq "1") {
|
||||
$Reply += "1 hour, "
|
||||
} elseif ($Hours -ne "0") {
|
||||
$Reply += "$Hours hours, "
|
||||
}
|
||||
|
||||
$Minutes = $Uptime.Minutes
|
||||
if ($Minutes -eq "1") {
|
||||
$Reply += "1 minute"
|
||||
} else {
|
||||
$Reply += "$Minutes minutes"
|
||||
}
|
||||
Write-Host $Reply
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 08/06/2023 21:36:06)*
|
@ -1,109 +0,0 @@
|
||||
*copy-photos-sorted.ps1*
|
||||
================
|
||||
|
||||
copy-photos-sorted.ps1 [[-SourceDir] <string>] [[-TargetDir] <string>]
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Copy photos sorted by year and month
|
||||
.DESCRIPTION
|
||||
This PowerShell script copies image files from SourceDir to TargetDir sorted by year and month.
|
||||
.PARAMETER SourceDir
|
||||
Specifies the path to the source folder
|
||||
.PARAMTER TargetDir
|
||||
Specifies the path to the target folder
|
||||
.EXAMPLE
|
||||
PS> ./copy-photos-sorted.ps1 D:\iPhone\DCIM C:\MyPhotos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$SourceDir = "", [string]$TargetDir = "")
|
||||
|
||||
function CopyFile { param([string]$SourcePath, [string]$TargetDir, [int]$Date, [string]$Filename)
|
||||
[int]$Year = $Date / 10000
|
||||
[int]$Month = ($Date / 100) % 100
|
||||
$MonthDir = switch($Month) {
|
||||
1 {"01 JAN"}
|
||||
2 {"02 FEB"}
|
||||
3 {"03 MAR"}
|
||||
4 {"04 APR"}
|
||||
5 {"05 MAY"}
|
||||
6 {"06 JUN"}
|
||||
7 {"07 JUL"}
|
||||
8 {"08 AUG"}
|
||||
9 {"09 SEP"}
|
||||
10 {"10 OCT"}
|
||||
11 {"11 NOV"}
|
||||
12 {"12 DEC"}
|
||||
}
|
||||
$TargetPath = "$TargetDir/$Year/$MonthDir/$Filename"
|
||||
if (Test-Path "$TargetPath" -pathType leaf) {
|
||||
Write-Host "⏳ Skipping existing $Year/$MonthDir/$Filename..."
|
||||
} else {
|
||||
Write-Host "⏳ Copying $Filename to $Year/$MonthDir..."
|
||||
New-Item -path "$TargetDir" -name "$Year" -itemType "directory" -force | out-null
|
||||
New-Item -path "$TargetDir/$Year" -name "$MonthDir" -itemType "directory" -force | out-null
|
||||
Copy-Item "$SourcePath" "$TargetPath" -force
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
if ($SourceDir -eq "") { $SourceDir = Read-Host "Enter file path to source directory" }
|
||||
if ($TargetDir -eq "") { $TargetDir = Read-Host "Enter file path to target directory" }
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
Write-Host "⏳ Checking source directory 📂$($SourceDir)..."
|
||||
if (-not(Test-Path "$SourceDir" -pathType container)) { throw "Can't access source directory: $SourceDir" }
|
||||
$Files = (Get-ChildItem "$SourceDir\*.jpg" -attributes !Directory)
|
||||
|
||||
Write-Host "⏳ Checking target directory 📂$($TargetDir)..."
|
||||
if (-not(Test-Path "$TargetDir" -pathType container)) { throw "Can't access target directory: $TargetDir" }
|
||||
|
||||
foreach($File in $Files) {
|
||||
$Filename = (Get-Item "$File").Name
|
||||
if ("$Filename" -like "IMG_*_*.jpg") {
|
||||
$Array = $Filename.split("_")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "IMG-*-*.jpg") {
|
||||
$Array = $Filename.split("-")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "PANO_*_*.jpg") {
|
||||
$Array = $Filename.split("_")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "PANO-*-*.jpg") {
|
||||
$Array = $Filename.split("-")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "SAVE_*_*.jpg") {
|
||||
$Array = $Filename.split("_")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} else {
|
||||
Write-Host "⏳ Skipping $Filename with unknown filename format..."
|
||||
}
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ copied $($Files.Count) photos from 📂$SourceDir to 📂$TargetDir in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1 as of 08/06/2023 21:36:07)*
|
@ -1,88 +0,0 @@
|
||||
*count-lines-of-code.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script counts the number of code lines in a folder (including subfolders).
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./count-lines-of-code.ps1 [[-Folder] <String>] [<CommonParameters>]
|
||||
|
||||
-Folder <String>
|
||||
Specifies the path to the folder
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./count-lines-of-code.ps1 .
|
||||
⏳ Counting lines at 📂C:\PowerShell\Scripts ...
|
||||
✔️ 📂Scripts contains 15287 lines of code in 485 files (took 1 sec)
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Counts lines of code
|
||||
.DESCRIPTION
|
||||
This PowerShell script counts the number of code lines in a folder (including subfolders).
|
||||
.PARAMETER Folder
|
||||
Specifies the path to the folder
|
||||
.EXAMPLE
|
||||
PS> ./count-lines-of-code.ps1 .
|
||||
⏳ Counting lines at 📂C:\PowerShell\Scripts ...
|
||||
✔️ 📂Scripts contains 15287 lines of code in 485 files (took 1 sec)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$Folder = "")
|
||||
|
||||
try {
|
||||
if ($Folder -eq "" ) { $Folder = read-host "Enter the path to the folder" }
|
||||
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
$Folder = Resolve-Path "$Folder"
|
||||
"⏳ Counting lines at 📂$Folder ..."
|
||||
|
||||
[int]$Files = [int]$CodeLines = 0
|
||||
Get-ChildItem -Path $Folder -Include *.c,*.h,*.cpp,*.hpp,*.java,*.ps1 -Recurse | ForEach-Object {
|
||||
$FileStats = Get-Content $_.FullName | Measure-Object -line
|
||||
$CodeLines += $FileStats.Lines
|
||||
$Files++
|
||||
}
|
||||
|
||||
$FolderName = (Get-Item "$Folder").Name
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ 📂$FolderName contains $CodeLines lines of code in $Files files (took $Elapsed sec)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of count-lines-of-code.ps1 as of 08/06/2023 21:36:07)*
|
@ -1,89 +0,0 @@
|
||||
*introduce-powershell.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script introduces PowerShell to new users.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./introduce-powershell.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./introduce-powershell.ps1
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Introduces PowerShell to new users
|
||||
.DESCRIPTION
|
||||
This PowerShell script introduces PowerShell to new users.
|
||||
.EXAMPLE
|
||||
PS> ./introduce-powershell.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
Clear-Host
|
||||
""
|
||||
& "$PSScriptRoot/write-animated.ps1" "Welcome to"
|
||||
""
|
||||
& "$PSScriptRoot/write-big.ps1" " POWERSHELL"
|
||||
""
|
||||
& "$PSScriptRoot/write-animated.ps1" "May the force be with you!"
|
||||
""
|
||||
""
|
||||
""
|
||||
$Version = $PSVersionTable.PSVersion
|
||||
$Edition = $PSVersionTable.PSEdition
|
||||
$NumModules = (Get-Module).Count
|
||||
$NumAliases = (Get-Alias).Count
|
||||
$Details = "PowerShell $Version ($Edition edition) with $NumModules modules and $NumAliases aliases"
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "This is $Details" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Want to learn PowerShell? See the tutorials at: https://www.guru99.com/powershell-tutorial.html" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Need docs? See the official documentation at: https://docs.microsoft.com/en-us/powershell" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Take a look under the hood and visit the PowerShell Github repository at: https://github.com/PowerShell/PowerShell" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Want examples? See the mega collection of PowerShell scripts at: https://github.com/fleschutz/PowerShell" 25
|
||||
""
|
||||
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "NOTE: use <Ctrl> + <Click> to follow the links above and HAVE FUN!" 20
|
||||
""
|
||||
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1 as of 08/06/2023 21:36:12)*
|
@ -1,66 +0,0 @@
|
||||
*list-city-weather.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script lists the current weather of cities world-wide (west to east).
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./list-city-weather.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./list-city-weather.ps1
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists current weather of cities world-wide
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists the current weather of cities world-wide (west to east).
|
||||
.EXAMPLE
|
||||
PS> ./list-city-weather.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
$Cities="Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney"
|
||||
|
||||
function ListCityWeather {
|
||||
foreach($City in $Cities) {
|
||||
$Conditions = (Invoke-WebRequest http://wttr.in/${City}?format="%c +%t`t+%p`t+%h`t+%P +%w" -UserAgent "curl" -useBasicParsing).Content
|
||||
$Sun = (Invoke-WebRequest http://wttr.in/${City}?format="+%S →+%s" -UserAgent "curl" -useBasicParsing).Content
|
||||
New-Object PSObject -Property @{ City="$City"; Conditions="$Conditions"; Sun="$Sun" }
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
ListCityWeather | Format-Table -property City,Conditions,Sun
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1 as of 08/06/2023 21:36:12)*
|
@ -1,108 +0,0 @@
|
||||
*list-dir-tree.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script lists all files and folders in a directory tree.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./list-dir-tree.ps1 [[-DirTree] <String>] [<CommonParameters>]
|
||||
|
||||
-DirTree <String>
|
||||
Specifies the path to the directory tree
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./list-dir-tree.ps1 C:\
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists a directory tree
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists all files and folders in a directory tree.
|
||||
.PARAMETER DirTree
|
||||
Specifies the path to the directory tree
|
||||
.EXAMPLE
|
||||
PS> ./list-dir-tree.ps1 C:\
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$DirTree = "$PWD")
|
||||
|
||||
function GetFileIcon { param([string]$Suffix)
|
||||
switch ($Suffix) {
|
||||
".csv" {return "📊"}
|
||||
".epub" {return "📓"}
|
||||
".exe" {return "⚙️"}
|
||||
".gif" {return "📸"}
|
||||
".iso" {return "📀"}
|
||||
".jpg" {return "📸"}
|
||||
".mp3" {return "🎵"}
|
||||
".mkv" {return "🎬"}
|
||||
".zip" {return "🎁"}
|
||||
default {return "📄"}
|
||||
}
|
||||
}
|
||||
|
||||
function ListDir { param([string]$Directory, [int]$Depth)
|
||||
$Depth++
|
||||
$Items = Get-ChildItem -path $Directory
|
||||
foreach($Item in $Items) {
|
||||
$Filename = $Item.Name
|
||||
for ($i = 1; $i -lt $Depth; $i++) { Write-Host "│ " -noNewline }
|
||||
if ($Item.Mode -like "d*") {
|
||||
Write-Host "├" -noNewline
|
||||
Write-Host -foregroundColor green "📂$Filename"
|
||||
ListDir "$Directory\$Filename" $Depth
|
||||
$global:Dirs++
|
||||
} else {
|
||||
$Icon = GetFileIcon $Item.Extension
|
||||
Write-Host "├$($Icon)$Filename ($($Item.Length) bytes)"
|
||||
$global:Files++
|
||||
$global:Bytes += $Item.Length
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
[int]$global:Dirs = 1
|
||||
[int]$global:Files = 0
|
||||
[int]$global:Bytes = 0
|
||||
ListDir $DirTree 0
|
||||
" ($($global:Dirs) folders, $($global:Files) files, $($global:Bytes) bytes in total)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of list-dir-tree.ps1 as of 08/06/2023 21:36:13)*
|
@ -1,57 +0,0 @@
|
||||
*list-scripts.ps1*
|
||||
================
|
||||
|
||||
list-scripts.ps1
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists all PowerShell scripts
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists all PowerShell scripts in the repository (sorted alphabetically).
|
||||
.EXAMPLE
|
||||
PS> ./list-scripts.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function ListScripts { param([string]$FilePath)
|
||||
Write-Progress "Reading $FilePath..."
|
||||
$table = Import-CSV "$FilePath"
|
||||
[int]$No = 1
|
||||
foreach($row in $table) {
|
||||
New-Object PSObject -Property @{
|
||||
'No' = $No++
|
||||
'Script' = $row.SCRIPT
|
||||
'Description' = $row.DESCRIPTION
|
||||
}
|
||||
}
|
||||
$global:NumScripts = $Table.Count
|
||||
Write-Progress -completed "."
|
||||
}
|
||||
|
||||
try {
|
||||
ListScripts "$PSScriptRoot/../Data/scripts.csv" | Format-Table -property No,Script,Description
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of list-scripts.ps1 as of 08/06/2023 21:36:13)*
|
@ -1,95 +0,0 @@
|
||||
*list-special-folders.ps1*
|
||||
================
|
||||
|
||||
list-special-folders.ps1
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists special folders
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists all special folders (sorted alphabetically).
|
||||
.EXAMPLE
|
||||
PS> ./list-special-folders.ps1
|
||||
|
||||
Folder Name Folder Path
|
||||
----------- -----------
|
||||
AdminTools 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function GetTempDir {
|
||||
if ("$env:TEMP" -ne "") { return "$env:TEMP" }
|
||||
if ("$env:TMP" -ne "") { return "$env:TMP" }
|
||||
if ($IsLinux) { return "/tmp/" }
|
||||
return "C:\Temp"
|
||||
}
|
||||
|
||||
function AddLine { param([string]$FolderName, [string]$FolderPath)
|
||||
if (Test-Path "$FolderPath" -pathType container) {
|
||||
New-Object PSObject -property @{ 'Folder Name' = "$FolderName"; 'Folder Path' = "📂$FolderPath" }
|
||||
}
|
||||
}
|
||||
|
||||
function ListSpecialFolders {
|
||||
if ($IsLinux) {
|
||||
AddLine "Desktop" "$HOME/Desktop/"
|
||||
AddLine "Documents" "$HOME/Documents/"
|
||||
AddLine "Downloads" "$HOME/Downloads/"
|
||||
AddLine "Dropbox" "$HOME/Dropbox/"
|
||||
AddLine "Home" "$HOME/"
|
||||
AddLine "Music" "$HOME/Music/"
|
||||
AddLine "Pictures" "$HOME/Pictures/"
|
||||
AddLine "Repositories" "$HOME/Repos/"
|
||||
AddLine "Repositories" "$HOME/Repositories/"
|
||||
AddLine "Screenshots" "$HOME/Pictures/Screenshots/"
|
||||
AddLine "Snap" "$HOME/snap/"
|
||||
AddLine "SSH" "$HOME/.ssh/"
|
||||
AddLine "Trash" "$HOME/.local/share/Trash/"
|
||||
AddLine "Templates" "$Home/Templates/"
|
||||
AddLine "Temporary" "$(GetTempDir)"
|
||||
$Path = Resolve-Path "$HOME/.."
|
||||
AddLine "Users" "$Path/"
|
||||
AddLine "Videos" "$HOME/Videos/"
|
||||
} else {
|
||||
$FolderNames = [System.Enum]::GetNames('System.Environment+SpecialFolder')
|
||||
$FolderNames | Sort-Object | ForEach-Object {
|
||||
if ($Path = [System.Environment]::GetFolderPath($_)) {
|
||||
AddLine "$_" "$Path"
|
||||
}
|
||||
}
|
||||
AddLine "Repositories" "$HOME\source\repos"
|
||||
AddLine "SSH" "$HOME\.ssh"
|
||||
AddLine "Temporary" "$(GetTempDir)"
|
||||
$Path = Resolve-Path "$HOME/.."
|
||||
AddLine "Users" "$Path"
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
ListSpecialFolders | Format-Table -property @{e='Folder Name';width=18},'Folder Path'
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of list-special-folders.ps1 as of 08/06/2023 21:36:13)*
|
@ -1,74 +0,0 @@
|
||||
*open-dashboards.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script launches the web browser with tabs of 18 dashboard websites.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./open-dashboards.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./open-dashboards.ps1
|
||||
⏳ (1/2) Loading Data/web-dashboards.csv...
|
||||
⏳ (2/2) Launching web browser with tabs of Toggl Track · Google Calendar · CNN News...
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Open web dashboards
|
||||
.DESCRIPTION
|
||||
This PowerShell script launches the web browser with tabs of 18 dashboard websites.
|
||||
.EXAMPLE
|
||||
PS> ./open-dashboards.ps1
|
||||
⏳ (1/2) Loading Data/web-dashboards.csv...
|
||||
⏳ (2/2) Launching web browser with tabs of Toggl Track · Google Calendar · CNN News...
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
Write-Host "⏳ (1/2) Loading Data/web-dashboards.csv..."
|
||||
$table = Import-CSV "$PSScriptRoot/../Data/web-dashboards.csv"
|
||||
$numRows = $table.Length
|
||||
Write-Host "⏳ (2/2) Launching web browser with tabs of " -noNewline
|
||||
foreach($row in $table) {
|
||||
Write-Host "$($row.NAME) · " -noNewline
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)"
|
||||
Start-Sleep -milliseconds 100
|
||||
}
|
||||
Write-Host ""
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✅ Opened $NumRows web dashboards in $elapsed sec (Hint: use 'switch-tabs.ps1' to switch between the tabs automatically)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 08/06/2023 21:36:14)*
|
@ -1,67 +0,0 @@
|
||||
*write-quote.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script writes a random quote to the console.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./write-quote.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./write-quote
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Writes a quote to the console
|
||||
.DESCRIPTION
|
||||
This PowerShell script writes a random quote to the console.
|
||||
.EXAMPLE
|
||||
PS> ./write-quote
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$Table = Import-CSV "$PSScriptRoot/../Data/quotes.csv"
|
||||
|
||||
$Generator = New-Object System.Random
|
||||
$Index = [int]$Generator.next(0, $Table.Count - 1)
|
||||
$Quote = $Table[$Index].QUOTE
|
||||
$Author = $Table[$Index].AUTHOR
|
||||
|
||||
Write-Output ""
|
||||
Write-Host '“'"$Quote"'„'
|
||||
$Spaces = " "
|
||||
$Spaces = $Spaces.Substring(0, $Quote.Length - $Author.Length)
|
||||
Write-Output "$Spaces- $($Author.toUpper())"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of write-quote.ps1 as of 08/06/2023 21:36:19)*
|
609
README.md
609
README.md
@ -1,44 +1,44 @@
|
||||
Mega Collection of PowerShell Scripts
|
||||
=====================================
|
||||
|
||||
**It includes 500+ useful cross-platform PowerShell scripts located in the [📂Scripts](Scripts/) subfolder - for the command-line interface (CLI), for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell.**
|
||||
**It includes 500+ useful cross-platform PowerShell scripts located in the 📂[scripts](scripts/) subfolder - for command-line use, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell.**
|
||||
|
||||
**[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](Docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*)
|
||||
**[Download](https://github.com/fleschutz/PowerShell/releases) | [Table of Scripts](https://github.com/fleschutz/PowerShell/blob/master/data/scripts.csv) | [FAQ](docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*)
|
||||
|
||||
🔊 Scripts for Audio & Voice
|
||||
-----------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
||||
| [list-voices.ps1](Scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more...](Docs/list-voices.md) |
|
||||
| [play-beep-sound.ps1](Scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more...](Docs/play-beep-sound.md) |
|
||||
| [play-files.ps1](Scripts/play-files.ps1) | Plays the given audio files. [Read more...](Docs/play-files.md) |
|
||||
| [play-happy-birthday.ps1](Scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more...](Docs/play-happy-birthday.md) |
|
||||
| [play-imperial-march.ps1](Scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more...](Docs/play-imperial-march.md) |
|
||||
| [play-jingle-bells.ps1](Scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more...](Docs/play-jingle-bells.md) |
|
||||
| [play-mission-impossible.ps1](Scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more...](Docs/play-mission-impossible.md)|
|
||||
| [play-m3u.ps1](Scripts/play-m3u.ps1) | Plays the given playlist (M3U file format). [Read more...](Docs/play-m3u.md) |
|
||||
| [play-mp3.ps1](Scripts/play-mp3.ps1) | Plays the given sound file (MP3 file format). [Read more...](Docs/play-mp3.md) |
|
||||
| [play-super-mario.ps1](Scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more...](Docs/play-super-mario.md) |
|
||||
| [play-tetris-melody.ps1](Scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more...](Docs/play-tetris-melody.md) |
|
||||
| [speak-checklist.ps1](Scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more...](Docs/speak-checklist.md) |
|
||||
| [speak-countdown.ps1](Scripts/speak-countdown.ps1) | Starts a countdown by text-to-speech. [Read more...](Docs/speak-countdown.md) |
|
||||
| [speak-english.ps1](Scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more...](Docs/speak-english.md) |
|
||||
| [speak-epub.ps1](Scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more...](Docs/speak-epub.md) |
|
||||
| [speak-file.ps1](Scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more...](Docs/speak-file.md) |
|
||||
| [speak-french.ps1](Scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more...](Docs/speak-french.md) |
|
||||
| [speak-german.ps1](Scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more...](Docs/speak-german.md) |
|
||||
| [speak-italian.ps1](Scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more...](Docs/speak-italian.md) |
|
||||
| [speak-spanish.ps1](Scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more...](Docs/speak-spanish.md) |
|
||||
| [speak-test.ps1](Scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more...](Docs/speak-test.md) |
|
||||
| [speak-text.ps1](Scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more...](Docs/speak-text.md) |
|
||||
| [tell-joke.ps1](Scripts/tell-joke.ps1) | Tells a joke by text-to-speech. [Read more...](Docs/tell-joke.md) |
|
||||
| [tell-quote.ps1](Scripts/tell-quote.ps1) | Tells a quote by text-to-speech. [Read more...](Docs/tell-quote.md) |
|
||||
| [turn-volume-down.ps1](Scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more...](Docs/turn-volume-down.md) |
|
||||
| [turn-volume-fully-up.ps1](Scripts/turn-volume-fully-up.ps1) | Turns the audio volume fully up. [Read more...](Docs/turn-volume-fully-up.md) |
|
||||
| [turn-volume-off.ps1](Scripts/turn-volume-off.ps1) | Turns audio off. [Read more...](Docs/turn-volume-off-audio.md) |
|
||||
| [turn-volume-on.ps1](Scripts/turn-volume-on.ps1) | Turns audio on. [Read more...](Docs/turn-volume-on.md) |
|
||||
| [turn-volume-up.ps1](Scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more...](Docs/turn-volume-up.md) |
|
||||
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more...](docs/list-voices.md) |
|
||||
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more...](docs/play-beep-sound.md) |
|
||||
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more...](docs/play-files.md) |
|
||||
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more...](docs/play-happy-birthday.md) |
|
||||
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more...](docs/play-imperial-march.md) |
|
||||
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more...](docs/play-jingle-bells.md) |
|
||||
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more...](docs/play-mission-impossible.md)|
|
||||
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given playlist (M3U file format). [Read more...](docs/play-m3u.md) |
|
||||
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given sound file (MP3 file format). [Read more...](docs/play-mp3.md) |
|
||||
| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more...](docs/play-super-mario.md) |
|
||||
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more...](docs/play-tetris-melody.md) |
|
||||
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more...](docs/speak-checklist.md) |
|
||||
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Starts a countdown by text-to-speech. [Read more...](docs/speak-countdown.md) |
|
||||
| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more...](docs/speak-english.md) |
|
||||
| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more...](docs/speak-epub.md) |
|
||||
| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more...](docs/speak-file.md) |
|
||||
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more...](docs/speak-french.md) |
|
||||
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more...](docs/speak-german.md) |
|
||||
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more...](docs/speak-italian.md) |
|
||||
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more...](docs/speak-spanish.md) |
|
||||
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more...](docs/speak-test.md) |
|
||||
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more...](docs/speak-text.md) |
|
||||
| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [Read more...](docs/tell-joke.md) |
|
||||
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more...](docs/tell-quote.md) |
|
||||
| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more...](docs/turn-volume-down.md) |
|
||||
| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio volume fully up. [Read more...](docs/turn-volume-fully-up.md) |
|
||||
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more...](docs/turn-volume-off-audio.md) |
|
||||
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more...](docs/turn-volume-on.md) |
|
||||
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more...](docs/turn-volume-up.md) |
|
||||
|
||||
|
||||
⚙️ Scripts to Manage Computers
|
||||
@ -46,186 +46,191 @@ Mega Collection of PowerShell Scripts
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||
| [add-firewall-rules.ps1](Scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more...](Docs/add-firewall-rules.md) |
|
||||
| [check-cpu.ps1](Scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more...](Docs/check-cpu.md) |
|
||||
| [check-dns.ps1](Scripts/check-dns.ps1) | Checks the DNS resolution. [Read more...](Docs/check-dns.md) |
|
||||
| [check-drive-space.ps1](Scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more...](Docs/check-drive-space.md) |
|
||||
| [check-file-system.ps1](Scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more...](Docs/check-file-system.md)|
|
||||
| [check-health.ps1](Scripts/check-health.ps1) | Checks the system health. [Read more...](Docs/check-health.md) |
|
||||
| [check-ping.ps1](Scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more...](Docs/check-ping.md) |
|
||||
| [check-swap-space.ps1](Scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more...](Docs/check-swap-space.md) |
|
||||
| [check-windows-system-files.ps1](Scripts/check-windows-system-files.ps1) | Checks the validity of the Windows system files (needs admin rights). [Read more...](Docs/check-windows-system-files.md) |
|
||||
| [enable-crash-dumps.ps1](Scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more...](Docs/enable-crash-dumps.md) |
|
||||
| [hibernate.ps1](Scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more...](Docs/hibernate.md) |
|
||||
| [install-github-cli.ps1](Scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more...](Docs/install-github-cli.md) |
|
||||
| [install-chrome-browser.ps1](Scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more...](Docs/install-chrome-browser.md) |
|
||||
| [install-knot-resolver.ps1](Scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [Read more...](Docs/install-knot-resolver.md)|
|
||||
| [install-ssh-client.ps1](Scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more...](Docs/install-ssh-client.md) |
|
||||
| [install-ssh-server.ps1](Scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more...](Docs/install-ssh-server.md) |
|
||||
| [install-signal-cli.ps1](Scripts/install-signal-cli.ps1) | Installs signal-cli from github.com/AsamK/signal-cli. [Read more...](Docs/install-signal-cli.md)|
|
||||
| [install-updates.ps1](Scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more...](Docs/install-updates.md) |
|
||||
| [install-wsl.ps1](Scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more...](Docs/install-wsl.md)|
|
||||
| [list-apps.ps1](Scripts/list-apps.ps1) | Lists the installed applications. [Read more...](Docs/list-installed-apps.md) |
|
||||
| [list-cli-tools.ps1](Scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [Read more...](Docs/list-cli-tools.md) |
|
||||
| [list-dns-servers.ps1](Scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more...](Docs/list-dns-servers.md) |
|
||||
| [list-drives.ps1](Scripts/list-drives.ps1) | Lists all drives. [Read more...](Docs/list-drives.md) |
|
||||
| [list-network-shares.ps1](Scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [Read more...](Docs/list-network-shares.md) |
|
||||
| [list-installed-software.ps1](Scripts/list-installed-software.ps1) | Lists the installed software. [Read more...](Docs/list-installed-software.md) |
|
||||
| [list-printers.ps1](Scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more...](Docs/list-printers.md) |
|
||||
| [list-print-jobs.ps1](Scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more...](Docs/list-print-jobs.md) |
|
||||
| [list-processes.ps1](Scripts/list-processes.ps1) | Lists the local computer processes. [Read more...](Docs/list-processes.md) |
|
||||
| [list-services.ps1](Scripts/list-services.ps1) | Lists the services on the local computer. [Read more...](Docs/list-services.md) |
|
||||
| [list-system-info.ps1](Scripts/list-system-info.ps1) | Lists system information on the local computer. [Read more...](Docs/list-system-info.md) |
|
||||
| [list-tasks.ps1](Scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more...](Docs/list-tasks.md) |
|
||||
| [list-timezone.ps1](Scripts/list-timezone.ps1) | Lists the current time zone details. [Read more...](Docs/list-timezone.md) |
|
||||
| [list-timezones.ps1](Scripts/list-timezones.ps1) | Lists all time zones available. [Read more...](Docs/list-timezones.md) |
|
||||
| [list-user-groups.ps1](Scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more...](Docs/list-user-groups.md) |
|
||||
| [poweroff.ps1](Scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more...](Docs/poweroff.md) |
|
||||
| [query-smart-data.ps1](Scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [Read more...](Docs/query-smart-data.md) |
|
||||
| [reboot.ps1](Scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more...](Docs/reboot.md) |
|
||||
| [remove-print-jobs.ps1](Scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more...](Docs/remove-print-jobs.md) |
|
||||
| [restart-network-adapters.ps1](Scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more...](Docs/restart-network-adapters.md)|
|
||||
| [upgrade-ubuntu.ps1](Scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more...](Docs/upgrade-ubuntu.md) |
|
||||
| [wake-up.ps1](Scripts/wake-up.ps1) | Wakes up a computer using Wake-on-LAN. [Read more...](Docs/wakeup.md) |
|
||||
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more...](docs/add-firewall-rules.md) |
|
||||
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more...](docs/check-cpu.md) |
|
||||
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more...](docs/check-dns.md) |
|
||||
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more...](docs/check-drive-space.md) |
|
||||
| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more...](docs/check-file-system.md)|
|
||||
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more...](docs/check-health.md) |
|
||||
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more...](docs/check-ping.md) |
|
||||
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more...](docs/check-swap-space.md) |
|
||||
| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [Read more...](docs/check-windows-system-files.md) |
|
||||
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more...](docs/enable-crash-dumps.md) |
|
||||
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more...](docs/hibernate.md) |
|
||||
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more...](docs/install-github-cli.md) |
|
||||
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) |
|
||||
| [firefox-installer.ps1](scripts/firefox-installer.ps1) | Installs the firefox browser. [Read more...](docs/install-firefox-browser.md) |
|
||||
| [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [Read more...](docs/install-knot-resolver.md)|
|
||||
| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more...](docs/install-ssh-client.md) |
|
||||
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more...](docs/install-ssh-server.md) |
|
||||
| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [Read more...](docs/install-signal-cli.md)|
|
||||
| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more...](docs/install-updates.md) |
|
||||
| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more...](docs/install-wsl.md)|
|
||||
| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [Read more...](docs/list-installed-apps.md) |
|
||||
| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [Read more...](docs/list-cli-tools.md) |
|
||||
| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more...](docs/list-dns-servers.md) |
|
||||
| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [Read more...](docs/list-drives.md) |
|
||||
| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [Read more...](docs/list-network-shares.md) |
|
||||
| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [Read more...](docs/list-installed-software.md) |
|
||||
| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more...](docs/list-printers.md) |
|
||||
| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more...](docs/list-print-jobs.md) |
|
||||
| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [Read more...](docs/list-processes.md) |
|
||||
| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [Read more...](docs/list-services.md) |
|
||||
| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [Read more...](docs/list-system-info.md) |
|
||||
| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more...](docs/list-tasks.md) |
|
||||
| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [Read more...](docs/list-timezone.md) |
|
||||
| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [Read more...](docs/list-timezones.md) |
|
||||
| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more...](docs/list-user-groups.md) |
|
||||
| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more...](docs/poweroff.md) |
|
||||
| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [Read more...](docs/query-smart-data.md) |
|
||||
| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more...](docs/reboot.md) |
|
||||
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more...](docs/remove-print-jobs.md) |
|
||||
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more...](docs/restart-network-adapters.md)|
|
||||
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more...](docs/upgrade-ubuntu.md) |
|
||||
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a computer using Wake-on-LAN. [Read more...](docs/wakeup.md) |
|
||||
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more...](docs/windefender.md) |
|
||||
|
||||
|
||||
💻 Scripts for the Desktop
|
||||
---------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||
| [close-calculator.ps1](Scripts/close-calculator.ps1) | Closes the calculator application. [Read more...](Docs/close-calculator.md) |
|
||||
| [close-cortana.ps1](Scripts/close-cortana.ps1) | Closes Cortana. [Read more...](Docs/close-cortana.md) |
|
||||
| [close-chrome.ps1](Scripts/close-chrome.ps1) | Closes the Chrome browser. [Read more...](Docs/close-chrome.md) |
|
||||
| [close-program.ps1](Scripts/close-program.ps1) | Closes the given program gracefully. [Read more...](Docs/close-program.md) |
|
||||
| [close-edge.ps1](Scripts/close-edge.ps1) | Closes the Edge browser. [Read more...](Docs/close-edge.md) |
|
||||
| [close-file-explorer.ps1](Scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [Read more...](Docs/close-file-explorer.md) |
|
||||
| [close-firefox.ps1](Scripts/close-firefox.ps1) | Closes the Firefox browser. [Read more...](Docs/close-edge.md) |
|
||||
| [close-microsoft-store.ps1](Scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [Read more...](Docs/close-microsoft-store.md) |
|
||||
| [close-netflix.ps1](Scripts/close-netflix.ps1) | Closes the Netflix app. [Read more...](Docs/close-netflix.md) |
|
||||
| [close-onedrive.ps1](Scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [Read more...](Docs/close-onedrive.md) |
|
||||
| [close-serenade.ps1](Scripts/close-serenade.ps1) | Closes the Serenade application. [Read more...](Docs/close-serenade.md) |
|
||||
| [close-snipping-tool.ps1](Scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [Read more...](Docs/close-snipping-tool.md) |
|
||||
| [close-spotify.ps1](Scripts/close-spotify.ps1) | Closes Spotify. [Read more...](Docs/close-spotify.md) |
|
||||
| [close-system-settings.ps1](Scripts/close-system-settings.ps1) | Closes the System Settings window. [Read more...](Docs/close-system-settings.md) |
|
||||
| [close-task-manager.ps1](Scripts/close-task-manager.ps1) | Closes the Task Manager. [Read more...](Docs/close-task-manager.md) |
|
||||
| [close-thunderbird.ps1](Scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [Read more...](Docs/close-thunderbird.md) |
|
||||
| [close-vlc.ps1](Scripts/close-vlc.ps1) | Closes the VLC media player application. [Read more...](Docs/close-vlc.md) |
|
||||
| [close-windows-terminal.ps1](Scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [Read more...](Docs/close-windows-terminal.md) |
|
||||
| [enable-god-mode.ps1](Scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [Read more...](Docs/enable-god-mode.md) |
|
||||
| [list-clipboard.ps1](Scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](Docs/list-clipboard.md) |
|
||||
| [new-email.ps1](Scripts/new-email.ps1) | Starts the default email client to write a new email. [Read more...](Docs/new-email.md) |
|
||||
| [open-amazon-website.ps1](Scripts/open-amazon-website.ps1)| Opens Amazon's website. [Read more...](Docs/open-amazon-website.md) |
|
||||
| [open-default-browser.ps1](Scripts/open-default-browser.ps1)| Launches the default Web browser. [Read more...](Docs/open-default-browser.md) |
|
||||
| [open-calculator.ps1](Scripts/open-calculator.ps1) | Starts the calculator program. [Read more...](Docs/open-calculator.md) |
|
||||
| [open-c-drive.ps1](Scripts/open-c-drive.ps1) | Opens the C: drive folder. [Read more...](Docs/open-c-drive.md) |
|
||||
| [open-downloads-folders.ps1](Scripts/open-downloads-folder.ps1) | Opens the user's downloads folder. [Read more...](Docs/open-downloads-folder.md) |
|
||||
| [open-dropbox-folder.ps1](Scripts/open-dropbox-folder.ps1) | Opens the user's Dropbox folder. [Read more...](Docs/open-dropbox-folder.md) |
|
||||
| [open-edge.ps1](Scripts/open-edge.ps1) | Launches the Edge browser. [Read more...](Docs/open-edge.md) |
|
||||
| [open-email-client.ps1](Scripts/open-browser.ps1) | Starts the default email client. [Read more...](Docs/open-email-client.md) |
|
||||
| [open-facebook-website.ps1](Scripts/open-facebook-website.ps1)| Opens Facebook's website. [Read more...](Docs/open-facebook-website.md) |
|
||||
| [open-file-explorer.ps1](Scripts/open-file-explorer.ps1) | Opens the File Explorer. [Read more...](Docs/open-file-explorer.md) |
|
||||
| [open-firefox.ps1](Scripts/open-firefox.ps1) | Launches the Firefox browser. [Read more...](Docs/open-firefox.md) |
|
||||
| [open-fritz-box.ps1](Scripts/open-fritz-box.ps1) | Opens FRITZ!Box's web interface. [Read more...](Docs/open-fritz-box.md) |
|
||||
| [open-github.ps1](Scripts/open-github.ps1) | Opens GitHub's website. [Read more...](Docs/open-github.md) |
|
||||
| [open-google-contacts.ps1](Scripts/open-google-contacts.ps1) | Opens Google Contacts. [Read more...](Docs/open-google-contacts.md) |
|
||||
| [open-google-earth.ps1](Scripts/open-google-earth.ps1) | Opens Google Earth. [Read more...](Docs/open-google-earth.md) |
|
||||
| [open-google-mail.ps1](Scripts/open-google-mail.ps1) | Opens Google Mail. [Read more...](Docs/open-google-mail.md) |
|
||||
| [open-google-maps.ps1](Scripts/open-google-maps.ps1) | Opens Google Maps. [Read more...](Docs/open-google-maps.md) |
|
||||
| [open-google-news.ps1](Scripts/open-google-news.ps1) | Opens Google News. [Read more...](Docs/open-google-news.md) |
|
||||
| [open-google-play.ps1](Scripts/open-google-play.ps1) | Opens Google Play. [Read more...](Docs/open-google-play.md) |
|
||||
| [open-google-search.ps1](Scripts/open-google-search.ps1) | Opens Google Search. [Read more...](Docs/open-google-search.md) |
|
||||
| [open-google-translate.ps1](Scripts/open-google-translate.ps1) | Opens Google Translate. [Read more...](Docs/open-google-translate.md) |
|
||||
| [open-home-folder.ps1](Scripts/open-home-folder.ps1) | Opens the user's home folder. [Read more...](Docs/open-home-folder.md) |
|
||||
| [open-music-folder.ps1](Scripts/open-music-folder.ps1)| Opens the user's music folder. [Read more...](Docs/open-music-folder.md) |
|
||||
| [open-netflix.ps1](Scripts/open-netflix.ps1) | Starts the Netflix app. [Read more...](Docs/open-netflix.md) |
|
||||
| [open-microsoft-store.ps1](Scripts/open-microsoft-store.ps1)| Launches the Microsoft Store app. [Read more...](Docs/open-microsoft-store.md) |
|
||||
| [open-notepad.ps1](Scripts/open-notepad.ps1) | Starts the Notepad app. [Read more...](Docs/open-notepad.md) |
|
||||
| [open-onedrive-folder.ps1](Scripts/open-onedrive-folder.ps1)| Opens the user's OneDrive folder. [Read more...](Docs/open-onedrive-folder.md) |
|
||||
| [open-pictures-folder.ps1](Scripts/open-pictures-folder.ps1) | Opens the user's pictures folder. [Read more...](Docs/open-pictures-folder.md) |
|
||||
| [open-recycle-bin.ps1](Scripts/open-recycle-bin.ps1) | Opens the user's recycle bin folder. [Read more...](Docs/open-recycle-bin.md) |
|
||||
| [open-repos-folder.ps1](Scripts/open-repos-folder.ps1) | Opens the user's Git repositories folder. [Read more...](Docs/open-repos-folder.md) |
|
||||
| [open-snipping-tool.ps1](Scripts/open-snipping-tool.ps1)| Starts the Snipping Tool. [Read more...](Docs/open-snipping-tool.md) |
|
||||
| [open-speed-test.ps1](Scripts/open-speed-test.ps1) | Opens Cloudflare's speed test. [Read more...](Docs/open-speed-test.md) |
|
||||
| [open-spotify.ps1](Scripts/open-spotify.ps1) | Opens Spotify. [Read more...](Docs/open-spotify.md) |
|
||||
| [open-system-settings.ps1](Scripts/open-system-settings.ps1)| Opens the system settings of Windows. [Read more...](Docs/open-system-settings.md) |
|
||||
| [open-task-manager.ps1](Scripts/open-task-manager.ps1)| Starts the Task Manager. [Read more...](Docs/open-task-manager.md) |
|
||||
| [open-videos-folder.ps1](Scripts/open-videos-folder.ps1)| Opens the user's videos folder. [Read more...](Docs/open-videos-folder.md) |
|
||||
| [open-windows-terminal.ps1](Scripts/open-windows-terminal.ps1)| Launches Windows Terminal. [Read more...](Docs/open-windows-terminal.md) |
|
||||
| [open-wikipedia-website.ps1](Scripts/open-wikipedia-website.ps1)| Opens Wikipedia's website. [Read more...](Docs/open-wikipedia-website.md) |
|
||||
| [open-youtube-website.ps1](Scripts/open-youtube-website.ps1)| Opens YouTube's website. [Read more...](Docs/open-youtube-website.md) |
|
||||
| [remind-me.ps1](Scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message. [Read more...](Docs/remind-me.md) |
|
||||
| [save-screenshot.ps1](Scripts/save-screenshot.ps1) | Saves a single screenshot. [Read more...](Docs/save-screenshot.md) |
|
||||
| [set-wallpaper.ps1](Scripts/set-wallpaper.ps1) | Sets the given image as wallpaper. [Read more...](Docs/set-wallpaper.md) |
|
||||
| [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more...](docs/close-calculator.md) |
|
||||
| [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [Read more...](docs/close-cortana.md) |
|
||||
| [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [Read more...](docs/close-chrome.md) |
|
||||
| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [Read more...](docs/close-program.md) |
|
||||
| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [Read more...](docs/close-edge.md) |
|
||||
| [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [Read more...](docs/close-file-explorer.md) |
|
||||
| [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [Read more...](docs/close-edge.md) |
|
||||
| [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [Read more...](docs/close-microsoft-store.md) |
|
||||
| [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [Read more...](docs/close-netflix.md) |
|
||||
| [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [Read more...](docs/close-onedrive.md) |
|
||||
| [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [Read more...](docs/close-serenade.md) |
|
||||
| [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [Read more...](docs/close-snipping-tool.md) |
|
||||
| [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [Read more...](docs/close-spotify.md) |
|
||||
| [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [Read more...](docs/close-system-settings.md) |
|
||||
| [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [Read more...](docs/close-task-manager.md) |
|
||||
| [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [Read more...](docs/close-thunderbird.md) |
|
||||
| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [Read more...](docs/close-vlc.md) |
|
||||
| [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [Read more...](docs/close-windows-terminal.md) |
|
||||
| [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [Read more...](docs/enable-god-mode.md) |
|
||||
| [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) |
|
||||
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) |
|
||||
| [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) |
|
||||
| [new-email.ps1](scripts/new-email.ps1) | Starts the default email client to write a new email. [Read more...](docs/new-email.md) |
|
||||
| [open-amazon-website.ps1](scripts/open-amazon-website.ps1)| Opens Amazon's website. [Read more...](docs/open-amazon-website.md) |
|
||||
| [open-default-browser.ps1](scripts/open-default-browser.ps1)| Launches the default Web browser. [Read more...](docs/open-default-browser.md) |
|
||||
| [open-calculator.ps1](scripts/open-calculator.ps1) | Starts the calculator program. [Read more...](docs/open-calculator.md) |
|
||||
| [open-c-drive.ps1](scripts/open-c-drive.ps1) | Opens the C: drive folder. [Read more...](docs/open-c-drive.md) |
|
||||
| [open-downloads-folders.ps1](scripts/open-downloads-folder.ps1) | Opens the user's downloads folder. [Read more...](docs/open-downloads-folder.md) |
|
||||
| [open-dropbox-folder.ps1](scripts/open-dropbox-folder.ps1) | Opens the user's Dropbox folder. [Read more...](docs/open-dropbox-folder.md) |
|
||||
| [open-edge.ps1](scripts/open-edge.ps1) | Launches the Edge browser. [Read more...](docs/open-edge.md) |
|
||||
| [open-email-client.ps1](scripts/open-browser.ps1) | Starts the default email client. [Read more...](docs/open-email-client.md) |
|
||||
| [open-facebook-website.ps1](scripts/open-facebook-website.ps1)| Opens Facebook's website. [Read more...](docs/open-facebook-website.md) |
|
||||
| [open-file-explorer.ps1](scripts/open-file-explorer.ps1) | Opens the File Explorer. [Read more...](docs/open-file-explorer.md) |
|
||||
| [open-firefox.ps1](scripts/open-firefox.ps1) | Launches the Firefox browser. [Read more...](docs/open-firefox.md) |
|
||||
| [open-fritz-box.ps1](scripts/open-fritz-box.ps1) | Opens FRITZ!Box's web interface. [Read more...](docs/open-fritz-box.md) |
|
||||
| [open-github.ps1](scripts/open-github.ps1) | Opens GitHub's website. [Read more...](docs/open-github.md) |
|
||||
| [open-google-contacts.ps1](scripts/open-google-contacts.ps1) | Opens Google Contacts. [Read more...](docs/open-google-contacts.md) |
|
||||
| [open-google-earth.ps1](scripts/open-google-earth.ps1) | Opens Google Earth. [Read more...](docs/open-google-earth.md) |
|
||||
| [open-google-mail.ps1](scripts/open-google-mail.ps1) | Opens Google Mail. [Read more...](docs/open-google-mail.md) |
|
||||
| [open-google-maps.ps1](scripts/open-google-maps.ps1) | Opens Google Maps. [Read more...](docs/open-google-maps.md) |
|
||||
| [open-google-news.ps1](scripts/open-google-news.ps1) | Opens Google News. [Read more...](docs/open-google-news.md) |
|
||||
| [open-google-play.ps1](scripts/open-google-play.ps1) | Opens Google Play. [Read more...](docs/open-google-play.md) |
|
||||
| [open-google-search.ps1](scripts/open-google-search.ps1) | Opens Google Search. [Read more...](docs/open-google-search.md) |
|
||||
| [open-google-translate.ps1](scripts/open-google-translate.ps1) | Opens Google Translate. [Read more...](docs/open-google-translate.md) |
|
||||
| [open-home-folder.ps1](scripts/open-home-folder.ps1) | Opens the user's home folder. [Read more...](docs/open-home-folder.md) |
|
||||
| [open-music-folder.ps1](scripts/open-music-folder.ps1)| Opens the user's music folder. [Read more...](docs/open-music-folder.md) |
|
||||
| [open-netflix.ps1](scripts/open-netflix.ps1) | Starts the Netflix app. [Read more...](docs/open-netflix.md) |
|
||||
| [open-microsoft-store.ps1](scripts/open-microsoft-store.ps1)| Launches the Microsoft Store app. [Read more...](docs/open-microsoft-store.md) |
|
||||
| [open-notepad.ps1](scripts/open-notepad.ps1) | Starts the Notepad app. [Read more...](docs/open-notepad.md) |
|
||||
| [open-onedrive-folder.ps1](scripts/open-onedrive-folder.ps1)| Opens the user's OneDrive folder. [Read more...](docs/open-onedrive-folder.md) |
|
||||
| [open-pictures-folder.ps1](scripts/open-pictures-folder.ps1) | Opens the user's pictures folder. [Read more...](docs/open-pictures-folder.md) |
|
||||
| [open-recycle-bin.ps1](scripts/open-recycle-bin.ps1) | Opens the user's recycle bin folder. [Read more...](docs/open-recycle-bin.md) |
|
||||
| [open-repos-folder.ps1](scripts/open-repos-folder.ps1) | Opens the user's Git repositories folder. [Read more...](docs/open-repos-folder.md) |
|
||||
| [open-snipping-tool.ps1](scripts/open-snipping-tool.ps1)| Starts the Snipping Tool. [Read more...](docs/open-snipping-tool.md) |
|
||||
| [open-speed-test.ps1](scripts/open-speed-test.ps1) | Opens Cloudflare's speed test. [Read more...](docs/open-speed-test.md) |
|
||||
| [open-spotify.ps1](scripts/open-spotify.ps1) | Opens Spotify. [Read more...](docs/open-spotify.md) |
|
||||
| [open-system-settings.ps1](scripts/open-system-settings.ps1)| Opens the system settings of Windows. [Read more...](docs/open-system-settings.md) |
|
||||
| [open-task-manager.ps1](scripts/open-task-manager.ps1)| Starts the Task Manager. [Read more...](docs/open-task-manager.md) |
|
||||
| [open-videos-folder.ps1](scripts/open-videos-folder.ps1)| Opens the user's videos folder. [Read more...](docs/open-videos-folder.md) |
|
||||
| [open-windows-terminal.ps1](scripts/open-windows-terminal.ps1)| Launches Windows Terminal. [Read more...](docs/open-windows-terminal.md) |
|
||||
| [open-wikipedia-website.ps1](scripts/open-wikipedia-website.ps1)| Opens Wikipedia's website. [Read more...](docs/open-wikipedia-website.md) |
|
||||
| [open-youtube-website.ps1](scripts/open-youtube-website.ps1)| Opens YouTube's website. [Read more...](docs/open-youtube-website.md) |
|
||||
| [remind-me.ps1](scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message. [Read more...](docs/remind-me.md) |
|
||||
| [save-screenshot.ps1](scripts/save-screenshot.ps1) | Saves a single screenshot. [Read more...](docs/save-screenshot.md) |
|
||||
| [set-wallpaper.ps1](scripts/set-wallpaper.ps1) | Sets the given image as wallpaper. [Read more...](docs/set-wallpaper.md) |
|
||||
|
||||
📁 Scripts for Files & Folders
|
||||
-------------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||
| [cd-autostart.ps1](Scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more...](Docs/cd-autostart.md) |
|
||||
| [cd-desktop.ps1](Scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [Read more...](Docs/cd-desktop.md) |
|
||||
| [cd-docs.ps1](Scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read more...](Docs/cd-docs.md) |
|
||||
| [cd-downloads.ps1](Scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [Read more...](Docs/cd-downloads.md) |
|
||||
| [cd-dropbox.ps1](Scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [Read more...](Docs/cd-dropbox.md) |
|
||||
| [cd-home.ps1](Scripts/cd-home.ps1) | Set the working directory to the user's home folder. [Read more...](Docs/cd-home.md) |
|
||||
| [cd-music.ps1](Scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](Docs/cd-music.md) |
|
||||
| [cd-onedrive.ps1](Scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](Docs/cd-onedrive.md) |
|
||||
| [cd-pics.ps1](Scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](Docs/cd-pics.md) |
|
||||
| [cd-recycle-bin.ps1](Scripts/cd-recycle-bin.ps1) | Set the working directory to the user's recycle bin folder. [Read more...](Docs/cd-recycle-bin.md) |
|
||||
| [cd-repos.ps1](Scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder. [Read more...](Docs/cd-repos.md) |
|
||||
| [cd-root.ps1](Scripts/cd-root.ps1) | Set the working directory to the root directory. [Read more...](Docs/cd-root.md) |
|
||||
| [cd-scripts.ps1](Scripts/cd-scripts.ps1) | Set the working directory to the PowerShell Scripts folder. [Read more...](Docs/cd-scripts.md) |
|
||||
| [cd-ssh.ps1](Scripts/cd-ssh.ps1) | Set the working directory to the user's SSH folder. [Read more...](Docs/cd-ssh.md) |
|
||||
| [cd-up.ps1](Scripts/cd-up.ps1) | Set the working directory to one directory level up. [Read more...](Docs/cd-up.md) |
|
||||
| [cd-up2.ps1](Scripts/cd-up2.ps1) | Set the working directory to two directory levels up. [Read more...](Docs/cd-up2.md) |
|
||||
| [cd-up3.ps1](Scripts/cd-up3.ps1) | Set the working directory to three directory levels up. [Read more...](Docs/cd-up3.md) |
|
||||
| [cd-up4.ps1](Scripts/cd-up4.ps1) | Set the working directory to four directory levels up. [Read more...](Docs/cd-up4.md) |
|
||||
| [cd-videos.ps1](Scripts/cd-videos.ps1) | Set the working directory to the user's videos folder. [Read more...](Docs/cd-videos.md) |
|
||||
| [check-symlinks.ps1](Scripts/check-symlinks.ps1) | Checks every symlink in a directory tree. [Read more...](Docs/check-symlinks.md) |
|
||||
| [check-xml-file.ps1](Scripts/check-xml-file.ps1) | Checks the given XML file for validity. [Read more...](Docs/check-xml-file.md) |
|
||||
| [clear-recycle-bin.ps1](Scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!). [Read more...](Docs/clear-recycle-bin.md) |
|
||||
| [copy-photos-sorted.ps1](Scripts/copy-photos-sorted.ps1) | Copy image files sorted by year and month. [Read more...](Docs/copy-photos-sorted.md) |
|
||||
| [decrypt-file.ps1](Scripts/decrypt-file.ps1) | Decrypts the given file. [Read more...](Docs/decrypt-file.md) |
|
||||
| [download-dir.ps1](Scripts/download-dir.ps1) | Downloads a directory tree from the given URL. [Read more...](Docs/download-dir.md) |
|
||||
| [download-file.ps1](Scripts/download-file.ps1) | Downloads a file from the given URL. [Read more...](Docs/download-file.md) |
|
||||
| [edit.ps1](Scripts/edit.ps1) | Edits the given file with the built-in text editor. [Read more...](Docs/edit.md) |
|
||||
| [encrypt-file.ps1](Scripts/encrypt-file.ps1) | Encrypts the given file. [Read more...](Docs/encrypt-file.md) |
|
||||
| [get-md5.ps1](Scripts/get-md5.ps1) | Prints the MD5 checksum of the given file. [Read more...](Docs/get-md5.md) |
|
||||
| [get-sha1.ps1](Scripts/get-sha1.ps1) | Prints the SHA1 checksum of the given file. [Read more...](Docs/get-sha1.md) |
|
||||
| [get-sha256.ps1](Scripts/get-sha256.ps1) | Prints the SHA256 checksum of the given file. [Read more...](Docs/get-sha256.md) |
|
||||
| [inspect-exe.ps1](Scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](Docs/inspect-exe.md) |
|
||||
| [list-dir-tree.ps1](Scripts/list-dir-tree.ps1) | Lists the directory tree content. [Read more...](Docs/list-dir-treep.md) |
|
||||
| [list-empty-dirs.ps1](Scripts/list-empty-dirs.ps1) | Lists empty subfolders within the given directory tree. [Read more...](Docs/list-empty-dirs.md) |
|
||||
| [list-empty-files.ps1](Scripts/list-empty-files.ps1) | Lists empty files within the given directory tree. [Read more...](Docs/list-empty-files.md) |
|
||||
| [list-files.ps1](Scripts/list-files.ps1) | Lists all files in the given folder and also in every subfolder. [Read more...](Docs/list-files.md) |
|
||||
| [list-folder.ps1](Scripts/list-folder.ps1) | Lists the folder content. [Read more...](Docs/list-folder.md) |
|
||||
| [list-hidden-files.ps1](Scripts/list-hidden-files.ps1) | Lists hidden files within the given directory tree. [Read more...](Docs/list-hidden-files.md) |
|
||||
| [list-recycle-bin.ps1](Scripts/list-recycle-bin.ps1) | Lists the content of the recycle bin folder. [Read more...](Docs/list-recycle-bin.md) |
|
||||
| [list-unused-files.ps1](Scripts/list-unused-files.ps1) | Lists unused files in a directory tree. [Read more...](Docs/list-unused-files.md) |
|
||||
| [list-workdir.ps1](Scripts/list-workdir.ps1) | Lists the current working directory. [Read more...](Docs/list-workdir.md) |
|
||||
| [make-install.ps1](Scripts/make-install.ps1) | Installs built executables and libs to the installation directory. [Read more...](Docs/make-install.md) |
|
||||
| [new-shortcut.ps1](Scripts/new-shortcut.ps1) | Creates a new shortcut file. [Read more...](Docs/new-shortcut.md) |
|
||||
| [new-symlink.ps1](Scripts/new-symlink.ps1) | Creates a new symbolic link file. [Read more...](Docs/new-symlink.md) |
|
||||
| [new-zipfile.ps1](Scripts/new-zipfile.ps1) | Creates a new .zip file from a directory. [Read more...](Docs/new-zipfile.md) |
|
||||
| [publish-to-ipfs.ps1](Scripts/publish-to-ipfs.ps1) | Publishes the given files or directory to IPFS. [Read more...](Docs/publish-to-ipfs.md) |
|
||||
| [remove-empty-dirs.ps1](Scripts/remove-empty-dirs.ps1) | Removes empty subfolders within the given directory tree. [Read more...](Docs/remove-empty-dirs.md) |
|
||||
| [replace-in-files.ps1](Scripts/replace-in-files.ps1) | Search and replace a pattern in the given files by the replacement. [Read more...](Docs/replace-in-files.md) |
|
||||
| [search-filename.ps1](Scripts/search-filename.ps1) | Searches the directory tree for filenames by given pattern. [Read more...](Docs/search-filename.md) |
|
||||
| [search-files.ps1](Scripts/search-files.ps1) | Searches the given pattern in the given files. [Read more...](Docs/search-files.md) |
|
||||
| [upload-file.ps1](Scripts/upload-file.ps1) | Uploads the local file to the given FTP server. [Read more...](Docs/upload-file.md) |
|
||||
| [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more...](docs/cd-autostart.md) |
|
||||
| [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [Read more...](docs/cd-desktop.md) |
|
||||
| [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read more...](docs/cd-docs.md) |
|
||||
| [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [Read more...](docs/cd-downloads.md) |
|
||||
| [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [Read more...](docs/cd-dropbox.md) |
|
||||
| [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [Read more...](docs/cd-home.md) |
|
||||
| [cd-music.ps1](scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](docs/cd-music.md) |
|
||||
| [cd-onedrive.ps1](scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](docs/cd-onedrive.md) |
|
||||
| [cd-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) |
|
||||
| [cd-recycle-bin.ps1](scripts/cd-recycle-bin.ps1) | Set the working directory to the user's recycle bin folder. [Read more...](docs/cd-recycle-bin.md) |
|
||||
| [cd-repos.ps1](scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder. [Read more...](docs/cd-repos.md) |
|
||||
| [cd-root.ps1](scripts/cd-root.ps1) | Set the working directory to the root directory. [Read more...](docs/cd-root.md) |
|
||||
| [cd-scripts.ps1](scripts/cd-scripts.ps1) | Set the working directory to the PowerShell Scripts folder. [Read more...](docs/cd-scripts.md) |
|
||||
| [cd-ssh.ps1](scripts/cd-ssh.ps1) | Set the working directory to the user's SSH folder. [Read more...](docs/cd-ssh.md) |
|
||||
| [cd-up.ps1](scripts/cd-up.ps1) | Set the working directory to one directory level up. [Read more...](docs/cd-up.md) |
|
||||
| [cd-up2.ps1](scripts/cd-up2.ps1) | Set the working directory to two directory levels up. [Read more...](docs/cd-up2.md) |
|
||||
| [cd-up3.ps1](scripts/cd-up3.ps1) | Set the working directory to three directory levels up. [Read more...](docs/cd-up3.md) |
|
||||
| [cd-up4.ps1](scripts/cd-up4.ps1) | Set the working directory to four directory levels up. [Read more...](docs/cd-up4.md) |
|
||||
| [cd-videos.ps1](scripts/cd-videos.ps1) | Set the working directory to the user's videos folder. [Read more...](docs/cd-videos.md) |
|
||||
| [check-symlinks.ps1](scripts/check-symlinks.ps1) | Checks every symlink in a directory tree. [Read more...](docs/check-symlinks.md) |
|
||||
| [check-xml-file.ps1](scripts/check-xml-file.ps1) | Checks the given XML file for validity. [Read more...](docs/check-xml-file.md) |
|
||||
| [clear-recycle-bin.ps1](scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!). [Read more...](docs/clear-recycle-bin.md) |
|
||||
| [copy-photos-sorted.ps1](scripts/copy-photos-sorted.ps1) | Copy image files sorted by year and month. [Read more...](docs/copy-photos-sorted.md) |
|
||||
| [decrypt-file.ps1](scripts/decrypt-file.ps1) | Decrypts the given file. [Read more...](docs/decrypt-file.md) |
|
||||
| [download-dir.ps1](scripts/download-dir.ps1) | Downloads a directory tree from the given URL. [Read more...](docs/download-dir.md) |
|
||||
| [download-file.ps1](scripts/download-file.ps1) | Downloads a file from the given URL. [Read more...](docs/download-file.md) |
|
||||
| [edit.ps1](scripts/edit.ps1) | Edits the given file with the built-in text editor. [Read more...](docs/edit.md) |
|
||||
| [encrypt-file.ps1](scripts/encrypt-file.ps1) | Encrypts the given file. [Read more...](docs/encrypt-file.md) |
|
||||
| [get-md5.ps1](scripts/get-md5.ps1) | Prints the MD5 checksum of the given file. [Read more...](docs/get-md5.md) |
|
||||
| [get-sha1.ps1](scripts/get-sha1.ps1) | Prints the SHA1 checksum of the given file. [Read more...](docs/get-sha1.md) |
|
||||
| [get-sha256.ps1](scripts/get-sha256.ps1) | Prints the SHA256 checksum of the given file. [Read more...](docs/get-sha256.md) |
|
||||
| [inspect-exe.ps1](scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](docs/inspect-exe.md) |
|
||||
| [list-dir-tree.ps1](scripts/list-dir-tree.ps1) | Lists the directory tree content. [Read more...](docs/list-dir-treep.md) |
|
||||
| [list-empty-dirs.ps1](scripts/list-empty-dirs.ps1) | Lists empty subfolders within the given directory tree. [Read more...](docs/list-empty-dirs.md) |
|
||||
| [list-empty-files.ps1](scripts/list-empty-files.ps1) | Lists empty files within the given directory tree. [Read more...](docs/list-empty-files.md) |
|
||||
| [list-files.ps1](scripts/list-files.ps1) | Lists all files in the given folder and also in every subfolder. [Read more...](docs/list-files.md) |
|
||||
| [list-folder.ps1](scripts/list-folder.ps1) | Lists the folder content. [Read more...](docs/list-folder.md) |
|
||||
| [list-hidden-files.ps1](scripts/list-hidden-files.ps1) | Lists hidden files within the given directory tree. [Read more...](docs/list-hidden-files.md) |
|
||||
| [list-recycle-bin.ps1](scripts/list-recycle-bin.ps1) | Lists the content of the recycle bin folder. [Read more...](docs/list-recycle-bin.md) |
|
||||
| [list-unused-files.ps1](scripts/list-unused-files.ps1) | Lists unused files in a directory tree. [Read more...](docs/list-unused-files.md) |
|
||||
| [list-workdir.ps1](scripts/list-workdir.ps1) | Lists the current working directory. [Read more...](docs/list-workdir.md) |
|
||||
| [make-install.ps1](scripts/make-install.ps1) | Installs built executables and libs to the installation directory. [Read more...](docs/make-install.md) |
|
||||
| [new-shortcut.ps1](scripts/new-shortcut.ps1) | Creates a new shortcut file. [Read more...](docs/new-shortcut.md) |
|
||||
| [new-symlink.ps1](scripts/new-symlink.ps1) | Creates a new symbolic link file. [Read more...](docs/new-symlink.md) |
|
||||
| [new-zipfile.ps1](scripts/new-zipfile.ps1) | Creates a new .zip file from a directory. [Read more...](docs/new-zipfile.md) |
|
||||
| [publish-to-ipfs.ps1](scripts/publish-to-ipfs.ps1) | Publishes the given files or directory to IPFS. [Read more...](docs/publish-to-ipfs.md) |
|
||||
| [remove-empty-dirs.ps1](scripts/remove-empty-dirs.ps1) | Removes empty subfolders within the given directory tree. [Read more...](docs/remove-empty-dirs.md) |
|
||||
| [replace-in-files.ps1](scripts/replace-in-files.ps1) | Search and replace a pattern in the given files by the replacement. [Read more...](docs/replace-in-files.md) |
|
||||
| [search-filename.ps1](scripts/search-filename.ps1) | Searches the directory tree for filenames by given pattern. [Read more...](docs/search-filename.md) |
|
||||
| [search-files.ps1](scripts/search-files.ps1) | Searches the given pattern in the given files. [Read more...](docs/search-files.md) |
|
||||
| [upload-file.ps1](scripts/upload-file.ps1) | Uploads the local file to the given FTP server. [Read more...](docs/upload-file.md) |
|
||||
|
||||
♻️ Scripts to Convert Files
|
||||
---------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
|
||||
| [convert-csv2txt.ps1](Scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more...](Docs/convert-csv2txt.md) |
|
||||
| [convert-mysql2csv.ps1](Scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more...](Docs/convert-mysql2csv.md) |
|
||||
| [convert-ps2bat.ps1](Scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more...](Docs/convert-ps2bat.md) |
|
||||
| [convert-ps2md.ps1](Scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more...](Docs/convert-ps2md.md) |
|
||||
| [convert-sql2csv.ps1](Scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more...](Docs/convert-sql2csv.md) |
|
||||
| [convert-txt2wav.ps1](Scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more...](Docs/convert-txt2wav.md) |
|
||||
| [export-to-manuals.ps1](Scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more...](Docs/export-to-manuals.md) |
|
||||
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more...](docs/convert-csv2txt.md) |
|
||||
| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more...](docs/convert-mysql2csv.md) |
|
||||
| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more...](docs/convert-ps2bat.md) |
|
||||
| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more...](docs/convert-ps2md.md) |
|
||||
| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more...](docs/convert-sql2csv.md) |
|
||||
| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more...](docs/convert-txt2wav.md) |
|
||||
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more...](docs/export-to-manuals.md) |
|
||||
|
||||
|
||||
📝 Scripts for Git
|
||||
@ -233,125 +238,127 @@ Mega Collection of PowerShell Scripts
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||
| [build-repo.ps1](Scripts/build-repo.ps1) | Builds a Git repository. [Read more...](Docs/build-repo.md) |
|
||||
| [build-repos.ps1](Scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more...](Docs/build-repos.md) |
|
||||
| [check-repo.ps1](Scripts/check-repo.ps1) | Checks a Git repository. [Read more...](Docs/check-repo.md) |
|
||||
| [clean-repo.ps1](Scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more...](Docs/clean-repo.md) |
|
||||
| [clean-repos.ps1](Scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more...](Docs/clean-repos.md) |
|
||||
| [clone-repos.ps1](Scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more...](Docs/clone-repos.md) |
|
||||
| [configure-git.ps1](Scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more...](Docs/configure-git.md) |
|
||||
| [fetch-repo.ps1](Scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more...](Docs/fetch-repo.md) |
|
||||
| [fetch-repos.ps1](Scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more...](Docs/fetch-repos.md) |
|
||||
| [list-branches.ps1](Scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more...](Docs/list-branches.md) |
|
||||
| [list-commits.ps1](Scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more...](Docs/list-commits.md) |
|
||||
| [list-latest-tag.ps1](Scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more...](Docs/list-latest-tag.md) |
|
||||
| [list-latest-tags.ps1](Scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more...](Docs/list-latest-tags.md) |
|
||||
| [list-repos.ps1](Scripts/list-repos.ps1) | Lists the Git repositories in a folder. [Read more...](Docs/list-repos.md) |
|
||||
| [list-submodules.ps1](Scripts/list-submodules.ps1) | Lists the submodules in a Git repository. [Read more...](Docs/list-submodules.md) |
|
||||
| [list-tags.ps1](Scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more...](Docs/list-tags.md) |
|
||||
| [new-branch.ps1](Scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more...](Docs/new-branch.md) |
|
||||
| [new-tag.ps1](Scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more...](Docs/new-tag.md) |
|
||||
| [pick-commit.ps1](Scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more...](Docs/pick-commit.md) |
|
||||
| [pull-repo.ps1](Scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more...](Docs/pull-repo.md) |
|
||||
| [pull-repos.ps1](Scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more...](Docs/pull-repos.md) |
|
||||
| [remove-tag.ps1](Scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more...](Docs/remove-tag.md) |
|
||||
| [switch-branch.ps1](Scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more...](Docs/switch-branch.md) |
|
||||
| [sync-repo.ps1](Scripts/sync-repo.ps1) | Synchronizes a Git repository by push & pull. [Read more...](Docs/sync-repo.md) |
|
||||
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more...](docs/build-repo.md) |
|
||||
| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more...](docs/build-repos.md) |
|
||||
| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [Read more...](docs/check-repo.md) |
|
||||
| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more...](docs/clean-repo.md) |
|
||||
| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more...](docs/clean-repos.md) |
|
||||
| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more...](docs/clone-repos.md) |
|
||||
| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more...](docs/configure-git.md) |
|
||||
| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more...](docs/fetch-repo.md) |
|
||||
| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more...](docs/fetch-repos.md) |
|
||||
| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more...](docs/list-branches.md) |
|
||||
| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [Read more...](docs/list-commit-stats.md) |
|
||||
| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more...](docs/list-commits.md) |
|
||||
| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more...](docs/list-latest-tag.md) |
|
||||
| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more...](docs/list-latest-tags.md) |
|
||||
| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [Read more...](docs/list-repos.md) |
|
||||
| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [Read more...](docs/list-submodules.md) |
|
||||
| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more...](docs/list-tags.md) |
|
||||
| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more...](docs/new-branch.md) |
|
||||
| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more...](docs/new-tag.md) |
|
||||
| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more...](docs/pick-commit.md) |
|
||||
| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more...](docs/pull-repo.md) |
|
||||
| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more...](docs/pull-repos.md) |
|
||||
| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more...](docs/remove-tag.md) |
|
||||
| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more...](docs/switch-branch.md) |
|
||||
| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [Read more...](docs/sync-repo.md) |
|
||||
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more...](docs/write-changelog.md) |
|
||||
|
||||
🔎 Scripts for PowerShell
|
||||
------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
||||
| [daily-tasks.sh](Scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more...](Docs/daily-tasks.sh.md) |
|
||||
| [introduce-powershell.ps1](Scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [Read more...](Docs/introduce-powershell.md) |
|
||||
| [list-aliases.ps1](Scripts/list-aliases.ps1) | Lists all PowerShell aliases. [Read more...](Docs/list-aliases.md) |
|
||||
| [list-automatic-variables.ps1](Scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [Read more...](Docs/list-automatic-variables.md)|
|
||||
| [list-cheat-sheet.ps1](Scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [Read more...](Docs/list-cheat-sheet.md) |
|
||||
| [list-cmdlets.ps1](Scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [Read more...](Docs/list-cmdlets.md) |
|
||||
| [list-console-colors.ps1](Scripts/list-console-colors.ps1) | Lists all console colors. [Read more...](Docs/list-console-colors.md) |
|
||||
| [list-modules.ps1](Scripts/list-modules.ps1) | Lists the PowerShell modules. [Read more...](Docs/list-modules.md) |
|
||||
| [list-profiles.ps1](Scripts/list-profiles.ps1) | Lists your PowerShell profiles. [Read more...](Docs/list-profiles.md) |
|
||||
| [list-scripts.ps1](Scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [Read more...](Docs/list-scripts.md) |
|
||||
| [new-script.ps1](Scripts/new-script.ps1) | Creates a new PowerShell script. [Read more...](Docs/new-script.md) |
|
||||
| [set-profile.ps1](Scripts/set-profile.ps1) | Updates your PowerShell user profile. [Read more...](Docs/set-profile.md) |
|
||||
| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more...](docs/daily-tasks.sh.md) |
|
||||
| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [Read more...](docs/introduce-powershell.md) |
|
||||
| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [Read more...](docs/list-aliases.md) |
|
||||
| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [Read more...](docs/list-automatic-variables.md)|
|
||||
| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [Read more...](docs/list-cheat-sheet.md) |
|
||||
| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [Read more...](docs/list-cmdlets.md) |
|
||||
| [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [Read more...](docs/list-console-colors.md) |
|
||||
| [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [Read more...](docs/list-modules.md) |
|
||||
| [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [Read more...](docs/list-profiles.md) |
|
||||
| [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [Read more...](docs/list-scripts.md) |
|
||||
| [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [Read more...](docs/new-script.md) |
|
||||
| [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [Read more...](docs/set-profile.md) |
|
||||
|
||||
🛒 Various PowerShell Scripts
|
||||
------------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||
| [add-memo.ps1](Scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more...](Docs/add-memo.md) |
|
||||
| [check-ipv4-address.ps1](Scripts/check-ipv4-address.ps1)| Checks the given IPv4 address for validity. [Read more...](Docs/check-ipv4-address.md) |
|
||||
| [check-ipv6-address.ps1](Scripts/check-ipv6-address.ps1)| Checks the given IPv6 address for validity. [Read more...](Docs/check-ipv6-address.md) |
|
||||
| [check-mac-address.ps1](Scripts/check-mac-address.ps1)| Checks the given MAC address for validity. [Read more...](Docs/check-mac-address.md) |
|
||||
| [check-subnet-mask.ps1](Scripts/check-subnet-mask.ps1)| Checks the given subnet mask for validity. [Read more...](Docs/check-subnet-mask.md) |
|
||||
| [check-weather.ps1](Scripts/check-weather.ps1) | Checks the current weather for critical values. [Read more...](Docs/check-weather.md) |
|
||||
| [display-time.ps1](Scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](Docs/display-time.md) |
|
||||
| [list-anagrams.ps1](Scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](Docs/list-anagrams.md) |
|
||||
| [list-city-weather.ps1](Scripts/list-city-weather.ps1)| Lists the current weather of cities worldwide (west to east). [Read more...](Docs/list-city-weather.md) |
|
||||
| [list-countries.ps1](Scripts/list-countries.ps1) | Lists details of all countries. [Read more...](Docs/list-countries.md) |
|
||||
| [list-credits.ps1](Scripts/list-credits.ps1) | Shows the credits. [Read more...](Docs/list-credits.md) |
|
||||
| [list-crypto-rates.ps1](Scripts/list-crypto-rates.ps1)| Lists the current crypto exchange rates. [Read more...](Docs/list-crypto-rates.md) |
|
||||
| [list-environment-variables.ps1](Scripts/list-environment-variables.ps1)| Lists all environment variables. [Read more...](Docs/list-environment-variables.md)|
|
||||
| [list-emojis.ps1](Scripts/list-emojis.ps1) | Lists the emojis of Unicode 13.0. [Read more...](Docs/list-emojis.md) |
|
||||
| [list-fritzbox-calls.ps1](Scripts/list-fritzbox-calls.ps1)| Lists the FRITZ!Box calls. [Read more...](Docs/list-fritzbox-calls.md) |
|
||||
| [list-fritzbox-devices.ps1](Scripts/list-fritzbox-devices.ps1)| Lists FRITZ!Box's known devices. [Read more...](Docs/list-fritzbox-devices.md) |
|
||||
| [list-earthquakes.ps1](Scripts/list-earthquakes.ps1) | Lists earthquakes with magnitude >= 6.0 for the last 30 days. [Read more...](Docs/list-earthquakes.md) |
|
||||
| [list-exchange-rates.ps1](Scripts/list-exchange-rates.ps1)| Lists the current exchange rates for the given currency. [Read more...](Docs/list-exchange-rates.md) |
|
||||
| [list-memos.ps1](Scripts/list-memos.ps1) | Lists the memos at $HOME/Memos.csv. [Read more...](Docs/list-memos.md) |
|
||||
| [list-mysql-tables.ps1](Scripts/list-mysql-tables.ps1)| Lists the MySQL server tables. [Read more...](Docs/list-mysql-tables.md) |
|
||||
| [list-news.ps1](Scripts/list-news.ps1) | Lists the latest news. [Read more...](Docs/list-news.md) |
|
||||
| [list-os-releases.ps1](Scripts/list-os-releases.ps1) | Lists operating system releases and download URL. [Read more...](Docs/list-os-releases.md) |
|
||||
| [list-os-updates.ps1](Scripts/list-os-updates.ps1) | Lists operating system updates. [Read more...](Docs/list-os-updates.md) |
|
||||
| [list-passwords.ps1](Scripts/list-passwords.ps1) | Prints a list of random passwords. [Read more...](Docs/list-passwords.md) |
|
||||
| [list-pins.ps1](Scripts/list-pins.ps1) | Prints a list of random PIN's. [Read more...](Docs/list-pins.md) |
|
||||
| [list-sql-tables.ps1](Scripts/list-sql-tables.ps1) | Lists the SQL server tables. [Read more...](Docs/list-sql-tables.md) |
|
||||
| [list-tiobe-index.ps1](Scripts/list-tiobe-index.ps1) | Lists the TIOBE index of top programming languages. [Read more...](Docs/list-tiobe-index.md) |
|
||||
| [list-weather.ps1](Scripts/list-weather.ps1) | Lists the hourly weather. [Read more...](Docs/list-weather.md) |
|
||||
| [locate-city.ps1](Scripts/locate-city.ps1) | Prints the geographic location of the given city. [Read more...](Docs/locate-city.md) |
|
||||
| [locate-ipaddress.ps1](Scripts/locate-ipaddress.ps1) | Prints the geographic location of the given IP address. [Read more...](Docs/locate-ipaddress.md) |
|
||||
| [locate-zip-code.ps1](Scripts/locate-zip-code.ps1) | Prints the geographic location of the given zip-code. [Read more...](Docs/locate-zip-code.md) |
|
||||
| [moon.ps1](Scripts/moon.ps1) | Prints the current moon phase. [Read more...](Docs/moon.md) |
|
||||
| [new-qrcode.ps1](Scripts/new-qrcode.ps1) | Generates a new QR code image file. [Read more...](Docs/new-qrcode.md) |
|
||||
| [reboot-fritzbox.ps1](Scripts/reboot-fritzbox.ps1) | Reboots the FRITZ!box device. [Read more...](Docs/reboot-fritzbox.md) |
|
||||
| [scan-ports.ps1](Scripts/scan-ports.ps1) | Scans the network for open/closed ports. [Read more...](Docs/scan-ports.md) |
|
||||
| [send-email.ps1](Scripts/send-email.ps1) | Sends an email message. [Read more...](Docs/send-email.md) |
|
||||
| [send-tcp.ps1](Scripts/send-udp.ps1) | Sends a TCP message to the given IP address and port. [Read more...](Docs/send-tcp.md) |
|
||||
| [send-udp.ps1](Scripts/send-udp.ps1) | Sends a UDP datagram message to the given IP address and port. [Read more...](Docs/send-udp.md) |
|
||||
| [set-timer.ps1](Scripts/set-timer.ps1) | Sets a timer for a countdown. [Read more...](Docs/set-timer.md) |
|
||||
| [simulate-presence.ps1](Scripts/simulate-presence.ps1)| Simulates the human presence against burglars. [Read more...](Docs/simulate-presence.md) |
|
||||
| [start-calibre-server.ps1](Scripts/start-calibre-server.ps1)| Starts a local Calibre server. [Read more...](Docs/start-calibre-server.md) |
|
||||
| [start-ipfs-server.ps1](Scripts/start-ipfs-server.ps1)| Starts a local IPFS server. [Read more...](Docs/start-ipfs-server.md) |
|
||||
| [switch-shelly1.ps1](Scripts/switch-shelly1.ps1) | Switches a Shelly1 device in the local network. [Read more...](Docs/switch-shelly1.md) |
|
||||
| [translate-file.ps1](Scripts/translate-file.ps1) | Translates the given text file into other languages. [Read more...](Docs/translate-file.md) |
|
||||
| [translate-files.ps1](Scripts/translate-files.ps1) | Translates the given text files into any supported language. [Read more...](Docs/translate-files.md) |
|
||||
| [translate-text.ps1](Scripts/translate-text.ps1) | Translates the given text in English into other languages. [Read more...](Docs/translate-text.md) |
|
||||
| [weather.ps1](Scripts/weather.ps1) | Prints the current weather forecast. [Read more...](Docs/weather.md) |
|
||||
| [weather-report.ps1](Scripts/weather-report.ps1) | Prints the local weather report. [Read more...](Docs/weather-report.md) |
|
||||
| [what-is.ps1](Scripts/what-is.ps1) | Prints a description of the given abbreviation. [Read more...](Docs/what-is.md) |
|
||||
| [write-animated.ps1](Scripts/write-animated.ps1) | Writes animated text. [Read more...](Docs/write-animated.md) |
|
||||
| [write-big.ps1](Scripts/write-big.ps1) | Writes the given text in big letters. [Read more...](Docs/write-big.md) |
|
||||
| [write-blue.ps1](Scripts/write-blue.ps1) | Writes the given text in a blue foreground color. [Read more...](Docs/write-blue.md) |
|
||||
| [write-braille.ps1](Scripts/write-braille.ps1) | Writes the given text in Braille. [Read more...](Docs/write-braille.md) |
|
||||
| [write-calendar.ps1](Scripts/write-calendar.ps1) | Writes the calendar (month of year). [Read more...](Docs/write-calendar.md) |
|
||||
| [write-green.ps1](Scripts/write-green.ps1) | Writes the given text in a green foreground color. [Read more...](Docs/write-green.md) |
|
||||
| [write-joke.ps1](Scripts/write-joke.ps1) | Writes a random Juck Norris joke. [Read more...](Docs/write-joke.md) |
|
||||
| [write-lowercase.ps1](Scripts/write-lowercase.ps1) | Writes the given text in lowercase letters. [Read more...](Docs/write-lowercase.md) |
|
||||
| [write-marquee.ps1](Scripts/write-marquee.ps1) | Writes the given text as marquee. [Read more...](Docs/write-marquee.md) |
|
||||
| [write-morse-code.ps1](Scripts/write-morse-code.ps1) | Writes the given text in Morse code. [Read more...](Docs/write-morse-code.md) |
|
||||
| [write-motd.ps1](Scripts/write-motd.ps1) | Writes the message of the day (MOTD). [Read more...](Docs/write-motd.md) |
|
||||
| [write-quote.ps1](Scripts/write-quote.ps1) | Writes a random quote. [Read more...](Docs/write-quote.md) |
|
||||
| [write-red.ps1](Scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](Docs/write-red.md) |
|
||||
| [write-rot13.ps1](Scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](Docs/write-rot13.md) |
|
||||
| [write-typewriter.ps1](Scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [Read more...](Docs/write-typewriter.md) |
|
||||
| [write-uppercase.ps1](Scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [Read more...](Docs/write-uppercase.md) |
|
||||
| [write-vertical.ps1](Scripts/write-vertical.ps1) | Writes the given text in vertical direction. [Read more...](Docs/write-vertical.md) |
|
||||
| [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more...](docs/add-memo.md) |
|
||||
| [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1)| Checks the given IPv4 address for validity. [Read more...](docs/check-ipv4-address.md) |
|
||||
| [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1)| Checks the given IPv6 address for validity. [Read more...](docs/check-ipv6-address.md) |
|
||||
| [check-mac-address.ps1](scripts/check-mac-address.ps1)| Checks the given MAC address for validity. [Read more...](docs/check-mac-address.md) |
|
||||
| [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1)| Checks the given subnet mask for validity. [Read more...](docs/check-subnet-mask.md) |
|
||||
| [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [Read more...](docs/check-weather.md) |
|
||||
| [display-time.ps1](scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](docs/display-time.md) |
|
||||
| [list-anagrams.ps1](scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](docs/list-anagrams.md) |
|
||||
| [list-city-weather.ps1](scripts/list-city-weather.ps1)| Lists the current weather of cities worldwide (west to east). [Read more...](docs/list-city-weather.md) |
|
||||
| [list-countries.ps1](scripts/list-countries.ps1) | Lists details of all countries. [Read more...](docs/list-countries.md) |
|
||||
| [list-credits.ps1](scripts/list-credits.ps1) | Shows the credits. [Read more...](docs/list-credits.md) |
|
||||
| [list-crypto-rates.ps1](scripts/list-crypto-rates.ps1)| Lists the current crypto exchange rates. [Read more...](docs/list-crypto-rates.md) |
|
||||
| [list-environment-variables.ps1](scripts/list-environment-variables.ps1)| Lists all environment variables. [Read more...](docs/list-environment-variables.md)|
|
||||
| [list-emojis.ps1](scripts/list-emojis.ps1) | Lists the emojis of Unicode 13.0. [Read more...](docs/list-emojis.md) |
|
||||
| [list-fritzbox-calls.ps1](scripts/list-fritzbox-calls.ps1)| Lists the FRITZ!Box calls. [Read more...](docs/list-fritzbox-calls.md) |
|
||||
| [list-fritzbox-devices.ps1](scripts/list-fritzbox-devices.ps1)| Lists FRITZ!Box's known devices. [Read more...](docs/list-fritzbox-devices.md) |
|
||||
| [list-earthquakes.ps1](scripts/list-earthquakes.ps1) | Lists earthquakes with magnitude >= 6.0 for the last 30 days. [Read more...](docs/list-earthquakes.md) |
|
||||
| [list-exchange-rates.ps1](scripts/list-exchange-rates.ps1)| Lists the current exchange rates for the given currency. [Read more...](docs/list-exchange-rates.md) |
|
||||
| [list-memos.ps1](scripts/list-memos.ps1) | Lists the memos at $HOME/Memos.csv. [Read more...](docs/list-memos.md) |
|
||||
| [list-mysql-tables.ps1](scripts/list-mysql-tables.ps1)| Lists the MySQL server tables. [Read more...](docs/list-mysql-tables.md) |
|
||||
| [list-news.ps1](scripts/list-news.ps1) | Lists the latest news. [Read more...](docs/list-news.md) |
|
||||
| [list-os-releases.ps1](scripts/list-os-releases.ps1) | Lists operating system releases and download URL. [Read more...](docs/list-os-releases.md) |
|
||||
| [list-os-updates.ps1](scripts/list-os-updates.ps1) | Lists operating system updates. [Read more...](docs/list-os-updates.md) |
|
||||
| [list-passwords.ps1](scripts/list-passwords.ps1) | Prints a list of random passwords. [Read more...](docs/list-passwords.md) |
|
||||
| [list-pins.ps1](scripts/list-pins.ps1) | Prints a list of random PIN's. [Read more...](docs/list-pins.md) |
|
||||
| [list-sql-tables.ps1](scripts/list-sql-tables.ps1) | Lists the SQL server tables. [Read more...](docs/list-sql-tables.md) |
|
||||
| [list-tiobe-index.ps1](scripts/list-tiobe-index.ps1) | Lists the TIOBE index of top programming languages. [Read more...](docs/list-tiobe-index.md) |
|
||||
| [list-weather.ps1](scripts/list-weather.ps1) | Lists the hourly weather. [Read more...](docs/list-weather.md) |
|
||||
| [locate-city.ps1](scripts/locate-city.ps1) | Prints the geographic location of the given city. [Read more...](docs/locate-city.md) |
|
||||
| [locate-ipaddress.ps1](scripts/locate-ipaddress.ps1) | Prints the geographic location of the given IP address. [Read more...](docs/locate-ipaddress.md) |
|
||||
| [locate-zip-code.ps1](scripts/locate-zip-code.ps1) | Prints the geographic location of the given zip-code. [Read more...](docs/locate-zip-code.md) |
|
||||
| [moon.ps1](scripts/moon.ps1) | Prints the current moon phase. [Read more...](docs/moon.md) |
|
||||
| [new-qrcode.ps1](scripts/new-qrcode.ps1) | Generates a new QR code image file. [Read more...](docs/new-qrcode.md) |
|
||||
| [reboot-fritzbox.ps1](scripts/reboot-fritzbox.ps1) | Reboots the FRITZ!box device. [Read more...](docs/reboot-fritzbox.md) |
|
||||
| [scan-ports.ps1](scripts/scan-ports.ps1) | Scans the network for open/closed ports. [Read more...](docs/scan-ports.md) |
|
||||
| [send-email.ps1](scripts/send-email.ps1) | Sends an email message. [Read more...](docs/send-email.md) |
|
||||
| [send-tcp.ps1](scripts/send-udp.ps1) | Sends a TCP message to the given IP address and port. [Read more...](docs/send-tcp.md) |
|
||||
| [send-udp.ps1](scripts/send-udp.ps1) | Sends a UDP datagram message to the given IP address and port. [Read more...](docs/send-udp.md) |
|
||||
| [set-timer.ps1](scripts/set-timer.ps1) | Sets a timer for a countdown. [Read more...](docs/set-timer.md) |
|
||||
| [simulate-presence.ps1](scripts/simulate-presence.ps1)| Simulates the human presence against burglars. [Read more...](docs/simulate-presence.md) |
|
||||
| [start-calibre-server.ps1](scripts/start-calibre-server.ps1)| Starts a local Calibre server. [Read more...](docs/start-calibre-server.md) |
|
||||
| [start-ipfs-server.ps1](scripts/start-ipfs-server.ps1)| Starts a local IPFS server. [Read more...](docs/start-ipfs-server.md) |
|
||||
| [switch-shelly1.ps1](scripts/switch-shelly1.ps1) | Switches a Shelly1 device in the local network. [Read more...](docs/switch-shelly1.md) |
|
||||
| [translate-file.ps1](scripts/translate-file.ps1) | Translates the given text file into other languages. [Read more...](docs/translate-file.md) |
|
||||
| [translate-files.ps1](scripts/translate-files.ps1) | Translates the given text files into any supported language. [Read more...](docs/translate-files.md) |
|
||||
| [translate-text.ps1](scripts/translate-text.ps1) | Translates the given text in English into other languages. [Read more...](docs/translate-text.md) |
|
||||
| [weather.ps1](scripts/weather.ps1) | Prints the current weather forecast. [Read more...](docs/weather.md) |
|
||||
| [weather-report.ps1](scripts/weather-report.ps1) | Prints the local weather report. [Read more...](docs/weather-report.md) |
|
||||
| [what-is.ps1](scripts/what-is.ps1) | Prints a description of the given abbreviation. [Read more...](docs/what-is.md) |
|
||||
| [write-animated.ps1](scripts/write-animated.ps1) | Writes animated text. [Read more...](docs/write-animated.md) |
|
||||
| [write-big.ps1](scripts/write-big.ps1) | Writes the given text in big letters. [Read more...](docs/write-big.md) |
|
||||
| [write-blue.ps1](scripts/write-blue.ps1) | Writes the given text in a blue foreground color. [Read more...](docs/write-blue.md) |
|
||||
| [write-braille.ps1](scripts/write-braille.ps1) | Writes the given text in Braille. [Read more...](docs/write-braille.md) |
|
||||
| [write-calendar.ps1](scripts/write-calendar.ps1) | Writes the calendar (month of year). [Read more...](docs/write-calendar.md) |
|
||||
| [write-green.ps1](scripts/write-green.ps1) | Writes the given text in a green foreground color. [Read more...](docs/write-green.md) |
|
||||
| [write-joke.ps1](scripts/write-joke.ps1) | Writes a random Juck Norris joke. [Read more...](docs/write-joke.md) |
|
||||
| [write-lowercase.ps1](scripts/write-lowercase.ps1) | Writes the given text in lowercase letters. [Read more...](docs/write-lowercase.md) |
|
||||
| [write-marquee.ps1](scripts/write-marquee.ps1) | Writes the given text as marquee. [Read more...](docs/write-marquee.md) |
|
||||
| [write-morse-code.ps1](scripts/write-morse-code.ps1) | Writes the given text in Morse code. [Read more...](docs/write-morse-code.md) |
|
||||
| [write-motd.ps1](scripts/write-motd.ps1) | Writes the message of the day (MOTD). [Read more...](docs/write-motd.md) |
|
||||
| [write-quote.ps1](scripts/write-quote.ps1) | Writes a random quote. [Read more...](docs/write-quote.md) |
|
||||
| [write-red.ps1](scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](docs/write-red.md) |
|
||||
| [write-rot13.ps1](scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](docs/write-rot13.md) |
|
||||
| [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [Read more...](docs/write-typewriter.md) |
|
||||
| [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [Read more...](docs/write-uppercase.md) |
|
||||
| [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [Read more...](docs/write-vertical.md) |
|
||||
|
||||
Feedback
|
||||
--------
|
||||
Send your email feedback to: markus.fleschutz [at] gmail [dot] com
|
||||
📧 Feedback
|
||||
------------
|
||||
Send your email feedback to: `markus.fleschutz [at] gmail.com`
|
||||
|
||||
License & Copyright
|
||||
-------------------
|
||||
This open source project is licensed under the CC0 license. All trademarks are the property of their respective owners.
|
||||
🤝 License & Copyright
|
||||
-----------------------
|
||||
This open source project is licensed under the CC0-1.0 license. All trademarks are the property of their respective owners.
|
||||
|
@ -1,64 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Adds firewall rules for executables (needs admin rights)
|
||||
.DESCRIPTION
|
||||
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
||||
.PARAMETER PathToExecutables
|
||||
Specifies the path to the executables
|
||||
.EXAMPLE
|
||||
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
param([string]$PathToExecutables = "")
|
||||
|
||||
$command = '
|
||||
$output = ''Firewall rules for path '' + $args[0]
|
||||
write-output $output
|
||||
for($i = 1; $i -lt $args.count; $i++){
|
||||
$path = $args[0]
|
||||
$path += ''\''
|
||||
$path += $args[$i]
|
||||
|
||||
$null = $args[$i] -match ''[^\\]*\.exe$''
|
||||
$name = $matches[0]
|
||||
$output = ''Adding firewall rule for '' + $name
|
||||
write-output $output
|
||||
$null = New-NetFirewallRule -DisplayName $name -Direction Inbound -Program $path -Profile Domain, Private -Action Allow
|
||||
}
|
||||
write-host -foregroundColor green -noNewline ''Done - press any key to continue...'';
|
||||
[void]$Host.UI.RawUI.ReadKey(''NoEcho,IncludeKeyDown'');
|
||||
'
|
||||
|
||||
|
||||
try {
|
||||
if ($PathToExecutables -eq "" ) {
|
||||
$PathToExecutables = read-host "Enter path to executables"
|
||||
}
|
||||
|
||||
$PathToExecutables = Convert-Path -Path $PathToExecutables
|
||||
|
||||
$Apps = Get-ChildItem "$PathToExecutables\*.exe" -Name
|
||||
|
||||
if($Apps.count -eq 0){
|
||||
write-warning "No executables found. No Firewall rules have been created."
|
||||
Write-Host -NoNewhLine 'Press any key to continue...';
|
||||
[void]$Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
|
||||
exit 1
|
||||
}
|
||||
|
||||
$arg = "PathToExecutables $Apps"
|
||||
Start-Process powershell -Verb runAs -ArgumentList "-command & {$command} $arg"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,135 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Builds a repository
|
||||
.DESCRIPTION
|
||||
This PowerShell script builds a repository by supporting: cmake, configure, autogen, Imakefile, and Makefile.
|
||||
.PARAMETER RepoDir
|
||||
Specifies the path to the Git repository
|
||||
.EXAMPLE
|
||||
PS> ./build-repo.ps1 C:\MyRepo
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$RepoDir = "$PWD")
|
||||
|
||||
function BuildInDir { param($Path)
|
||||
$DirName = (Get-Item "$Path").Name
|
||||
if (Test-Path "$Path/CMakeLists.txt" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using CMakeLists.txt into subfolder _My_Build ..."
|
||||
if (-not(Test-Path "$Path/_My_Build/" -pathType container)) {
|
||||
& mkdir "$Path/_My_Build/"
|
||||
}
|
||||
Set-Location "$Path/_My_Build/"
|
||||
|
||||
& cmake ..
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' has failed" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
& make test
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/configure" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using 'configure'..."
|
||||
Set-Location "$Path/"
|
||||
|
||||
& ./configure
|
||||
#if ($lastExitCode -ne "0") { throw "Script 'configure' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
& make test
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/autogen.sh" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using 'autogen.sh'..."
|
||||
Set-Location "$Path/"
|
||||
|
||||
& ./autogen.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'autogen.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/build.gradle" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using build.gradle..."
|
||||
Set-Location "$Path"
|
||||
|
||||
& gradle build
|
||||
if ($lastExitCode -ne "0") { throw "'gradle build' has failed" }
|
||||
|
||||
& gradle test
|
||||
if ($lastExitCode -ne "0") { throw "'gradle test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/Imakefile" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using Imakefile..."
|
||||
Set-Location "$RepoDir/"
|
||||
|
||||
& xmkmf
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'xmkmf' has failed" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/Makefile" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using Makefile..."
|
||||
Set-Location "$Path"
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/makefile" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using makefile..."
|
||||
Set-Location "$Path"
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/compile.sh" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using 'compile.sh'..."
|
||||
Set-Location "$Path/"
|
||||
|
||||
& ./compile.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'compile.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$Path/attower/src/build/DevBuild/build.bat" -pathType leaf) {
|
||||
"⏳ Building repo 📂$DirName using build.bat ..."
|
||||
Set-Location "$Path/attower/src/build/DevBuild/"
|
||||
|
||||
& ./build.bat build-all-release
|
||||
if ($lastExitCode -ne "0") { throw "Script 'build.bat' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$Path/$DirName" -pathType container) {
|
||||
"⏳ No make rule found, trying subfolder 📂$($DirName)..."
|
||||
BuildInDir "$Path/$DirName"
|
||||
} else {
|
||||
Write-Warning "Sorry, no make rule applies to: 📂$DirName"
|
||||
exit 0 # success
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
||||
$RepoDirName = (Get-Item "$RepoDir").Name
|
||||
|
||||
$PreviousPath = Get-Location
|
||||
BuildInDir "$RepoDir"
|
||||
Set-Location "$PreviousPath"
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ built repo 📂$RepoDirName in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Change to the crash dumps folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the crash dumps directory (Windows only).
|
||||
.EXAMPLE
|
||||
PS> ./cd-crashdumps
|
||||
📂C:\Users\Markus\AppData\Local\CrashDumps
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
[string]$Path = Resolve-Path -Path "~"
|
||||
if (!(Test-Path $Path)) { throw "Home directory at $Path doesn't exist (yet)" }
|
||||
$Path += "\AppData\Local\CrashDumps"
|
||||
if (!(Test-Path $Path)) { throw "Crashdumps directory at $Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the battery
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the status of the system battery and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-battery.ps1
|
||||
⚠️ Battery 9% low, 54 min remaining
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$Reply = "✅ AC powered" # TODO, just guessing :-)
|
||||
} else {
|
||||
Add-Type -Assembly System.Windows.Forms
|
||||
$Details = [System.Windows.Forms.SystemInformation]::PowerStatus
|
||||
[int]$Percent = 100 * $Details.BatteryLifePercent
|
||||
[int]$Remaining = $Details.BatteryLifeRemaining / 60
|
||||
if ($Details.PowerLineStatus -eq "Online") {
|
||||
if ($Details.BatteryChargeStatus -eq "NoSystemBattery") {
|
||||
$Reply = "✅ AC powered"
|
||||
} elseif ($Percent -ge 95) {
|
||||
$Reply = "✅ Battery fully charged ($Percent%)"
|
||||
} else {
|
||||
$Reply = "✅ Battery charging... ($Percent%)"
|
||||
}
|
||||
} else { # must be offline
|
||||
if ($Remaining -eq 0) {
|
||||
$Reply = "✅ Battery at $Percent%, calculating remaining time..."
|
||||
} elseif ($Remaining -le 5) {
|
||||
$Reply = "⚠️ Battery at $Percent%, ONLY $Remaining MIN remaining"
|
||||
} elseif ($Remaining -le 30) {
|
||||
$Reply = "⚠️ Battery at $Percent%, only $Remaining min remaining"
|
||||
} elseif ($Percent -lt 10) {
|
||||
$Reply = "⚠️ Battery $Percent% low, $Remaining min remaining"
|
||||
} elseif ($Percent -ge 80) {
|
||||
$Reply = "✅ Battery $Percent% full, $Remaining min remaining"
|
||||
} else {
|
||||
$Reply = "✅ Battery at $Percent%, $Remaining min remaining"
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Output $Reply
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the BIOS status
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the BIOS status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-bios.ps1
|
||||
✅ BIOS model F6 version ALASKA - 1072009 by American Megatrends Inc.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
Write-Progress "⏳ Querying BIOS details..."
|
||||
$Model = (sudo dmidecode -s system-product-name)
|
||||
if ("$Model" -ne "") {
|
||||
$Version = (sudo dmidecode -s bios-version)
|
||||
$RelDate = (sudo dmidecode -s bios-release-date)
|
||||
$Manufacturer = (sudo dmidecode -s system-manufacturer)
|
||||
Write-Host "✅ BIOS model $Model version $Version of $RelDate by $Manufacturer"
|
||||
}
|
||||
Write-Progress -completed "."
|
||||
} else {
|
||||
$BIOS = Get-CimInstance -ClassName Win32_BIOS
|
||||
$Model = $BIOS.Name.Trim()
|
||||
$Version = $BIOS.Version.Trim()
|
||||
$Serial = $BIOS.SerialNumber.Trim()
|
||||
$Manufacturer = $BIOS.Manufacturer.Trim()
|
||||
if ($Serial -eq "To be filled by O.E.M.") {
|
||||
Write-Host "✅ BIOS model $Model version $Version by $Manufacturer"
|
||||
} else {
|
||||
Write-Host "✅ BIOS model $Model version $Version, S/N $Serial, by $Manufacturer"
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the CPU status
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the CPU status and prints it (name, type, speed, temperature, etc).
|
||||
.EXAMPLE
|
||||
PS> ./check-cpu.ps1
|
||||
✅ AMD Ryzen 5 5500U with Radeon Graphics (CPU0, 2100MHz, 31.3°C)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function GetCPUTemperatureInCelsius {
|
||||
$Temp = 99999.9 # unsupported
|
||||
if ($IsLinux) {
|
||||
if (Test-Path "/sys/class/thermal/thermal_zone0/temp" -pathType leaf) {
|
||||
[int]$IntTemp = Get-Content "/sys/class/thermal/thermal_zone0/temp"
|
||||
$Temp = [math]::round($IntTemp / 1000.0, 1)
|
||||
}
|
||||
} else {
|
||||
$Objects = Get-WmiObject -Query "SELECT * FROM Win32_PerfFormattedData_Counters_ThermalZoneInformation" -Namespace "root/CIMV2"
|
||||
foreach ($Obj in $Objects) {
|
||||
$HiPrec = $Obj.HighPrecisionTemperature
|
||||
$Temp = [math]::round($HiPrec / 100.0, 1)
|
||||
}
|
||||
}
|
||||
return $Temp;
|
||||
}
|
||||
|
||||
function GetProcessorArchitecture {
|
||||
if ("$env:PROCESSOR_ARCHITECTURE" -ne "") { return "$env:PROCESSOR_ARCHITECTURE" }
|
||||
if ($IsLinux) {
|
||||
$Name = $PSVersionTable.OS
|
||||
if ($Name -like "*-generic *") {
|
||||
if ([System.Environment]::Is64BitOperatingSystem) { return "x64" } else { return "x86" }
|
||||
} elseif ($Name -like "*-raspi *") {
|
||||
if ([System.Environment]::Is64BitOperatingSystem) { return "ARM64" } else { return "ARM32" }
|
||||
} else {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
Write-Progress "⏳ Querying CPU details..."
|
||||
$Status = "✅"
|
||||
$Celsius = GetCPUTemperatureInCelsius
|
||||
if ($Celsius -eq 99999.9) {
|
||||
$Temp = "no temp"
|
||||
} elseif ($Celsius -gt 50) {
|
||||
$Temp = "$($Celsius)°C"
|
||||
$Status = "⚠️"
|
||||
} elseif ($Celsius -lt 0) {
|
||||
$Temp = "$($Celsius)°C"
|
||||
$Status = "⚠️"
|
||||
} else {
|
||||
$Temp = "$($Celsius)°C"
|
||||
}
|
||||
|
||||
$Arch = GetProcessorArchitecture
|
||||
if ($IsLinux) {
|
||||
$CPUName = "$Arch CPU"
|
||||
$Arch = ""
|
||||
$DeviceID = ""
|
||||
$Speed = ""
|
||||
$Socket = ""
|
||||
} else {
|
||||
$Details = Get-WmiObject -Class Win32_Processor
|
||||
$CPUName = $Details.Name.trim()
|
||||
$Arch = "$Arch, "
|
||||
$DeviceID = "$($Details.DeviceID), "
|
||||
$Speed = "$($Details.MaxClockSpeed)MHz, "
|
||||
$Socket = "$($Details.SocketDesignation) socket, "
|
||||
}
|
||||
$Cores = [System.Environment]::ProcessorCount
|
||||
Write-Progress -completed "done."
|
||||
Write-Host "$Status $CPUName ($($Arch)$Cores cores, $($DeviceID)$($Speed)$($Socket)$Temp)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Check DNS resolution
|
||||
.DESCRIPTION
|
||||
This PowerShell script measures and prints the DNS resolution speed by using 200 popular domains.
|
||||
.EXAMPLE
|
||||
PS> ./check-dns.ps1
|
||||
✅ DNS resolves 156.5 domains per second
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
Write-Progress "⏳ Resolving 200 popular domain names..."
|
||||
$table = Import-CSV "$PSScriptRoot/../Data/popular-domains.csv"
|
||||
$numRows = $table.Length
|
||||
|
||||
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
if ($IsLinux) {
|
||||
foreach($row in $table){$nop=dig $row.Domain +short}
|
||||
} else {
|
||||
foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
||||
}
|
||||
Write-Progress -completed "."
|
||||
[float]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
$average = [math]::round($numRows / $elapsed, 1)
|
||||
if ($average -lt 10.0) {
|
||||
Write-Output "⚠️ DNS resolves $average domains per second only"
|
||||
} else {
|
||||
Write-Output "✅ DNS resolves $average domains per second"
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the drive space
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks all drives for free space left.
|
||||
.PARAMETER MinLevel
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: with 250GB at 10%, 225GB free
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([int]$MinLevel = 10) # 10 GB minimum
|
||||
|
||||
function Bytes2String { param([int64]$Bytes)
|
||||
if ($Bytes -lt 1000) { return "$Bytes bytes" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)KB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)MB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)GB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)TB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)PB" }
|
||||
$Bytes /= 1000
|
||||
if ($Bytes -lt 1000) { return "$($Bytes)EB" }
|
||||
}
|
||||
|
||||
try {
|
||||
Write-Progress "⏳ Querying drives..."
|
||||
$Drives = Get-PSDrive -PSProvider FileSystem
|
||||
Write-Progress -completed "."
|
||||
foreach($Drive in $Drives) {
|
||||
$Details = (Get-PSDrive $Drive.Name)
|
||||
if ($IsLinux) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
|
||||
[int64]$Free = $Details.Free
|
||||
[int64]$Used = $Details.Used
|
||||
[int64]$Total = ($Used + $Free)
|
||||
|
||||
if ($Total -eq 0) {
|
||||
Write-Host "✅ Drive $ID is empty"
|
||||
} elseif ($Free -eq 0) {
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is 100% full"
|
||||
} elseif ($Free -lt $MinLevel) {
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is nearly full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
[int]$Percent = ($Used * 100) / $Total
|
||||
if ($Percent -gt 90) {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) is $Percent% full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) at $Percent%, $(Bytes2String $Free) free"
|
||||
}
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the IP address
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the public IP address and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-ip.ps1
|
||||
✅ Public IPv4 185.77.209.161, IPv6 2003:f2:6128:fc01:e503:601:30c2:a028 near Munich
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$PublicIPv4 = (curl -4 --silent ifconfig.co)
|
||||
$PublicIPv6 = (curl -6 --silent ifconfig.co)
|
||||
$City = (curl --silent ifconfig.co/city)
|
||||
} else {
|
||||
$PublicIPv4 = (curl.exe -4 --silent ifconfig.co)
|
||||
$PublicIPv6 = (curl.exe -6 --silent ifconfig.co)
|
||||
$City = (curl.exe --silent ifconfig.co/city)
|
||||
}
|
||||
Write-Output "✅ Public IPv4 $PublicIPv4, IPv6 $PublicIPv6 near $City"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the ping latency
|
||||
.DESCRIPTION
|
||||
This PowerShell script measures the ping roundtrip times from the local computer to 10 Internet servers.
|
||||
.PARAMETER hosts
|
||||
Specifies the hosts to check, seperated by commata (default is: amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,github.com,google.com,live.com,twitter.com,youtube.com)
|
||||
.EXAMPLE
|
||||
PS> ./check-ping.ps1
|
||||
✅ Ping latency is 29ms average (13ms...109ms, 0 loss)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$hosts = "amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,github.com,google.com,live.com,twitter.com,youtube.com")
|
||||
|
||||
try {
|
||||
Write-Host "✅ Ping latency is" -noNewline
|
||||
$hostsArray = $hosts.Split(",")
|
||||
$t = $hostsArray | foreach {
|
||||
(New-Object Net.NetworkInformation.Ping).SendPingAsync($_, 250)
|
||||
}
|
||||
[Threading.Tasks.Task]::WaitAll($t)
|
||||
[int]$min = 9999999
|
||||
[int]$max = [int]$avg = [int]$successCount = [int]$lossCount = 0
|
||||
foreach($ping in $t.Result) {
|
||||
if ($ping.Status -eq "Success") {
|
||||
[int]$latency = $ping.RoundtripTime
|
||||
if ($latency -lt $min) { $min = $Latency }
|
||||
if ($latency -gt $max) { $max = $Latency }
|
||||
$avg += $latency
|
||||
$successCount++
|
||||
} else {
|
||||
$lossCount++
|
||||
}
|
||||
}
|
||||
$avg /= $successCount
|
||||
Write-Host " $($avg)ms average ($($min)ms...$($max)ms, $lossCount loss)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Check the PowerShell status
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the PowerShell status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-powershell.ps1
|
||||
✅ PowerShell Desktop edition 5.1.19041.2673 (10 modules, 1458 cmdlets, 172 aliases)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$Version = $PSVersionTable.PSVersion
|
||||
$Edition = $PSVersionTable.PSEdition
|
||||
$NumModules = (Get-Module).Count
|
||||
$NumAliases = (Get-Alias).Count
|
||||
if ($IsLinux) {
|
||||
"✅ PowerShell $Edition edition $Version ($NumModules modules, $NumAliases aliases)"
|
||||
} else {
|
||||
$NumCmdlets = (Get-Command -Command-Type cmdlet).Count
|
||||
"✅ PowerShell $Edition edition $Version ($NumModules modules, $NumCmdlets cmdlets, $NumAliases aliases)"
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the uptime
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the computer's uptime and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-uptime.ps1
|
||||
✅ Up for 2 days, 20 hours, 10 minutes
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$Uptime = (Get-Uptime)
|
||||
} else {
|
||||
$BootTime = Get-WinEvent -ProviderName eventlog | Where-Object {$_.Id -eq 6005} | Select-Object TimeCreated -First 1
|
||||
$Uptime = New-TimeSpan -Start $BootTime.TimeCreated.Date -End (Get-Date)
|
||||
}
|
||||
$Reply = "✅ Up for "
|
||||
$Days = $Uptime.Days
|
||||
if ($Days -eq "1") {
|
||||
$Reply += "1 day, "
|
||||
} elseif ($Days -ne "0") {
|
||||
$Reply += "$Days days, "
|
||||
}
|
||||
|
||||
$Hours = $Uptime.Hours
|
||||
if ($Hours -eq "1") {
|
||||
$Reply += "1 hour, "
|
||||
} elseif ($Hours -ne "0") {
|
||||
$Reply += "$Hours hours, "
|
||||
}
|
||||
|
||||
$Minutes = $Uptime.Minutes
|
||||
if ($Minutes -eq "1") {
|
||||
$Reply += "1 minute"
|
||||
} else {
|
||||
$Reply += "$Minutes minutes"
|
||||
}
|
||||
Write-Host $Reply
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Cleans all Git repositories in a folder from untracked files
|
||||
.DESCRIPTION
|
||||
This PowerShell script cleans all Git repositories in a folder from untracked files (including submodules).
|
||||
.PARAMETER ParentDir
|
||||
Specifies the path to the parent folder
|
||||
.EXAMPLE
|
||||
PS> ./clean-repos C:\MyRepos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$ParentDir = "$PWD")
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
Write-Host "⏳ (1) Searching for Git executable... " -noNewline
|
||||
& git --version
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
||||
|
||||
$ParentDirName = (Get-Item "$ParentDir").Name
|
||||
Write-Host "⏳ (2) Checking parent folder 📂$ParentDirName... " -noNewline
|
||||
if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" }
|
||||
$Folders = (Get-ChildItem "$ParentDir" -attributes Directory)
|
||||
$NumFolders = $Folders.Count
|
||||
Write-Host "$NumFolders subfolders found"
|
||||
|
||||
[int]$Step = 2
|
||||
foreach ($Folder in $Folders) {
|
||||
$FolderName = (Get-Item "$Folder").Name
|
||||
$Step++
|
||||
"⏳ ($Step/$($NumFolders + 2)) Cleaning 📂$FolderName..."
|
||||
|
||||
& git -C "$Folder" clean -xfd -f # force + recurse into dirs + don't use the standard ignore rules
|
||||
if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' failed with exit code $lastExitCode" }
|
||||
|
||||
& git -C "$Folder" submodule foreach --recursive git clean -xfd -f
|
||||
if ($lastExitCode -ne "0") { throw "'git clean -xfd -f' in submodules failed with exit code $lastExitCode" }
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ cleaned $NumFolders Git repositories at 📂$ParentDirName in $Elapsed sec."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Clones Git repos
|
||||
.DESCRIPTION
|
||||
This PowerShell script clones popular Git repositories into a target directory.
|
||||
.PARAMETER targetDir
|
||||
Specifies the file path to the target directory (current working directory by default)
|
||||
.EXAMPLE
|
||||
PS> ./clone-repos C:\Repos
|
||||
⏳ (1) Searching for Git executable... git version 2.41.0.windows.3
|
||||
⏳ (2) Loading Data/popular-git-repos.csv... 28 repos
|
||||
⏳ (3) Checking target folder... 📂repos
|
||||
⏳ (4/32) Cloning into 📂base256unicode (dev tool)...
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$TargetDir = "$PWD")
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
Write-Host "⏳ (1) Searching for Git executable... " -noNewline
|
||||
& git --version
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
||||
|
||||
Write-Host "⏳ (2) Loading Data/popular-git-repos.csv... " -noNewline
|
||||
$Table = Import-CSV "$PSScriptRoot/../Data/popular-git-repos.csv"
|
||||
$NumEntries = $Table.count
|
||||
Write-Host "$NumEntries repos"
|
||||
|
||||
$TargetDirName = (Get-Item "$TargetDir").Name
|
||||
Write-Host "⏳ (3) Checking target folder... 📂$TargetDirName"
|
||||
if (-not(Test-Path "$TargetDir" -pathType container)) { throw "Can't access directory: $TargetDir" }
|
||||
|
||||
[int]$Step = 3
|
||||
[int]$Cloned = 0
|
||||
[int]$Skipped = 0
|
||||
foreach($Row in $Table) {
|
||||
[string]$FolderName = $Row.FOLDERNAME
|
||||
[string]$Category = $Row.CATEGORY
|
||||
[string]$Branch = $Row.BRANCH
|
||||
[string]$Full = $Row.FULL
|
||||
[string]$URL = $Row.URL
|
||||
$Step++
|
||||
|
||||
if (Test-Path "$TargetDir/$FolderName" -pathType container) {
|
||||
"⏳ ($Step/$($NumEntries + 4)) Skipping existing 📂$FolderName ($Category)..."
|
||||
$Skipped++
|
||||
continue
|
||||
}
|
||||
if ($Full -eq "yes") {
|
||||
"⏳ ($Step/$($NumEntries + 4)) Cloning into 📂$FolderName ($Category) - $Branch branch with full history..."
|
||||
& git clone --branch "$Branch" --recurse-submodules "$URL" "$TargetDir/$FolderName"
|
||||
if ($lastExitCode -ne "0") { throw "'git clone --branch $Branch $URL' failed with exit code $lastExitCode" }
|
||||
} else {
|
||||
"⏳ ($Step/$($NumEntries + 4)) Cloning into 📂$FolderName ($Category) - $Branch branch only..."
|
||||
& git clone --branch "$Branch" --single-branch --recurse-submodules "$URL" "$TargetDir/$FolderName"
|
||||
if ($lastExitCode -ne "0") { throw "'git clone --branch $Branch $URL' failed with exit code $lastExitCode" }
|
||||
}
|
||||
$Cloned++
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Cloning $Cloned of $NumEntries Git repos into folder 📂$TargetDirName took $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1 +0,0 @@
|
||||
gci -r -i *.md |foreach{$pdf=$_.directoryname+"\"+$_.basename+".pdf";pandoc -f markdown -s --citeproc $_.name -o $pdf}
|
@ -1,87 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Copy photos sorted by year and month
|
||||
.DESCRIPTION
|
||||
This PowerShell script copies image files from SourceDir to TargetDir sorted by year and month.
|
||||
.PARAMETER SourceDir
|
||||
Specifies the path to the source folder
|
||||
.PARAMTER TargetDir
|
||||
Specifies the path to the target folder
|
||||
.EXAMPLE
|
||||
PS> ./copy-photos-sorted.ps1 D:\iPhone\DCIM C:\MyPhotos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$SourceDir = "", [string]$TargetDir = "")
|
||||
|
||||
function CopyFile { param([string]$SourcePath, [string]$TargetDir, [int]$Date, [string]$Filename)
|
||||
[int]$Year = $Date / 10000
|
||||
[int]$Month = ($Date / 100) % 100
|
||||
$MonthDir = switch($Month) {
|
||||
1 {"01 JAN"}
|
||||
2 {"02 FEB"}
|
||||
3 {"03 MAR"}
|
||||
4 {"04 APR"}
|
||||
5 {"05 MAY"}
|
||||
6 {"06 JUN"}
|
||||
7 {"07 JUL"}
|
||||
8 {"08 AUG"}
|
||||
9 {"09 SEP"}
|
||||
10 {"10 OCT"}
|
||||
11 {"11 NOV"}
|
||||
12 {"12 DEC"}
|
||||
}
|
||||
$TargetPath = "$TargetDir/$Year/$MonthDir/$Filename"
|
||||
if (Test-Path "$TargetPath" -pathType leaf) {
|
||||
Write-Host "⏳ Skipping existing $Year/$MonthDir/$Filename..."
|
||||
} else {
|
||||
Write-Host "⏳ Copying $Filename to $Year/$MonthDir..."
|
||||
New-Item -path "$TargetDir" -name "$Year" -itemType "directory" -force | out-null
|
||||
New-Item -path "$TargetDir/$Year" -name "$MonthDir" -itemType "directory" -force | out-null
|
||||
Copy-Item "$SourcePath" "$TargetPath" -force
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
if ($SourceDir -eq "") { $SourceDir = Read-Host "Enter file path to source directory" }
|
||||
if ($TargetDir -eq "") { $TargetDir = Read-Host "Enter file path to target directory" }
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
Write-Host "⏳ Checking source directory 📂$($SourceDir)..."
|
||||
if (-not(Test-Path "$SourceDir" -pathType container)) { throw "Can't access source directory: $SourceDir" }
|
||||
$Files = (Get-ChildItem "$SourceDir\*.jpg" -attributes !Directory)
|
||||
|
||||
Write-Host "⏳ Checking target directory 📂$($TargetDir)..."
|
||||
if (-not(Test-Path "$TargetDir" -pathType container)) { throw "Can't access target directory: $TargetDir" }
|
||||
|
||||
foreach($File in $Files) {
|
||||
$Filename = (Get-Item "$File").Name
|
||||
if ("$Filename" -like "IMG_*_*.jpg") {
|
||||
$Array = $Filename.split("_")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "IMG-*-*.jpg") {
|
||||
$Array = $Filename.split("-")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "PANO_*_*.jpg") {
|
||||
$Array = $Filename.split("_")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "PANO-*-*.jpg") {
|
||||
$Array = $Filename.split("-")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} elseif ("$Filename" -like "SAVE_*_*.jpg") {
|
||||
$Array = $Filename.split("_")
|
||||
CopyFile "$File" "$TargetDir" $Array[1] "$Filename"
|
||||
} else {
|
||||
Write-Host "⏳ Skipping $Filename with unknown filename format..."
|
||||
}
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ copied $($Files.Count) photos from 📂$SourceDir to 📂$TargetDir in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Counts lines of code
|
||||
.DESCRIPTION
|
||||
This PowerShell script counts the number of code lines in a folder (including subfolders).
|
||||
.PARAMETER Folder
|
||||
Specifies the path to the folder
|
||||
.EXAMPLE
|
||||
PS> ./count-lines-of-code.ps1 .
|
||||
⏳ Counting lines at 📂C:\PowerShell\Scripts ...
|
||||
✔️ 📂Scripts contains 15287 lines of code in 485 files (took 1 sec)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$Folder = "")
|
||||
|
||||
try {
|
||||
if ($Folder -eq "" ) { $Folder = read-host "Enter the path to the folder" }
|
||||
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
$Folder = Resolve-Path "$Folder"
|
||||
"⏳ Counting lines at 📂$Folder ..."
|
||||
|
||||
[int]$Files = [int]$CodeLines = 0
|
||||
Get-ChildItem -Path $Folder -Include *.c,*.h,*.cpp,*.hpp,*.java,*.ps1 -Recurse | ForEach-Object {
|
||||
$FileStats = Get-Content $_.FullName | Measure-Object -line
|
||||
$CodeLines += $FileStats.Lines
|
||||
$Files++
|
||||
}
|
||||
|
||||
$FolderName = (Get-Item "$Folder").Name
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ 📂$FolderName contains $CodeLines lines of code in $Files files (took $Elapsed sec)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Fetches updates into Git repos
|
||||
.DESCRIPTION
|
||||
This PowerShell script fetches updates into all Git repositories in a folder (including submodules).
|
||||
.PARAMETER ParentDir
|
||||
Specifies the path to the parent folder
|
||||
.EXAMPLE
|
||||
PS> ./fetch-repos.ps1 C:\MyRepos
|
||||
⏳ (1) Searching for Git executable... git version 2.41.0.windows.3
|
||||
⏳ (2) Checking parent folder... 33 subfolders
|
||||
⏳ (3/35) Fetching into 📂base256unicode...
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$ParentDir = "$PWD")
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
Write-Host "⏳ (1) Searching for Git executable... " -noNewline
|
||||
& git --version
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
||||
|
||||
Write-Host "⏳ (2) Checking parent folder... " -noNewline
|
||||
if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" }
|
||||
$Folders = (Get-ChildItem "$ParentDir" -attributes Directory)
|
||||
$NumFolders = $Folders.Count
|
||||
$ParentDirName = (Get-Item "$ParentDir").Name
|
||||
Write-Host "$NumFolders subfolders"
|
||||
|
||||
[int]$Step = 2
|
||||
foreach ($Folder in $Folders) {
|
||||
$FolderName = (Get-Item "$Folder").Name
|
||||
$Step++
|
||||
Write-Host "⏳ ($Step/$($NumFolders + 2)) Fetching into 📂$FolderName... "
|
||||
|
||||
& git -C "$Folder" fetch --all --recurse-submodules --prune --prune-tags --force
|
||||
if ($lastExitCode -ne "0") { throw "'git fetch' in $Folder failed with exit code $lastExitCode" }
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Fetching updates into $NumFolders repositories under 📂$ParentDirName took $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Installs the Chrome browser
|
||||
.DESCRIPTION
|
||||
This PowerShell script installs the latest Google Chrome Web browser.
|
||||
.EXAMPLE
|
||||
PS> ./install-chrome-browser.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
$Path = $env:TEMP;
|
||||
$Installer = "chrome_installer.exe"
|
||||
Invoke-WebRequest "http://dl.google.com/chrome/install/latest/chrome_installer.exe" -OutFile $Path\$Installer
|
||||
Start-Process -FilePath $Path\$Installer -Args "/silent /install" -Verb RunAs -Wait
|
||||
Remove-Item $Path\$Installer
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ installed Google Chrome in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Introduces PowerShell to new users
|
||||
.DESCRIPTION
|
||||
This PowerShell script introduces PowerShell to new users.
|
||||
.EXAMPLE
|
||||
PS> ./introduce-powershell.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
Clear-Host
|
||||
""
|
||||
& "$PSScriptRoot/write-animated.ps1" "Welcome to"
|
||||
""
|
||||
& "$PSScriptRoot/write-big.ps1" " POWERSHELL"
|
||||
""
|
||||
& "$PSScriptRoot/write-animated.ps1" "May the force be with you!"
|
||||
""
|
||||
""
|
||||
""
|
||||
$Version = $PSVersionTable.PSVersion
|
||||
$Edition = $PSVersionTable.PSEdition
|
||||
$NumModules = (Get-Module).Count
|
||||
$NumAliases = (Get-Alias).Count
|
||||
$Details = "PowerShell $Version ($Edition edition) with $NumModules modules and $NumAliases aliases"
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "This is $Details" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Want to learn PowerShell? See the tutorials at: https://www.guru99.com/powershell-tutorial.html" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Need docs? See the official documentation at: https://docs.microsoft.com/en-us/powershell" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Take a look under the hood and visit the PowerShell Github repository at: https://github.com/PowerShell/PowerShell" 25
|
||||
""
|
||||
Write-Host "🔸 " -noNewline
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "Want examples? See the mega collection of PowerShell scripts at: https://github.com/fleschutz/PowerShell" 25
|
||||
""
|
||||
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "NOTE: use <Ctrl> + <Click> to follow the links above and HAVE FUN!" 20
|
||||
""
|
||||
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists current weather of cities world-wide
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists the current weather of cities world-wide (west to east).
|
||||
.EXAMPLE
|
||||
PS> ./list-city-weather.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
$Cities="Hawaii","Los Angeles","Mexico City","Dallas","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Perth","Peking","Tokyo","Sydney"
|
||||
|
||||
function ListCityWeather {
|
||||
foreach($City in $Cities) {
|
||||
$Conditions = (Invoke-WebRequest http://wttr.in/${City}?format="%c +%t`t+%p`t+%h`t+%P +%w" -UserAgent "curl" -useBasicParsing).Content
|
||||
$Sun = (Invoke-WebRequest http://wttr.in/${City}?format="+%S →+%s" -UserAgent "curl" -useBasicParsing).Content
|
||||
New-Object PSObject -Property @{ City="$City"; Conditions="$Conditions"; Sun="$Sun" }
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
ListCityWeather | Format-Table -property City,Conditions,Sun
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists a directory tree
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists all files and folders in a directory tree.
|
||||
.PARAMETER DirTree
|
||||
Specifies the path to the directory tree
|
||||
.EXAMPLE
|
||||
PS> ./list-dir-tree.ps1 C:\
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$DirTree = "$PWD")
|
||||
|
||||
function GetFileIcon { param([string]$Suffix)
|
||||
switch ($Suffix) {
|
||||
".csv" {return "📊"}
|
||||
".epub" {return "📓"}
|
||||
".exe" {return "⚙️"}
|
||||
".gif" {return "📸"}
|
||||
".iso" {return "📀"}
|
||||
".jpg" {return "📸"}
|
||||
".mp3" {return "🎵"}
|
||||
".mkv" {return "🎬"}
|
||||
".zip" {return "🎁"}
|
||||
default {return "📄"}
|
||||
}
|
||||
}
|
||||
|
||||
function ListDir { param([string]$Directory, [int]$Depth)
|
||||
$Depth++
|
||||
$Items = Get-ChildItem -path $Directory
|
||||
foreach($Item in $Items) {
|
||||
$Filename = $Item.Name
|
||||
for ($i = 1; $i -lt $Depth; $i++) { Write-Host "│ " -noNewline }
|
||||
if ($Item.Mode -like "d*") {
|
||||
Write-Host "├" -noNewline
|
||||
Write-Host -foregroundColor green "📂$Filename"
|
||||
ListDir "$Directory\$Filename" $Depth
|
||||
$global:Dirs++
|
||||
} else {
|
||||
$Icon = GetFileIcon $Item.Extension
|
||||
Write-Host "├$($Icon)$Filename ($($Item.Length) bytes)"
|
||||
$global:Files++
|
||||
$global:Bytes += $Item.Length
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
[int]$global:Dirs = 1
|
||||
[int]$global:Files = 0
|
||||
[int]$global:Bytes = 0
|
||||
ListDir $DirTree 0
|
||||
" ($($global:Dirs) folders, $($global:Files) files, $($global:Bytes) bytes in total)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists empty subfolders
|
||||
.DESCRIPTION
|
||||
This PowerShell script scans and lists all empty subfolders within the given directory tree.
|
||||
.PARAMETER DirTree
|
||||
Specifies the path to the directory tree (current working directory by default)
|
||||
.EXAMPLE
|
||||
PS> ./list-empty-dirs.ps1 C:\
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$DirTree = "$PWD")
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
$DirTree = Resolve-Path "$DirTree"
|
||||
Write-Progress "Listing empty subfolders in $DirTree..."
|
||||
[int]$Count = 0
|
||||
Get-ChildItem "$DirTree" -attributes Directory -recurse | Where {$_.GetFileSystemInfos().Count -eq 0} | ForEach-Object {
|
||||
"📂$($_.FullName)"
|
||||
$Count++
|
||||
}
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ found $Count empty subfolders within directory tree $DirTree in $Elapsed sec."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists empty files within a directory tree
|
||||
.DESCRIPTION
|
||||
This PowerShell script scans and lists all empty files within the given directory tree.
|
||||
.PARAMETER DirTree
|
||||
Specifies the path to the directory tree
|
||||
.EXAMPLE
|
||||
PS> ./list-empty-files.ps1 C:\
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$DirTree = "")
|
||||
|
||||
try {
|
||||
if ($DirTree -eq "" ) { $DirTree = read-host "Enter the path to the directory tree" }
|
||||
|
||||
[int]$Count = 0
|
||||
write-progress "Listing empty files in $DirTree ..."
|
||||
get-childItem $DirTree -attributes !Directory -recurse | where {$_.Length -eq 0} | foreach-object {
|
||||
write-output $_.FullName
|
||||
$Count++
|
||||
}
|
||||
|
||||
"✔️ found $Count empty file(s)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists hidden files in a directory tree
|
||||
.DESCRIPTION
|
||||
This PowerShell script scans and lists all hidden files in a directory tree.
|
||||
.PARAMETER DirTree
|
||||
Specifies the path to the directory tree
|
||||
.EXAMPLE
|
||||
PS> ./list-hidden-files.ps1 C:\
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$DirTree = "$PWD")
|
||||
|
||||
try {
|
||||
$DirTree = resolve-path "$DirTree"
|
||||
write-progress "Listing hidden files in $DirTree ..."
|
||||
|
||||
[int]$Count = 0
|
||||
get-childItem "$DirTree" -attributes Hidden -recurse | foreach-object {
|
||||
"📄 $($_.FullName)"
|
||||
$Count++
|
||||
}
|
||||
"✔️ directory tree $DirTree has $Count hidden file(s)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists all PowerShell scripts
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists all PowerShell scripts in the repository (sorted alphabetically).
|
||||
.EXAMPLE
|
||||
PS> ./list-scripts.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function ListScripts { param([string]$FilePath)
|
||||
Write-Progress "Reading $FilePath..."
|
||||
$table = Import-CSV "$FilePath"
|
||||
[int]$No = 1
|
||||
foreach($row in $table) {
|
||||
New-Object PSObject -Property @{
|
||||
'No' = $No++
|
||||
'Script' = $row.SCRIPT
|
||||
'Description' = $row.DESCRIPTION
|
||||
}
|
||||
}
|
||||
$global:NumScripts = $Table.Count
|
||||
Write-Progress -completed "."
|
||||
}
|
||||
|
||||
try {
|
||||
ListScripts "$PSScriptRoot/../Data/scripts.csv" | Format-Table -property No,Script,Description
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists special folders
|
||||
.DESCRIPTION
|
||||
This PowerShell script lists all special folders (sorted alphabetically).
|
||||
.EXAMPLE
|
||||
PS> ./list-special-folders.ps1
|
||||
|
||||
Folder Name Folder Path
|
||||
----------- -----------
|
||||
AdminTools 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function GetTempDir {
|
||||
if ("$env:TEMP" -ne "") { return "$env:TEMP" }
|
||||
if ("$env:TMP" -ne "") { return "$env:TMP" }
|
||||
if ($IsLinux) { return "/tmp/" }
|
||||
return "C:\Temp"
|
||||
}
|
||||
|
||||
function AddLine { param([string]$FolderName, [string]$FolderPath)
|
||||
if (Test-Path "$FolderPath" -pathType container) {
|
||||
New-Object PSObject -property @{ 'Folder Name' = "$FolderName"; 'Folder Path' = "📂$FolderPath" }
|
||||
}
|
||||
}
|
||||
|
||||
function ListSpecialFolders {
|
||||
if ($IsLinux) {
|
||||
AddLine "Desktop" "$HOME/Desktop/"
|
||||
AddLine "Documents" "$HOME/Documents/"
|
||||
AddLine "Downloads" "$HOME/Downloads/"
|
||||
AddLine "Dropbox" "$HOME/Dropbox/"
|
||||
AddLine "Home" "$HOME/"
|
||||
AddLine "Music" "$HOME/Music/"
|
||||
AddLine "Pictures" "$HOME/Pictures/"
|
||||
AddLine "Repositories" "$HOME/Repos/"
|
||||
AddLine "Repositories" "$HOME/Repositories/"
|
||||
AddLine "Screenshots" "$HOME/Pictures/Screenshots/"
|
||||
AddLine "Snap" "$HOME/snap/"
|
||||
AddLine "SSH" "$HOME/.ssh/"
|
||||
AddLine "Trash" "$HOME/.local/share/Trash/"
|
||||
AddLine "Templates" "$Home/Templates/"
|
||||
AddLine "Temporary" "$(GetTempDir)"
|
||||
$Path = Resolve-Path "$HOME/.."
|
||||
AddLine "Users" "$Path/"
|
||||
AddLine "Videos" "$HOME/Videos/"
|
||||
} else {
|
||||
$FolderNames = [System.Enum]::GetNames('System.Environment+SpecialFolder')
|
||||
$FolderNames | Sort-Object | ForEach-Object {
|
||||
if ($Path = [System.Environment]::GetFolderPath($_)) {
|
||||
AddLine "$_" "$Path"
|
||||
}
|
||||
}
|
||||
AddLine "Repositories" "$HOME\source\repos"
|
||||
AddLine "SSH" "$HOME\.ssh"
|
||||
AddLine "Temporary" "$(GetTempDir)"
|
||||
$Path = Resolve-Path "$HOME/.."
|
||||
AddLine "Users" "$Path"
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
ListSpecialFolders | Format-Table -property @{e='Folder Name';width=18},'Folder Path'
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists unused files in a directory tree
|
||||
.DESCRIPTION
|
||||
This PowerShell script scans and lists files in a folder with last access time older than number of days.
|
||||
.PARAMETER DirTree
|
||||
Specifies the path to the directory tree
|
||||
.PARAMETER Days
|
||||
Specifies the number of days
|
||||
.EXAMPLE
|
||||
PS> ./list-unused-files.ps1 C:\ 100
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$DirTree = "", [int]$Days = 100)
|
||||
|
||||
write-host "Listing files in $DirTree with last access time older than $Days days"
|
||||
|
||||
try {
|
||||
$cutOffDate = (Get-Date).AddDays(-$Days)
|
||||
|
||||
Get-ChildItem -path $DirTree -recurse | Where-Object {$_.LastAccessTime -le $cutOffDate} | select fullname
|
||||
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Executes tasks on desktop login
|
||||
.DESCRIPTION
|
||||
This PowerShell script executes tasks on every desktop login.
|
||||
.EXAMPLE
|
||||
PS> ./on-desktop-login.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
& "$PSScriptRoot/open-dashboards.ps1"
|
||||
& "$PSScriptRoot/list-news.ps1"
|
||||
& "$PSScriptRoot/write-clock.ps1"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Open web dashboards
|
||||
.DESCRIPTION
|
||||
This PowerShell script launches the web browser with tabs of 18 dashboard websites.
|
||||
.EXAMPLE
|
||||
PS> ./open-dashboards.ps1
|
||||
⏳ (1/2) Loading Data/web-dashboards.csv...
|
||||
⏳ (2/2) Launching web browser with tabs of Toggl Track · Google Calendar · CNN News...
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
Write-Host "⏳ (1/2) Loading Data/web-dashboards.csv..."
|
||||
$table = Import-CSV "$PSScriptRoot/../Data/web-dashboards.csv"
|
||||
$numRows = $table.Length
|
||||
Write-Host "⏳ (2/2) Launching web browser with tabs of " -noNewline
|
||||
foreach($row in $table) {
|
||||
Write-Host "$($row.NAME) · " -noNewline
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)"
|
||||
Start-Sleep -milliseconds 100
|
||||
}
|
||||
Write-Host ""
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✅ Opened $NumRows web dashboards in $elapsed sec (Hint: use 'switch-tabs.ps1' to switch between the tabs automatically)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Launches the Visual Studio app
|
||||
.DESCRIPTION
|
||||
This script launches the Microsoft Visual Studio application.
|
||||
.EXAMPLE
|
||||
PS> ./open-visual-studio
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function TryLaunching { param($Path)
|
||||
if (test-path "$Path" -pathType leaf) {
|
||||
start-process "$Path"
|
||||
exit 0 # success
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
TryLaunching "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe"
|
||||
TryLaunching "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Pulls updates into Git repos
|
||||
.DESCRIPTION
|
||||
This PowerShell script pulls updates into all Git repositories in a folder (including submodules).
|
||||
.PARAMETER ParentDir
|
||||
Specifies the path to the parent folder
|
||||
.EXAMPLE
|
||||
PS> ./pull-repos C:\MyRepos
|
||||
⏳ (1) Searching for Git executable... git version 2.41.0.windows.3
|
||||
⏳ (2) Checking parent folder... 33 subfolders
|
||||
⏳ (3/35) Pulling into 📂base256unicode...
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$ParentDir = "$PWD")
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
Write-Host "⏳ (1) Searching for Git executable... " -NoNewline
|
||||
& git --version
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
||||
|
||||
Write-Host "⏳ (2) Checking parent folder... " -NoNewline
|
||||
if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" }
|
||||
$Folders = (Get-ChildItem "$ParentDir" -attributes Directory)
|
||||
$NumFolders = $Folders.Count
|
||||
$ParentDirName = (Get-Item "$ParentDir").Name
|
||||
Write-Host "$NumFolders subfolders"
|
||||
|
||||
[int]$Step = 3
|
||||
[int]$Failed = 0
|
||||
foreach ($Folder in $Folders) {
|
||||
$FolderName = (Get-Item "$Folder").Name
|
||||
Write-Host "⏳ ($Step/$($NumFolders + 2)) Pulling into 📂$FolderName... " -NoNewline
|
||||
|
||||
& git -C "$Folder" pull --recurse-submodules --jobs=4
|
||||
if ($lastExitCode -ne "0") { $Failed++; write-warning "'git pull' in 📂$FolderName failed" }
|
||||
|
||||
& git -C "$Folder" submodule update --init --recursive
|
||||
if ($lastExitCode -ne "0") { throw "'git submodule update' in 📂$Folder failed with exit code $lastExitCode" }
|
||||
$Step++
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Pulling updates into $NumFolders repositories under 📂$ParentDirName took $Elapsed sec ($Failed failed)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Search and replace a pattern in the given files by the replacement
|
||||
.DESCRIPTION
|
||||
This PowerShell script searches and replaces a pattern in the given files by the replacement.
|
||||
.PARAMETER pattern
|
||||
Specifies the pattern to look for
|
||||
.PARAMETER replacement
|
||||
Specifies the replacement
|
||||
.PARAMETER files
|
||||
Specifies the file to scan
|
||||
.EXAMPLE
|
||||
PS> ./replace-in-files NSA "No Such Agency" C:\Temp\*.txt
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$pattern = "", [string]$replacement = "", [string]$files = "")
|
||||
|
||||
function ReplaceInFile { param([string]$FilePath, [string]$Pattern, [string]$Replacement)
|
||||
|
||||
[System.IO.File]::WriteAllText($FilePath,
|
||||
([System.IO.File]::ReadAllText($FilePath) -replace $Pattern, $Replacement)
|
||||
)
|
||||
}
|
||||
|
||||
try {
|
||||
if ($pattern -eq "" ) { $pattern = read-host "Enter search pattern" }
|
||||
if ($replacement -eq "" ) { $replacement = read-host "Enter replacement" }
|
||||
if ($files -eq "" ) { $files = read-host "Enter files" }
|
||||
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
$fileList = (get-childItem -path "$files" -attributes !Directory)
|
||||
foreach($file in $fileList) {
|
||||
ReplaceInFile $file $pattern $replacement
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"OK, replaced '$pattern' by '$replacement' in $($fileList.Count) files in $Elapsed sec."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Synchronizes a repo
|
||||
.DESCRIPTION
|
||||
This PowerShell script synchronizes a local Git repository by push and pull (including submodules).
|
||||
.PARAMETER RepoDir
|
||||
Specifies the path to the Git repository
|
||||
.EXAMPLE
|
||||
PS> ./sync-repo C:\MyRepo
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$RepoDir = "$PWD")
|
||||
|
||||
try {
|
||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||
|
||||
Write-Host "⏳ (1/4) Searching for Git executable... " -noNewline
|
||||
& git --version
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
||||
|
||||
Write-Host "⏳ (2/4) Checking local repository... 📂$RepoDir"
|
||||
if (!(Test-Path "$RepoDir" -pathType container)) { throw "Can't access folder: $RepoDir" }
|
||||
$RepoDirName = (Get-Item "$RepoDir").Name
|
||||
|
||||
Write-Host "⏳ (3/4) Pushing local updates... " -noNewline
|
||||
& git -C "$RepoDir" push
|
||||
if ($lastExitCode -ne "0") { throw "'git push' failed" }
|
||||
|
||||
Write-Host "⏳ (4/4) Pulling remote updates... " -noNewline
|
||||
& git -C "$RepoDir" pull --all --recurse-submodules
|
||||
if ($lastExitCode -ne "0") { throw "'git pull' failed" }
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ synchronized repo 📂$RepoDirName in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Tells a quote by text-to-speech
|
||||
.DESCRIPTION
|
||||
This PowerShell script selects a random quote in Data/quotes.csv and speaks it by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./tell-quote
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$Table = Import-CSV "$PSScriptRoot/../Data/quotes.csv"
|
||||
|
||||
$Generator = New-Object System.Random
|
||||
$Index = [int]$Generator.next(0, $Table.Count - 1)
|
||||
$Quote = $Table[$Index].QUOTE
|
||||
$Author = $Table[$Index].AUTHOR
|
||||
|
||||
& "$PSScriptRoot/speak-english.ps1" "$Quote (by $Author)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Explains an abbreviation
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the description of the given abbreviation and prints it.
|
||||
.PARAMETER abbr
|
||||
Specifies the abbreviation to look for
|
||||
.EXAMPLE
|
||||
PS> ./what-is IAS
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$abbr = "")
|
||||
|
||||
try {
|
||||
if ($abbr -eq "" ) { $abbr = Read-Host "Enter the abbreviation" }
|
||||
|
||||
$Files = (Get-ChildItem "$PSScriptRoot/../Data/Abbr/*.csv")
|
||||
[int]$Matches = 0
|
||||
foreach($File in $Files) {
|
||||
$Table = Import-CSV "$File"
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.ABBR -eq $abbr) {
|
||||
$Basename = (Get-Item "$File").Basename -Replace "_"," "
|
||||
"💡 $($Row.ABBR) in $Basename refers to: $($Row.MEANING)"
|
||||
$Matches++
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($Matches -eq 0) { "Sorry, '$abbr' is missing in the database." }
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Writes a chart
|
||||
.DESCRIPTION
|
||||
This PowerShell script writes a chart.
|
||||
.EXAMPLE
|
||||
PS> ./write-chart
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function WriteChartLine { param([string]$Text, [float]$Value, [float]$Max)
|
||||
$Num = ($Value * 40.0) / $Max
|
||||
while ($Num -ge 1.0) {
|
||||
write-host -noNewLine "█"
|
||||
$Num -= 1.0
|
||||
}
|
||||
if ($Num -ge 0.875) {
|
||||
write-host -noNewLine "▉"
|
||||
} elseif ($Num -ge 0.75) {
|
||||
write-host -noNewLine "▊"
|
||||
} elseif ($Num -ge 0.625) {
|
||||
write-host -noNewLine "▋"
|
||||
} elseif ($Num -ge 0.5) {
|
||||
write-host -noNewLine "▌"
|
||||
} elseif ($Num -ge 0.375) {
|
||||
write-host -noNewLine "▍"
|
||||
} elseif ($Num -ge 0.25) {
|
||||
write-host -noNewLine "▎"
|
||||
} elseif ($Num -ge 0.125) {
|
||||
write-host -noNewLine "▏"
|
||||
}
|
||||
if ($Max -eq 100.0) {
|
||||
write-host " $($Value)% $Text"
|
||||
} else {
|
||||
write-host " $Value / $Max $Text"
|
||||
}
|
||||
}
|
||||
|
||||
"2021 Wins"
|
||||
WriteChartLine "Markus" 40.5 100.0
|
||||
WriteChartLine "Andrea" 30.9 100.0
|
||||
exit 0 # success
|
@ -1,27 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Writes a random Juck Norris joke to the console
|
||||
.DESCRIPTION
|
||||
This PowerShell script writes a random Juck Norris joke to the console.
|
||||
.EXAMPLE
|
||||
PS> ./write-joke
|
||||
When Chuck Norris does division, there are no remainders. 😂
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$Table = import-csv "$PSScriptRoot/../Data/jokes.csv"
|
||||
|
||||
$Generator = New-Object System.Random
|
||||
$Index = [int]$Generator.next(0, $Table.Count - 1)
|
||||
$Joke = $Table[$Index].Joke
|
||||
|
||||
"$Joke 😂"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Writes the matrix
|
||||
.DESCRIPTION
|
||||
This PowerShell script writes the animated Matrix.
|
||||
.EXAMPLE
|
||||
PS> ./write-fractal
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function CalculateMatrix { param([int]$Pos, [char]$Letter)
|
||||
[int]$maxx = $rui.MaxWindowSize.Width
|
||||
[int]$maxy = $rui.MaxWindowSize.Height
|
||||
[int]$y = 0
|
||||
for ([int]$x = 0; $x -lt $maxx; $x++) {
|
||||
if ($x -eq $Pos) {
|
||||
$global:buf[$y * $maxx + $x] = $Letter
|
||||
} else {
|
||||
$global:buf[$y * $maxx + $x] = [char]32
|
||||
}
|
||||
}
|
||||
for ([int]$y = ($maxy - 1); $y -gt 0; $y--) {
|
||||
for ([int]$x = 0; $x -lt $maxx; $x++) {
|
||||
$global:buf[$y * $maxx + $x] = $global:buf[($y - 1) * $maxx + $x]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function NextLetter {
|
||||
if ($global:index -eq 6) { $global:index = 0; $global:pos = [int]$global:generator.next(0, $rui.MaxWindowSize.Width) }
|
||||
switch($global:index++) {
|
||||
0 { return 'X' }
|
||||
1 { return 'I' }
|
||||
2 { return 'R' }
|
||||
3 { return 'T' }
|
||||
4 { return 'A' }
|
||||
5 { return 'M' }
|
||||
}
|
||||
}
|
||||
|
||||
$ui = (Get-Host).ui
|
||||
$rui = $ui.rawui
|
||||
$buffer0 = ""
|
||||
1..($rui.MaxWindowSize.Width * $rui.MaxWindowSize.Height) | ForEach-Object { $buffer0 += " " }
|
||||
$global:buf = $buffer0.ToCharArray()
|
||||
$global:generator = New-Object System.Random
|
||||
$global:pos = [int]$global:generator.next(0, $rui.MaxWindowSize.Width)
|
||||
$global:index = 0
|
||||
|
||||
while ($true) {
|
||||
$Letter = NextLetter
|
||||
CalculateMatrix $global:pos $Letter
|
||||
[console]::SetCursorPosition(0,0)
|
||||
[string]$Screen = New-Object system.string($global:buf, 0, $global:buf.Length)
|
||||
Write-Host -foreground green $Screen -noNewline
|
||||
}
|
||||
exit 0 # success
|
@ -1,31 +0,0 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Writes a quote to the console
|
||||
.DESCRIPTION
|
||||
This PowerShell script writes a random quote to the console.
|
||||
.EXAMPLE
|
||||
PS> ./write-quote
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
$Table = Import-CSV "$PSScriptRoot/../Data/quotes.csv"
|
||||
|
||||
$Generator = New-Object System.Random
|
||||
$Index = [int]$Generator.next(0, $Table.Count - 1)
|
||||
$Quote = $Table[$Index].QUOTE
|
||||
$Author = $Table[$Index].AUTHOR
|
||||
|
||||
Write-Output ""
|
||||
Write-Host '“'"$Quote"'„'
|
||||
$Spaces = " "
|
||||
$Spaces = $Spaces.Substring(0, $Quote.Length - $Author.Length)
|
||||
Write-Output "$Spaces- $($Author.toUpper())"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
@ -1 +0,0 @@
|
||||
"💩"
|
Can't render this file because it is too large.
|
@ -1,24 +1,24 @@
|
||||
FACTOR, DECIMAL, NAME, SYMBOL, EXAMPLE
|
||||
10³⁰, 1 000 000 000 000 000 000 000 000 000 000, Quetta, Q, 1 Qm
|
||||
10²⁷, 1 000 000 000 000 000 000 000 000 000, Ronna, R, 1 Rm
|
||||
10²⁴, 1 000 000 000 000 000 000 000 000, Yotta, Y, 1 Ym
|
||||
10²¹, 1 000 000 000 000 000 000 000, Zetta, Z, 1 Zm
|
||||
10¹⁸, 1 000 000 000 000 000 000, Exa, E, 1 Em
|
||||
10¹⁵, 1 000 000 000 000 000, Peta, P, 1 Pm
|
||||
10¹², 1 000 000 000 000, Tera, T, 1 Tm
|
||||
10⁹, 1 000 000 000, Giga, G, 1 Gm
|
||||
10⁶, 1 000 000, Mega, M, 1 Mm
|
||||
10³, 1 000, Kilo, k, 1 km
|
||||
10⁰, 1, , , 1 m
|
||||
10⁻¹, 0.1, Deci, d, 1 dm
|
||||
10⁻², 0.01, Centi, c, 1 cm
|
||||
10⁻³, 0.001, Milli, m, 1 mm
|
||||
10⁻⁶, 0.000 001, Micro, µ, 1 µm
|
||||
10⁻⁹, 0.000 000 001, Nano, n, 1 nm
|
||||
10⁻¹², 0.000 000 000 001, Pico, p, 1 pm
|
||||
10⁻¹⁵, 0.000 000 000 000 001, Femto, f, 1 fm
|
||||
10⁻¹⁸, 0.000 000 000 000 000 001, Atto, a, 1 am
|
||||
10⁻²¹, 0.000 000 000 000 000 000 001, Zepto, z, 1 zm
|
||||
10⁻²⁴, 0.000 000 000 000 000 000 000 001, Yocto, y, 1 ym
|
||||
10⁻²⁷, 0.000 000 000 000 000 000 000 000 001, Ronto, r, 1 rm
|
||||
10⁻³⁰, 0.000 000 000 000 000 000 000 000 000 001, Quecto, q, 1 qm
|
||||
FACTOR, DECIMAL, NAME, SYMBOL, EXAMPLE,
|
||||
10³⁰, 1 000 000 000 000 000 000 000 000 000 000, Quetta, Q, 1 Qm,
|
||||
10²⁷, 1 000 000 000 000 000 000 000 000 000, Ronna, R, 1 Rm,
|
||||
10²⁴, 1 000 000 000 000 000 000 000 000, Yotta, Y, 1 Ym,
|
||||
10²¹, 1 000 000 000 000 000 000 000, Zetta, Z, 1 Zm,
|
||||
10¹⁸, 1 000 000 000 000 000 000, Exa, E, 1 Em,
|
||||
10¹⁵, 1 000 000 000 000 000, Peta, P, 1 Pm,
|
||||
10¹², 1 000 000 000 000, Tera, T, 1 Tm,
|
||||
10⁹, 1 000 000 000, Giga, G, 1 Gm,
|
||||
10⁶, 1 000 000, Mega, M, 1 Mm,
|
||||
10³, 1 000, Kilo, k, 1 km,
|
||||
10⁰, 1, , , 1 m,
|
||||
10⁻¹, 0.1, Deci, d, 1 dm,
|
||||
10⁻², 0.01, Centi, c, 1 cm,
|
||||
10⁻³, 0.001, Milli, m, 1 mm,
|
||||
10⁻⁶, 0.000 001, Micro, µ, 1 µm,
|
||||
10⁻⁹, 0.000 000 001, Nano, n, 1 nm,
|
||||
10⁻¹², 0.000 000 000 001, Pico, p, 1 pm,
|
||||
10⁻¹⁵, 0.000 000 000 000 001, Femto, f, 1 fm,
|
||||
10⁻¹⁸, 0.000 000 000 000 000 001, Atto, a, 1 am,
|
||||
10⁻²¹, 0.000 000 000 000 000 000 001, Zepto, z, 1 zm,
|
||||
10⁻²⁴, 0.000 000 000 000 000 000 000 001, Yocto, y, 1 ym,
|
||||
10⁻²⁷, 0.000 000 000 000 000 000 000 000 001, Ronto, r, 1 rm,
|
||||
10⁻³⁰, 0.000 000 000 000 000 000 000 000 000 001, Quecto, q, 1 qm,
|
|
21
data/TIOBE-index.csv
Normal file
21
data/TIOBE-index.csv
Normal file
@ -0,0 +1,21 @@
|
||||
LANGUAGE,POPULARITY,CHANGE,
|
||||
C,12.54,-4.65,
|
||||
Python,11.84,+3.48,
|
||||
Java,11.54,-4.56,
|
||||
C++,7.36,+1.41,
|
||||
C#,4.33,-0.40,
|
||||
Visual Basic,4.01,-0.68,
|
||||
JavaScript,2.33,+0.06,
|
||||
PHP,2.21,-0.05,
|
||||
Assembly language,2.05,+1.09,
|
||||
SQL,1.88,+0.15,
|
||||
Classic Visual Basic,1.72,+1.07,
|
||||
Groovy,1.29,+0.87,
|
||||
Ruby,1.23,+0.25,
|
||||
R,1.20,-0.99,
|
||||
Perl,1.18,+0.36,
|
||||
Swift,1.10,-0.35,
|
||||
Fortran,1.07,+0.80,
|
||||
Delphi/Object Pascal,1.06,+0.47,
|
||||
MATLAB,1.05,+0.15,
|
||||
Go,0.95,-0.06,
|
|
@ -5074,7 +5074,7 @@ GXQ,Ten. Vidal
|
||||
GXX,Yagoua
|
||||
GXY,Weld County
|
||||
GYA,Guayaramerin Airport
|
||||
GYD,Heydar Aliyev International Airport
|
||||
GYD,"Heydar Aliyev International Airport (Baku, Azerbaijan)"
|
||||
GYE,Jose Joaquin de Olmedo Airport
|
||||
GYG,Magan Airport
|
||||
GYM,Gen Jose M Yanez
|
|
File diff suppressed because it is too large
Load Diff
Can't render this file because it is too large.
|
@ -6,10 +6,12 @@ ABBR,MEANING
|
||||
A&A,"Journal, Astronomy & Astrophysics"
|
||||
A&ARv,"Journal, Annual Review of Astronomy and Astrophysics"
|
||||
AAA,Amateur Astronomers Association of New York
|
||||
AACS,Attitude and Articulation Control Subsystems
|
||||
ACD,Amplitude Calibration Device (ALMA)
|
||||
ACM,"Asteroids, Comets, and Meteors"
|
||||
ACe,Astaldi Cimolai EIE (Consortium)
|
||||
ADA,ALMA Department of Administration
|
||||
ADCS,Attitude Determination and Control
|
||||
ADO,ALMA Director’s Office
|
||||
ADS,International Italian optics company working on the DSM for the VLT
|
||||
AEM,ALMA construction consortium
|
||||
@ -22,6 +24,7 @@ AIT,"Assembly, Integration and Test"
|
||||
AIV,"Assembly, Integration and Verification"
|
||||
AJ,The Astronomical Journal
|
||||
ALMA,Atacama Large Millimeter/submillimeter Array
|
||||
AM0,Air Mass Zero (Space Vacuum)
|
||||
AMBER,"Astronomical Multi-BEam combineR (VLTI Instrument)"
|
||||
AN,"Journal, Astronomische Nachrichten"
|
||||
Antu,VLT Unit Telescope 1
|
||||
@ -37,6 +40,7 @@ ARAL,Alignment facility for the VLTI
|
||||
ARC,"ALMA Regional Centre, or Ames Research Center"
|
||||
ArTeMiS,Bolometric camera for APEX
|
||||
ASAC,ALMA Science Advisory Committee
|
||||
ASAL,Agence Spatiale Algerienne
|
||||
ASIAA,"East Asia FEIC (ALMA)"
|
||||
ASIC,Application Specific Integrated Circuit
|
||||
ASSIST,Adaptive Secondary Setup and Instrument Simulator (AOF test bench)
|
||||
@ -57,24 +61,19 @@ BLAST,Balloon-borne Large Aperture Submillimeter Telescope
|
||||
BlackGEM,(La Silla) Telescope array searching for optical counterparts of gravitational wave sources
|
||||
BLIP,Background photon noise limited
|
||||
C2PAP,"Computational Center for Particle and Astrophysics, Universe Cluster, Garching"
|
||||
CAD,Computer Aided Design
|
||||
CADC,Canadian Astronomy Data Centre
|
||||
CAPj,Communicating Astronomy with the Public Journal
|
||||
CARLA,Clusters Around Radio-Loud AGN (Spitzer)
|
||||
CASA,Common Astronomy Software Applications (ALMA)
|
||||
CBR,cosmic background radiation
|
||||
CCD,Charge Coupled Device
|
||||
CDR,Critical Design Review
|
||||
CDS,"Centre de Données astronomiques de Strasbourg (Strasbourg astronomical Data Center)"
|
||||
CEA,"Commissariat à L’Energie Atomique, France"
|
||||
CELAC_EU,"Summit of the Community of Latin American and Caribbean States–European Union"
|
||||
CES,Coude Echelle Spectrometer
|
||||
CfP,Call for Proposal
|
||||
CfT,Call for tender
|
||||
CGM,Circumgalactic medium
|
||||
CHAMP+,Dual channel heterodyne receiver array (APEX)
|
||||
CLIF,Convolution with Linearized Inverse Filter algorithm for wavefront sensing
|
||||
CLP,Chilean Peso
|
||||
CM,center of mass
|
||||
CMB,Cosmic Microwave Background
|
||||
CMBR,Cosmic Microwave Background Radiation
|
||||
@ -207,6 +206,7 @@ IRO,International Relations Office
|
||||
ISAAC,Infrared Spectrometer And Array Camera (VLT)
|
||||
ISERD,Israeli inter-ministerial agency for R&D cooperation with Europe
|
||||
ISM,International Staff Member
|
||||
ISRO,Indian Space Research Organisation
|
||||
ISS,International Space Station
|
||||
IT,Information Technology
|
||||
ITAR,International Traffic in Arms Regulations
|
||||
@ -216,7 +216,6 @@ IVSLA,Istituto Veneto di Scienze ed Arti
|
||||
IYA2009,International Year of Astronomy 2009
|
||||
JAO,Joint ALMA Observatory
|
||||
JENAM,Joint European and National Astronomy Meeting
|
||||
JPL,Jet Propulsion Laboratory
|
||||
JUICE,JUpiter ICy moons Explorer
|
||||
JWST,James Webb Space Telescope
|
||||
k,"kilo/1,000"
|
||||
@ -262,7 +261,6 @@ METIS,Mid-infrared ELT Imager and Spectrograph
|
||||
MICADO,Adaptive optics imaging camera (ELT)
|
||||
MIDI,Mid-infrared Interferometric Instrument (VLTI)
|
||||
MIM,"Museo Interactivo Mirador, Santiago"
|
||||
MIT,Massachusetts Institute of Technology
|
||||
mmVLBI,Millimeter Very Long Baseline Interferometry
|
||||
Mn,"Mirror #n"
|
||||
MNRAS,"Journal, Monthly Notices of the Royal Astronomical Society"
|
||||
@ -304,6 +302,7 @@ NTT,New Technology Telescope
|
||||
NUVA,Network for UltraViolet Astrophysics
|
||||
OAA,Arcetri Astrophysical Observatory
|
||||
OBAMA,Optical Bidule for Aberration Measurement on the ATs
|
||||
OBC,On-Board Computer
|
||||
OCA-NICE,Cote d’Azur Observatory (Observatoire de la Cote d’Azur)
|
||||
ODG,Office of the Director General
|
||||
OECD,Organisation for Economic Co-operation and Development
|
||||
@ -341,6 +340,7 @@ PMD,Project Management Department
|
||||
PMPD,Performance Management and Professional Development
|
||||
PRIMA,Phase-Referenced Imaging and Micro-arcsecond Astrometry facility (VLTI)
|
||||
PSF,Point Spread Function
|
||||
PSLV,Polar Satellite Launch Vehicle
|
||||
PTP,Precision Time Protocol
|
||||
Q,Quarter
|
||||
QSO,"Quasi Stellar Object, quasar"
|
||||
@ -361,6 +361,7 @@ SAF,Science Archive Facility
|
||||
SAFRAN-REOSC,High performance optics company
|
||||
SAPHIRA,Detector for the GRAVITY wavefront sensor
|
||||
SAXO,SPHERE’S AO system (VLT)
|
||||
SBSP,Space Based Solar Power
|
||||
SCAO,Single-conjugate adaptive optics
|
||||
SCO,Santiago Central Office (ALMA/ESO Vitacura)
|
||||
SDD,Software Development Division
|
||||
@ -385,6 +386,7 @@ SPT,South Pole Telescope
|
||||
SSDF,Science Support Discretionary Fund
|
||||
SSED,Software System Engineering Department
|
||||
SSWG,Science Strategy Working Group
|
||||
SSS,Surrey Space Centre
|
||||
ST-ECF,Space Telescope European Coordination Facility
|
||||
STC,Scientific Technical Committee
|
||||
STFC,Science and Technology Facilities Council (UK)
|
||||
@ -403,7 +405,7 @@ ToO,Target of Opportunity
|
||||
TRAPPIST,TRAnsiting Planets and PlanetesImals Small Telescope
|
||||
TRR,Test Readiness Review
|
||||
UC,Users Committee
|
||||
UK ATC,UK Astronomy Technology Centre
|
||||
UKSA,United Kingdom Space Agency
|
||||
Ultracam,High-speed camera (VLT)
|
||||
UltraVISTA,Ultra-deep near-infrared survey in the COSMOS field
|
||||
UNCOPUOS,United Nations Committee for the Peaceful Uses of Outer Space
|
|
@ -26,13 +26,13 @@ AAI,Arrival Aircraft Interval
|
||||
AAI,Airports Authority of India
|
||||
AAIB,Air Accidents Investigation Branch (UK)
|
||||
AAIM,Aircraft Autonomous Integrity Monitoring
|
||||
AAM,Advanced Air Mobility
|
||||
AAMS,Aircraft Arrival Management System
|
||||
AARTS,Army Aviation Radar Training System
|
||||
AAO,Assumed Adverse Obstacle
|
||||
AAS,Airport Advisory Service
|
||||
AB,"Air Base, Afterburner"
|
||||
ABI,Advanced Boundary Information
|
||||
AC,Air Conditioning
|
||||
AC,Aircraft
|
||||
ACAC,Arab Civil Aviation Conference
|
||||
ACAM,Aircraft Continuing Airworthiness Monitoring
|
||||
@ -106,11 +106,13 @@ AMP,ARINC Message Processor (OR) Airport Master Plan
|
||||
AMS,Acquisition Management System
|
||||
AMT,Aviation Maintenance Technician
|
||||
AMVER,Automated Mutual Assistance Vessel Rescue System
|
||||
ANA,Administration of Air Navigation
|
||||
ANC,Alternate Network Connectivity
|
||||
ANCA,Airport Noise and Capacity Act
|
||||
ANG,Air National Guard
|
||||
ANGB,Air National Guard Base
|
||||
ANMS,Automated Network Monitoring System
|
||||
ANSL,Air Navigation Solutions Ltd. (UK)
|
||||
ANSP,Air Navigation Service Provider
|
||||
AOA,"Angle of Attack, Air Operations Area, Airport Operating Area"
|
||||
AOB,Airfield Operations Board
|
||||
@ -137,19 +139,21 @@ ARLNO,Airline Office
|
||||
ARP,Airport Reference Point
|
||||
ARTCC,Air Route Traffic Control Centre
|
||||
ASB,Airspace Block
|
||||
ASDA,Accelerate Stop Distance Available
|
||||
ASDE,Airport Surface Detection Equipment
|
||||
ASDE-X,"Airport Surface Detection Equipment, model X"
|
||||
ASOS,Automated Surface Observation System
|
||||
ASR,Airport Surveillance Radar
|
||||
ASTERIX,All Purpose Structured Eurocontrol Surveillance Information Exchange
|
||||
ATA,Actual Time of Arrival
|
||||
ATC,Air Traffic Control
|
||||
ATCALS,Air Traffic Control and Landing Systems
|
||||
ATCO,Air Traffic Control Officer
|
||||
ATIS,Automatic Terminal Information Service
|
||||
ATM,Air Traffic Manager
|
||||
ATM,"Air Traffic Management, Air Traffic Manager"
|
||||
ATO,Air Traffic Organization
|
||||
ATPL,Airline Transport Pilot License
|
||||
AURO,Autorotation of helicopters
|
||||
AURO,Autorotation (by helicopters)
|
||||
AWACS,Airborne Warning And Control System
|
||||
BC,Back Course
|
||||
BAF,Belgian Air Force
|
||||
@ -159,6 +163,7 @@ BIRTAM,NOTAM on Bird Activity
|
||||
BIT,Build-In Test
|
||||
BITE,Build-In Test Equipment
|
||||
BRNAV,Basic Area Navigation
|
||||
BWB,Blended Wing Body
|
||||
BWC,Bird Watch Condition
|
||||
C2,Command and Control
|
||||
C3,"Communication, Command and Control"
|
||||
@ -175,6 +180,7 @@ CASE,Controlled Airspace Synthetic Environment (Simulator of Alenia Marconi)
|
||||
CAT,"Category of Aircraft, Clear Air Turbulence"
|
||||
CATC,Civil Air Traffic Control
|
||||
CAVOK,Clouds And Visibility OK
|
||||
C/S,Callsign
|
||||
CBT,Computer-based Training
|
||||
CC,Commander
|
||||
CCBC,Community College Baltimore County
|
||||
@ -222,6 +228,7 @@ CW,Continous Wave
|
||||
CW,Cold Weather
|
||||
CWS,Collision Warning System
|
||||
CWP,Controller Working Position
|
||||
CWY,Clearway
|
||||
DA,Density Altitude
|
||||
DAS,DFS Aviation Services (DFS subcompany for services outside Germany)
|
||||
DCIA,Dependent Converging Instrument Approach
|
||||
@ -239,16 +246,20 @@ DW,Downwind
|
||||
EAS,Equivalent Airspeed
|
||||
EAVA,Estonian Aviation Academy
|
||||
ECAC,European Civil Aviation Conference
|
||||
eCTOL,Electric Conventional Take-off and Landing
|
||||
ECP,Entry Control Point
|
||||
EFM,Gesellschaft für Enteisen und Flugzeugschleppen
|
||||
EICAS,Engine Instrument Crew Alerting System
|
||||
ELEV,Field Elevation
|
||||
ELT,Emergency Locator Transmitter
|
||||
EOL,Engine-off landing
|
||||
ERPM,Engine Rotations per Minute
|
||||
eSTOL,Electric Short Take-off and Landing
|
||||
ETA,"Estimated Time of Arrival, East Transition Area"
|
||||
ETL,Effective Translational Lift (for helicopters)
|
||||
ETOPS,Extended-range Twin-engine Operational Performance Standards
|
||||
ETVS,Electronic Terminal Voice Switch
|
||||
eVTOL,Electric Vertical Take-off and Landing
|
||||
FAA,U.S. Federal Aviation Administration
|
||||
FAR,Fuel Air Ratio
|
||||
FAS,Final Approach Segment
|
||||
@ -282,19 +293,21 @@ FMS,Flight Management System
|
||||
FOD,Foreign Object Debris
|
||||
FOV,Field of View
|
||||
FWC,Flight Warning Computer
|
||||
GA,General Aviation
|
||||
GA,"General Aviation, Go Around (VFR)"
|
||||
GND,Ground
|
||||
GP,Glide Path
|
||||
GPS,Global Positioning System
|
||||
GS,Ground Speed or Glideslope
|
||||
HEMS,Helicopter Emergency Medical Services
|
||||
HKIA,Hong Kong International Airport
|
||||
HOGE,Hover Out of Ground Effect
|
||||
HOTS,Higher-Order Thinking Skills
|
||||
IAA,Israeli Airport Authority
|
||||
IAF,Israeli Air Force
|
||||
IANS,Institute of Air Navigation Services, a division of Eurocontrol
|
||||
IAS,Indicated airspeed
|
||||
IATA,International Air Transport Association, HQ in Montreal, Canada
|
||||
IATA,"International Air Transport Association, HQ in Montreal, Canada"
|
||||
ICA,Initial Climb Area
|
||||
IFE,In-flight Emergency
|
||||
IFR,Instrument Flight Rules
|
||||
IG,Image Generator
|
||||
@ -308,18 +321,24 @@ KCAS,Calibrated AirSpeed in Knots
|
||||
KIAS,Indicated Airspeed in Knots
|
||||
KTAS,True AirSpeed in Knots
|
||||
LAA,Lappland Aviation Academy
|
||||
LDAH,Landing distance available (Helicopter)
|
||||
LDA,Landing Distance Available
|
||||
LDAH,Landing Distance Available for Helicopter
|
||||
LH,Lufthansa
|
||||
LITAS,Low Intensity Two Colour Approach System
|
||||
LL,Lower Limit
|
||||
LMUK,Lockheed Martin UK
|
||||
LOD,Level of Detail
|
||||
LTA,Lower Traffic Area
|
||||
LUAW,Line up and wait
|
||||
LVNL,Luchtverkeersleiding Nederland (Air Traffic Control the Netherlands)
|
||||
LVP,Low Visibility Procedures
|
||||
LWINS,Lightweight Inertial Navigation System
|
||||
MA,Missed Approach (IFR)
|
||||
MATS,Malta Air Traffic Services
|
||||
MEA,Minimum En-route Altitude
|
||||
METAR,Meteorological Aerodrome Report
|
||||
MCP,Maximum Continuous Power
|
||||
MGTOW,Maximum Gross Take-off Weight
|
||||
MLW,Maximum Landing Weight
|
||||
MMR,Multi-Mode Receiver
|
||||
MSA,Minimum Safe Altitude
|
||||
@ -327,10 +346,13 @@ MSL,Median Sea Level
|
||||
MSTA,Minimum Safe Turning Altitude
|
||||
MTOW,Maximum Take-Off Weight
|
||||
NATCA,National Air Traffic Controllers Association
|
||||
NATOPS,Naval Aviation Training and Operating Procedures Standardization
|
||||
NATS,National Air Traffic Services (UK)
|
||||
NAVAIDS,Navigational Aids
|
||||
NCOIC,Non-Commissioned Officer in Charge
|
||||
NIMA,National Imagery Mapping Agency
|
||||
NLFS,Night Low Flying System
|
||||
NM,Nautical Mile
|
||||
NORDO,No Radio
|
||||
NOTAM,Notice to Airmen or Notice to Air Missions
|
||||
NUAIR,Northeast UAS Airspace Integration Research (a New York based nonprofit organization)
|
||||
@ -373,6 +395,7 @@ RCC,Rescue Co-ordination Centre
|
||||
RCL,Runway Centre Line Lighting
|
||||
RCR,Runway Condition Reading
|
||||
RCS,Radar Cross Section
|
||||
RESA,Runway End Safety Area
|
||||
RET,Rapid Exit Taxiways
|
||||
RF,Radio Frequency
|
||||
RFFS,Rescue and Fire Fighting Services
|
||||
@ -392,6 +415,7 @@ RPM,Revolutions Per Minute
|
||||
RPS,Radar Position Symbol
|
||||
RRPM,Rotor Rotations per Minute
|
||||
RSA,Runway Safety Area
|
||||
RSAF,Republic of Singapore Air Force
|
||||
RSC,Runway Surface Condition
|
||||
RSI,Remote Status Indicato
|
||||
RSRS,Reduced Same Runway Separation
|
||||
@ -452,6 +476,7 @@ SUA,Special Use Airspace
|
||||
SV,Supervisor
|
||||
SVFR,Special Visual Flight Rules
|
||||
SWT,Switch
|
||||
SWY,Stopway
|
||||
SYSCO,System Coordination – Data Exchange and Coordination
|
||||
TA,Terminal Airspace
|
||||
TAA,Terminal Arrival Area
|
||||
@ -470,7 +495,7 @@ TAWS,Terrain Avoidance and Warning System
|
||||
TCAS,Traffic alert and Collision Avoidance System
|
||||
TCDS,Type Certificate Data Sheet
|
||||
TCH,Threshold Crossing Height
|
||||
TCL,Taxi Center Lights
|
||||
TCL,Thrust Control Lever or Taxi Center Lights
|
||||
TDW,Tower Display Workstation
|
||||
TDZ,Runway Touchdown Zone Lighting
|
||||
TDZE,Touch Down Zone Elevation
|
||||
@ -487,10 +512,11 @@ TM,Traffic Management
|
||||
TMA,Terminal Control Area
|
||||
TOC,Top Of Climb
|
||||
TOD,Top Of Descent
|
||||
TODAH,Take-off distance available (Helicopter)
|
||||
TODA,Take-off Distance Available
|
||||
TODAH,Take-off Distance Available for Helicopter
|
||||
TOP,Take-Off Power
|
||||
TOR,Terms Of Reference
|
||||
TOR,Tornado aircraft
|
||||
TOR,"Terms of Reference, or Tornado aircraft"
|
||||
TORA,Takeoff Run Available
|
||||
TOWSIM,Tower Simulator
|
||||
TRACON,Terminal Radar Approach Control
|
||||
TRH,Thrust Reduction Height
|
||||
@ -505,6 +531,7 @@ TXC,Taxiway Centreline Lights
|
||||
TXE,Taxiway Edge Lights
|
||||
UA,Unmanned Aircraft
|
||||
UAC,Upper Area Control Centre
|
||||
UAM,Urban Air Mobility
|
||||
UAS,Unmanned Aircraft Systems
|
||||
UAT,Universal Access Transceiver
|
||||
UAV,Unmanned Aerial Vehicle
|
||||
@ -517,7 +544,7 @@ UIR,Upper Flight Information Region
|
||||
UKCAA,United Kingdom Civil Aviation Authority
|
||||
UMASS,University of Massachusetts
|
||||
URET,User Request Evaluation Tool
|
||||
USAF,US Air Force
|
||||
USAF,United States Air Force
|
||||
UTA,Upper Traffic Area
|
||||
V1,Decision speed, the speed beyond which takeoff should no longer be aborted
|
||||
V2,Takeoff speed. The speed at which the aircraft may safely be climbed with one engine inoperative
|
||||
@ -531,6 +558,7 @@ VDF,Very High Frequency Direction Finding
|
||||
VDGS,Visual Database Generation System
|
||||
VDL-4,VHF digital link Mode 4 (see also STDMA)
|
||||
VDU,Visual Display Unit
|
||||
VFS,Vertical Flight Society
|
||||
VFOW,Vertical Field of View
|
||||
VFR,Visual Flight Rules
|
||||
VHF,Very High Frequency (3 to 300MHz)
|
||||
@ -541,6 +569,7 @@ VOLMET,Meteorological Information for Aircraft in Flight
|
||||
VOR,VHF Omni-directional Receiver
|
||||
VORTAC,VOR -TACAN combination
|
||||
VREF,1.3 times the stalling speed of the aircraft in the stated landing configuration and at the prevailing aircraft weight
|
||||
VRS,Vortex Ring State
|
||||
VS,"Stall speed, defined as the minimum steady flight speed at which the airplane is controllable"
|
||||
VSBY,Visibility
|
||||
VSP,Vertical Speed
|
Can't render this file because it has a wrong number of fields in line 137.
|
@ -458,15 +458,13 @@ IAEA,International Atomic Energy Agency
|
||||
IAQ,Indoor Air Quality
|
||||
IB,Ion Balance
|
||||
IC,Ice Crystals
|
||||
ICE,"Initial, Change, Equilibrium"
|
||||
ICE,Internal Combustion Engine
|
||||
ICE,"Initial, Change, Equilibrium, or: Internal Combustion Engine"
|
||||
ICP,Inductively Coupled Plasma
|
||||
ICSC,International Chemical Safety Card
|
||||
ICSD,Inorganic Crystal Structure Database
|
||||
ICSN,Institut de Chimie des Substances Naturelles
|
||||
IE,Inert Electrolyte
|
||||
IE,Ionization Energy
|
||||
IEA,International Energy Agency
|
||||
IG,Inert Gas
|
||||
iHOP,information Hyperlinked Over Proteins
|
||||
IK,Inverse Kinematics
|
|
@ -79,6 +79,7 @@ AA,modem lights
|
||||
AAA,"Authentication,Authorization,Accounting"
|
||||
AABB,Axis Aligned Bounding Box
|
||||
AAC,Advanced Audio Coding
|
||||
AACS,Advanced Access Content System
|
||||
AAI,Applied Artificial Intelligence
|
||||
AAM,Automatic Acoustic Management
|
||||
AAR,Apple Authorized Reseller
|
||||
@ -135,9 +136,9 @@ ADC,automated data collection
|
||||
ADE,qutomated data entry
|
||||
ADF,Automatic Document Feeder
|
||||
ADO,ActiveX Data Objects
|
||||
ADP,automatic data processing
|
||||
ADP,Automatic Data Processing
|
||||
ADPCM,adaptive differential pulse-code modulation
|
||||
ADS,alternate data stream
|
||||
ADS,Alternate Data Stream
|
||||
ADSI,Analog Display Services Interface
|
||||
ADSL,Asymmetric Digital Subscriber Line
|
||||
ADSM,ADSTAR Distributed Storage Management
|
||||
@ -175,7 +176,6 @@ ALM,application lifecycle management
|
||||
ALPR,Automated License Plate Recognition
|
||||
alt.,alternate newsgroup
|
||||
ALU,Arithmetic Logic Unit
|
||||
ALU,arithmetic-logic unit
|
||||
AMD,Advanced Micro Devices
|
||||
AMD-V,AMD virtualization
|
||||
AMI,advanced metering infrastructure
|
||||
@ -203,42 +203,37 @@ API,Application Programming Interface
|
||||
APICS,American Production and Inventory Control Society
|
||||
APIPA,Automatic Private IP Addressing
|
||||
APL,a programming language
|
||||
APM,application performance monitoring
|
||||
APM,application portfolio management
|
||||
APO,Advanced Planner and Optimizer
|
||||
APO,advanced planning and optimization
|
||||
APM,"application performance monitoring, application portfolio management"
|
||||
APO,"Advanced Planner and Optimizer, advanced planning and optimization"
|
||||
AppBlast,Project AppBlast
|
||||
APPC,Advanced Program-to-Program Communication or LU 6.2
|
||||
Apple VPP,Apple Volume Purchase Program
|
||||
Apple WWDC,Apple Worldwide Developers Conference
|
||||
APPN,Advanced Peer-to-Peer Networking
|
||||
APQP,advanced product quality planning
|
||||
APS,advanced planning and scheduling
|
||||
APT,advanced persistent threat
|
||||
APS,Advanced Planning and Scheduling
|
||||
APT,Advanced Persistent Threat
|
||||
APU,Accelerated Processing Unit
|
||||
AR,accounts receivable
|
||||
AR,augmented reality
|
||||
AR,Accounts Receivable
|
||||
AR,Augmented Reality
|
||||
ARAX,Asynchronous Ruby and XML
|
||||
ARIN,American Registry of Internet Numbers
|
||||
Arista EOS,Arista Extensible Operating System
|
||||
ARJ,Archive Robert Jung
|
||||
ARP,Address Resolution Protocol
|
||||
ARPA,Advanced Research Projects Agency
|
||||
ARPU,average revenue per user or average revenue per unit
|
||||
ARQ,automatic repeat request
|
||||
ARQ,Automatic Repeat Request
|
||||
ARRA,American Recovery and Reinvestment Act of 2009
|
||||
ARRL,American Radio Relay League
|
||||
AS,autonomous system
|
||||
AS,Autonomous System
|
||||
AS/400,"IBM iSeries, AS/400e, eServer iSeries/400"
|
||||
AS1,Applicability Statement 1
|
||||
AS2,Applicability Statement 2
|
||||
ASAP,AcceleratedSAP
|
||||
ASCII,American Standard Code for Information Interchange
|
||||
ASD,agile software development
|
||||
ASD,Agile Software Development
|
||||
ASE,Adaptive Server Enterprise
|
||||
ASF,Apache Software Foundation
|
||||
ASHRAE,"American Society of Heating, Refrigerating, and Air-Conditioning Engineers"
|
||||
ASIC,application-specific integrated circuit
|
||||
ASIC,Application-Specific Integrated Circuit
|
||||
ASIO,Audio Stream Input/Output
|
||||
ASLR,address space layout randomization
|
||||
ASN,advanced shipping notice
|
||||
@ -439,8 +434,7 @@ CBT,Changed Block Tracking
|
||||
CBT,Computer-Based Training
|
||||
CC,Common Criteria
|
||||
CCB,Change Control Board
|
||||
CCD,charge-coupled device
|
||||
CCD,Continuity of Care Document
|
||||
CCD,"Charge-Coupled Device, Continuity of Care Document"
|
||||
CCEVS,Common Criteria Evaluation and Validation Scheme for IT Security
|
||||
CCIE,Cisco Certified Internetwork Expert
|
||||
CCITT,ITU-T Telecommunication Standardization Sector of the International Telecommunications
|
||||
@ -491,7 +485,6 @@ CEBP,communications-enabled business processes
|
||||
CELL,Cell processor
|
||||
CEM,customer experience management
|
||||
CEMS,Contract Electronic Manufacturing Services
|
||||
CEO,Chief Executive Officer
|
||||
CEP,complex event processing
|
||||
CERCLA,"Comprehensive Environmental Response, Compensation and Litigation Act"
|
||||
CERN,Conseil Europeen pour la Recherche Nucleaire
|
||||
@ -579,10 +572,7 @@ CMOS,Complementary Metal–Oxide–Semiconductor
|
||||
CMOx,conductive metal-oxide
|
||||
CMR,customer-managed relationship
|
||||
CMRP,Capacitated Material Requirements Planning
|
||||
CMS,Centers for Medicare & Medicaid Services
|
||||
CMS,Cisco Meeting Server
|
||||
CMS,content management system
|
||||
CMS,Conversational Monitor System
|
||||
CMS,"Content Management System, Cisco Meeting Server, Conversational Monitor System"
|
||||
CMTS,cable modem termination system
|
||||
CMYK,"cyan, magenta, yellow, key"
|
||||
CNA,converged network adapter
|
||||
@ -666,15 +656,8 @@ CSMA,Carrier Sense Multiple Access
|
||||
CSO,Chief Security Officer
|
||||
CSO,Chief Strategy Officer
|
||||
CSP,Commerce Service Provider
|
||||
CSR,Certificate Signing Request
|
||||
CSR,Carrier Sensitive Routing
|
||||
CSR,corporate social responsibility
|
||||
CSS,Cascading Style Sheets
|
||||
CSS,Content Scrambling System
|
||||
CSS,customer self-service
|
||||
CSS,customer service and support
|
||||
CSS1,"Cascading Style Sheet, level 1"
|
||||
CSU/DSU,Channel Service Unit/Data Service Unit
|
||||
CSR,"Certificate Signing Request, Carrier Sensitive Routing, corporate social responsibility"
|
||||
CSS,"Cascading Style Sheets, Content Scrambling System, customer self-service, customer service and support"
|
||||
CSV,Cluster Shared Volumes
|
||||
CSV,Comma Separated Values (a file format)
|
||||
CTC,click-to-talk
|
||||
@ -801,7 +784,6 @@ DFT,Demand Flow Technology
|
||||
DG,data governance
|
||||
DHA,directory harvest attack
|
||||
DHCP,Dynamic Host Configuration Protocol
|
||||
DHS,U.S. Department of Homeland Security
|
||||
DICOM,Digital Imaging and Communications in Medicine
|
||||
DID,Direct Inward Dialing
|
||||
DIF,Data Interchange Format
|
||||
@ -1088,6 +1070,7 @@ EVM,Earned Value Management
|
||||
EWS,Exchange Web Services
|
||||
EWSD,Electronic Worldwide Switch Digital
|
||||
ExBPA,Exchange Best Practices Analyzer
|
||||
EXIF,Exchangeable Image File Format
|
||||
ExRCA,Exchange Remote Connectivity Analyzer
|
||||
EZ/EC,Empowerment Zone/Enterprise Community
|
||||
FA,Flexible Automation
|
||||
@ -1179,8 +1162,12 @@ FORTRAN,The IBM Mathematical FORmula TRANslating System (a programming language)
|
||||
FOSS,Free and Open-Source Software
|
||||
FOV,Field Of View
|
||||
FP&A,financial planning and analysis
|
||||
FP,fat provisioning
|
||||
FP,Finite Planning
|
||||
FP,"Fat Provisioning, Finite Planning"
|
||||
FP4,Floating Point 4-bit datatype
|
||||
FP8,Floating Point 8-bit datatype
|
||||
FP16,Floating Point 16-bit datatype
|
||||
FP32,Floating Point 32-bit datatype
|
||||
FP64,Floating Point 64-bit datatype
|
||||
FPCA,Foreign Corrupt Practices Act
|
||||
FPDS,Federal Procurement Data System
|
||||
FPGA,Field-Programmable Gate Array
|
||||
@ -1371,7 +1358,7 @@ HomeRF,home radio frequency
|
||||
HP,Hewlett-Packard
|
||||
HP,High Performance
|
||||
HP-GL,Hewlett-Packard Graphics Language
|
||||
HPC,high-performance computing
|
||||
HPC,High-Performance Computing
|
||||
HPCC,High Performance Computing and Communications
|
||||
HPFS,High Performance File System
|
||||
HPNA,Home Phoneline Networking Alliance
|
||||
@ -1416,9 +1403,7 @@ IBP,integrated business planning
|
||||
IC,integrated circuit
|
||||
IC-BPMS,integration-centric business process management suite
|
||||
ICANN,Internet Corporation for Assigned Names and Numbers
|
||||
ICE,In Case of Emergency
|
||||
ICE,in-circuit emulator
|
||||
ICE,Information and Content Exchange
|
||||
ICE,"In-Circuit Emulator, Information and Content Exchange"
|
||||
IcM,incident management
|
||||
ICMP,Internet Control Message Protocol
|
||||
ICP,Internet commerce provider
|
||||
@ -1594,7 +1579,6 @@ L2TP,Layer 2 Tunneling Protocol
|
||||
L2TP,Layer Two Tunneling Protocol
|
||||
LAMP,"Linux, Apache, MySQL, PHP"
|
||||
LAN,Local Area Network
|
||||
LAN,local area network
|
||||
LAR,Large Account Reseller
|
||||
LATA,local access and transport area
|
||||
LBA,logical block addressing
|
||||
@ -1638,6 +1622,7 @@ LMS,learning management system
|
||||
LNA,Local Noise Amplifier
|
||||
LNP,Local Number Portability
|
||||
LOB,line-of-business
|
||||
LOC,Lines Of Code
|
||||
LOINC,Logical Observation Identifiers Names and Codes
|
||||
LOM,lights-out management
|
||||
LP,Lean Production
|
||||
@ -1742,6 +1727,7 @@ MOM,Manufacturing operation management
|
||||
MOOC,massive open online course
|
||||
MOS,mean opinion score
|
||||
MOSFET,metal-oxide semiconductor field-effect transistor
|
||||
MOSH,mobile shell
|
||||
MOSPF,Multicast Open Shortest Path First
|
||||
MOSS,Microsoft Office SharePoint Server
|
||||
MOU,memorandum of understanding
|
||||
@ -1804,8 +1790,7 @@ NAHIT,National Alliance for Health Information Technology
|
||||
NAK,negative acknowledgment or not acknowledged
|
||||
NAP,Microsoft Network Access Protection
|
||||
NAP,network access point
|
||||
NAS,network access server
|
||||
NAS,network-attached storage
|
||||
NAS,"Network Access Server, Network-Attached Storage"
|
||||
NAT,Network Address Translation
|
||||
NBA,network behavior analysis
|
||||
NBAD,network behavior anomaly detection
|
||||
@ -1841,7 +1826,7 @@ NGSCB,Next Generation Secure Computing Base
|
||||
NHII,National Health Information Infrastructure
|
||||
NHIN,Nationwide Health Information Network
|
||||
NHRP,Next Hop Resolution Protocol
|
||||
NI,network intelligence
|
||||
NI,Network Intelligence
|
||||
Ni2,Net indexer 2
|
||||
NIAP,National Information Assurance Partnership
|
||||
NIC,Network Interface Card
|
||||
@ -1857,13 +1842,14 @@ NMTA,National Machining and Tooling Association
|
||||
NNI,National Nanotechnology Initiative
|
||||
NNM,Network Node Manager
|
||||
NNTP,Network News Transfer Protocol
|
||||
NOC,network operations center
|
||||
noop,no operation
|
||||
NOS,network operating system
|
||||
NOC,Network Operations Center
|
||||
noop,No Operation
|
||||
NOS,Network Operating System
|
||||
NoSQL,Not Only SQL
|
||||
NPD,new product development
|
||||
NPE,non-practicing entity
|
||||
NPI,national provider identifier
|
||||
NPC,Non-Player Character (in role-playing games)
|
||||
NPD,New Product Development
|
||||
NPE,Non-Practicing Entity
|
||||
NPI,National Provider Identifier
|
||||
NPI,New Product Introduction
|
||||
NPIV,N_Port ID virtualization
|
||||
NPV,Net present value
|
||||
@ -1875,6 +1861,7 @@ NSAPI,Netscape Server Application Programming Interface
|
||||
NSIS,Next Steps in Signaling
|
||||
NSP,network service provider
|
||||
NT1,network terminator 1
|
||||
NTIA,"(U.S.) National Telecommunications and Information Administration"
|
||||
NTFS,New Technology File System
|
||||
NTP,Network Time Protocol
|
||||
NTR,Normal Trade Relations
|
||||
@ -1906,8 +1893,7 @@ ODBC,Open Database Connectivity
|
||||
ODCA,Open Data Center Alliance
|
||||
ODF,Open Document Format
|
||||
ODI,Open Data-Link Interface
|
||||
ODIN,Open Data Center with an Interoperable Network
|
||||
ODIN,Open Device Identification Number
|
||||
ODIN,"Open Data Center with an Interoperable Network, Open Device Identification Number"
|
||||
ODL,Open and Distance Learning
|
||||
ODM,Original Design Manufacturer
|
||||
ODMA,Open Document Management API or Application Program Interface
|
||||
@ -1929,7 +1915,6 @@ OLED,light-emitting diode
|
||||
OLPC,One Laptop Per Child
|
||||
OLT,optical line terminal
|
||||
OLTP,On Line Transaction Processing
|
||||
OLTP,online transaction processing
|
||||
OMAP,Open Multimedia Application Platform
|
||||
OMG,Object Management Group
|
||||
OMSS,Oracle Mobile Security Suite
|
||||
@ -1962,9 +1947,7 @@ OSI,Open Systems Interconnection
|
||||
OSP,online service provider
|
||||
OSP,Open Settlement Protocol
|
||||
OSPF,Open Shortest Path First
|
||||
OSS,Online Service System
|
||||
OSS,open source software
|
||||
OSS,operational support system
|
||||
OSS,"Online Service System, Open Source Software, Operational Support System, Off-the-shelf Software Support"
|
||||
OTA,Over the Air
|
||||
OTC,order to cash
|
||||
OTCR,On-Time delivery performance to Customer Request Date
|
||||
@ -1978,9 +1961,7 @@ OWASP,Open Web Application Security Project
|
||||
OWD,OneWebDay
|
||||
P&L,profit and loss statement
|
||||
P-Ink,photonic ink
|
||||
P2P,path to profitability
|
||||
P2P,Peer to Peer
|
||||
P2P,procure to pay
|
||||
P2P,"path to profitability,Peer to Peer,procure to pay"
|
||||
P2T,Push to Talk
|
||||
P2V,physical to virtual
|
||||
P3P,Platform for Privacy Preferences
|
||||
@ -1995,8 +1976,7 @@ PACS,Personal Access Communications System
|
||||
PACS,picture archiving and communication system
|
||||
PAIR,Policy Analysis of Internet Routing
|
||||
PAL,Phase Alternation Line
|
||||
PAM,partner account manager
|
||||
PAM,pulse amplitude modulation
|
||||
PAM,"partner account manager, pulse amplitude modulation"
|
||||
PAN,personal area network
|
||||
PAP,Packet-Level Procedure
|
||||
PAR,performance and accountability reporting
|
||||
@ -2037,8 +2017,7 @@ PGP,Pretty Good Privacy
|
||||
PHDSC,Public Health Data Standards Consortium
|
||||
PHI,personal health information
|
||||
PHOLED,phosphorescent organic light-emitting device
|
||||
PHP,Hypertext Preprocessor
|
||||
PHP,Personal Home Page
|
||||
PHP,"Hypertext Preprocessor, Personal Home Page"
|
||||
PHR,personal health record
|
||||
PHS,Personal Handyphone System
|
||||
PI,Predictive Index
|
||||
@ -2052,13 +2031,9 @@ PID,Problem Identification Document
|
||||
PID,process identifier
|
||||
PIFI,personally identifiable financial information
|
||||
PII,personally identifiable information
|
||||
PIM,privileged identity management
|
||||
PIM,processing in memory
|
||||
PIM,Product Information Management
|
||||
PIM,protocol-independent multicast
|
||||
PIM,"privileged identity management, processing in memory, Product Information Management, protocol-independent multicast"
|
||||
PIO,Programmed Input/Output
|
||||
PIP,Partner Integration Process
|
||||
PIP,Picture in Picture
|
||||
PIP,"Partner Integration Process, Picture in Picture"
|
||||
PIV,personal identity verification
|
||||
PKCS,Public-Key Cryptography Standards
|
||||
PKI,public key infrastructure
|
||||
@ -2091,8 +2066,7 @@ PON,passive optical network
|
||||
POP,point-of-presence
|
||||
POP3,Post Office Protocol 3
|
||||
PoR,power-on reset
|
||||
POS,personal operating space
|
||||
POS,Point of Sale
|
||||
POS,"personal operating space, Point of Sale"
|
||||
POSIX,Portable Operating System Interface
|
||||
POST,Power-On Self-Test
|
||||
POTS,plain old telephone service
|
||||
@ -2139,6 +2113,7 @@ QAM,quadrature amplitude modulation
|
||||
QB,Quality Breakdown
|
||||
QBE,Query by Example
|
||||
QC,Quality Control
|
||||
QD,Quantum Dots
|
||||
QDOS,86-DOS
|
||||
QFE,Quad FastEthernet
|
||||
QFE,Quick Fix Engineering
|
||||
@ -2160,7 +2135,6 @@ RAC,Real Application Cluster
|
||||
RACE,Rapid Access Computing Environment
|
||||
RACF,Resource Access Control Facility
|
||||
RAD,rapid application development
|
||||
radar,radio detection and ranging
|
||||
RADIUS,Remote Authentication Dial-In User Service
|
||||
RAF,risk assessment framework
|
||||
RAID,redundant array of independent disks
|
||||
@ -2173,8 +2147,7 @@ RAP,Revenue Acquisition Process
|
||||
RARP,Reverse Address Resolution Protocol
|
||||
RAS,"registration, admission, and status"
|
||||
RAS,"Reliability, Availability and Serviceability"
|
||||
RAS,Remote Access Server
|
||||
RAS,row address strobe
|
||||
RAS,"Remote Access Server, row address strobe"
|
||||
RAT,remote access Trojan
|
||||
RBA,risk-based authentication
|
||||
RBAC,role-based access control
|
||||
@ -2222,32 +2195,33 @@ RIBLOE,Remote Insight Board -- Lights Out Edition
|
||||
RID,relative identifier
|
||||
RIM,records information management
|
||||
RIM,Reference Information Model
|
||||
RIP,raster image processor
|
||||
RIP,Raster Image Processor
|
||||
RIP,Routing Information Protocol
|
||||
RIR,Regional Internet Registry
|
||||
RIS,Radiology Information System
|
||||
RIS,Remote Installation Service
|
||||
RISC,reduced instruction set computer
|
||||
RISC,Reduced Instruction Set Computer
|
||||
RJE,Remote Job Entry
|
||||
RMA,Return Material (or Merchandise) Authorization
|
||||
RMA,return merchandise authorization
|
||||
RMI,Remote Method Invocation
|
||||
RMM,Remote Monitoring & Management
|
||||
RMON,Remote Network Monitoring
|
||||
RMS,root-mean-square
|
||||
RNAAPP,Remote Network Access Application
|
||||
RNIS,Reseau Numerique a Integration de Services
|
||||
ROA,resource-oriented architecture
|
||||
ROADM,reconfigurable optical add-drop multiplexer
|
||||
ROA,Resource-Oriented Architecture
|
||||
ROADM,Reconfigurable Optical Add-Drop Multiplexer
|
||||
ROC,Report on Compliance
|
||||
ROD,reuse-oriented model or reuse-oriented development
|
||||
RODC,read-only domain controller
|
||||
ROD,Reuse-Oriented Model or Reuse-Oriented Development
|
||||
RODC,Read-Only Domain Controller
|
||||
RoHS,Restriction of Hazardous Substances
|
||||
ROI,Return On Investment
|
||||
ROIC,Return On Invested Capital
|
||||
ROKSO,Register of Known Spam Operations
|
||||
ROLAP,relational online analytical processing
|
||||
ROM,read-only memory
|
||||
ROMI,return on marketing investment
|
||||
ROLAP,Relational Online Analytical Processing
|
||||
ROM,Read-Only Memory
|
||||
ROMI,Return On Marketing Investment
|
||||
RONA,Return On Net Assets
|
||||
ROP,Reorder Point
|
||||
RoR,Ruby on Rails
|
||||
@ -2256,7 +2230,7 @@ ROU,Record Of Understanding
|
||||
ROWE,Results-Only Work Environment
|
||||
RPC,Remote Procedure Call
|
||||
RPG,Report Program Generator
|
||||
RPG,role-playing game
|
||||
RPG,Role-Playing Game
|
||||
RPM,Rapid Response Manufacturing
|
||||
RPM,remote patient monitoring
|
||||
RPO,recovery point objective
|
||||
@ -2270,15 +2244,14 @@ RSC,Retail Service Center
|
||||
RSI,requirements stability index
|
||||
RSNA,Radiological Society of North America
|
||||
RSoP,Resultant Set of Policy
|
||||
RSS,Really Simple Syndication (feeds)
|
||||
RSVP,Resource Reservation Protocol
|
||||
RT,retweet
|
||||
RTA,real-time application
|
||||
RTC,real-time clock
|
||||
RTC,real-time communications
|
||||
RTC,"real-time clock, real-time communications"
|
||||
RTCD,real-time communications dashboard
|
||||
RTCP,Real-Time Transport Control Protocol
|
||||
RTD,reconfigurable tactile display
|
||||
RTD,Research and Technical Development
|
||||
RTD,"reconfigurable tactile display, Research and Technical Development"
|
||||
RTF,Rich Text Format
|
||||
RTFM,Read The Fucking Manual
|
||||
RTLS,real-time location system
|
||||
@ -2293,24 +2266,18 @@ RUP,Rational Unified Process
|
||||
RWU,remote wakeup
|
||||
RZ,return-to-zero
|
||||
S&OP,sales and operations planning
|
||||
S/FTP,Screened Foil Twisted Pair
|
||||
S-HTTP,Secure HTTP
|
||||
S.M.A.R.T.,Self-Monitoring Analysis & Reporting Technology
|
||||
S/MIME,Secure Multi-Purpose Internet Mail Extensions
|
||||
S/PDIF,Sony/Philips Digital Interface
|
||||
S4L,spam for life
|
||||
SA,Microsoft Exchange System Attendant
|
||||
SA,Microsoft Software Assurance
|
||||
SA,service assurance
|
||||
SA,"Microsoft Exchange System Attendant, Microsoft Software Assurance, service assurance"
|
||||
SAA,Systems Application Architecture
|
||||
SaaS,BI Software as a Service BI
|
||||
SaaS,ERP software-as-a-service ERP hosting
|
||||
SaaS,Security as a Service
|
||||
SaaS,Software as a Service
|
||||
SaaS,Storage as a Service
|
||||
SaaS,"Software as a Service, Security as a Service, Storage as a Service"
|
||||
SACD,Super Audio CD
|
||||
SAFE,Samsung for Enterprise
|
||||
SAM,Security Accounts Manager
|
||||
SAM,storage area management
|
||||
SAM,"Security Accounts Manager, storage area management"
|
||||
SAML,Security Assertion Markup Language
|
||||
SAN,storage area network
|
||||
SAPI,Speech Application Program Interface
|
||||
@ -2322,11 +2289,11 @@ SAX,Simple API for XML
|
||||
SBAs,search-based applications
|
||||
SBC,session border controller
|
||||
SBIR,Small Business Innovative Research
|
||||
SBOM,Software bill of materials
|
||||
SBR,skill-based routing
|
||||
SC,sunk cost
|
||||
SC,supply chain
|
||||
SC,"sunk cost, supply chain"
|
||||
SCA,service-component architecture
|
||||
SCADA,supervisory control and data acquisition
|
||||
SCADA,Supervisory Control And Data Acquisition
|
||||
SCC,Supply Chain Council
|
||||
SCCP,Signalling Connection Control Part
|
||||
SCE,supply chain execution
|
||||
@ -2336,8 +2303,7 @@ SCL,spam confidence level
|
||||
SCM,Supply Chain Management
|
||||
SCOR,Supply Chain Operations Reference model
|
||||
SCORM,Shareable Content Object Reference Model
|
||||
SCP,session control protocol
|
||||
SCP,supply chain planning
|
||||
SCP,"session control protocol, supply chain planning"
|
||||
SCR,Synchronized Customer Response
|
||||
SCSA,Signal Computing System Architecture
|
||||
SCSI,Small Computer System Interface
|
||||
@ -2345,7 +2311,6 @@ SCSIe,SCSI Express
|
||||
SCTP,Stream Control Transmission Protocol
|
||||
SCV,supply chain visibility
|
||||
SD2,Sound Designer II
|
||||
SD2,Sound Designer II or SDII
|
||||
SDA,Smart Data Access
|
||||
SDARS,Satellite Digital Audio Radio Service
|
||||
SDB,Small Disadvantaged Business
|
||||
@ -2355,8 +2320,7 @@ SDH,Synchronous Digital Hierarchy
|
||||
SDI,Serial Digital Interface
|
||||
SDK,Software Development Kit
|
||||
SDL,Specification and Description Language
|
||||
SDLC,Synchronous Data Link Control
|
||||
SDLC,systems development life cycle
|
||||
SDLC,"Synchronous Data Link Control, systems development life cycle"
|
||||
SDMA,spatial division multiple access
|
||||
SDN,software-defined networking
|
||||
SDO,Service Data Objects
|
||||
@ -2383,6 +2347,7 @@ SFA,single-factor authentication
|
||||
SFF,small form factor
|
||||
SFP,small form-factor pluggable
|
||||
SFS,stepless frequency control
|
||||
SFTP,Secure File Transfer Protocol
|
||||
SFX,special effects
|
||||
SGA,"Selling, General and Administrative expenses"
|
||||
SGF,Structured Graph Format
|
||||
@ -2397,8 +2362,7 @@ SIG,Special Interest Group
|
||||
SIGTRAN,Signaling Transport
|
||||
SIM,security information management
|
||||
SIMD,Single Instruction Multiple Data
|
||||
SIMM,Service Integration Maturity Model
|
||||
SIMM,single in-line memory module
|
||||
SIMM,"Service Integration Maturity Model, single in-line memory module"
|
||||
SIMO,"single input, multiple output"
|
||||
SIMPLE,SIP for Instant Messaging and Presence Leveraging Extensions
|
||||
SIP,Session Initiation Protocol
|
||||
@ -2417,12 +2381,10 @@ SLICE,Simple Low-Cost Innovative Engine
|
||||
SLIP,Serial Line Internet Protocol
|
||||
SLP,Service Location Protocol
|
||||
SMART,Self Monitoring Analysis and Reporting Technology
|
||||
SMB,Server Message Block
|
||||
SMB,small and medium-sized business or small and midsized business
|
||||
SMB,"Server Message Block, small and medium-sized business, small and midsized business"
|
||||
SMBXML,Small Business Extensible Markup Language
|
||||
SMDS,Switched Multimegabit Data Service
|
||||
SME ,mall to medium enterprise
|
||||
SME,Society of Manufacturing Engineers
|
||||
SME,"small to medium enterprise, Society of Manufacturing Engineers"
|
||||
SMF,Standard MIDI File
|
||||
SMI-S,Storage Management Initiative Specification
|
||||
SMIL,Synchronized Multimedia Integration Language
|
||||
@ -2449,15 +2411,13 @@ SoC,system-on-a-chip
|
||||
SoD,segregation of duties
|
||||
SOFC,solid oxide fuel cell
|
||||
SOHO,Small Office Home Office
|
||||
SOI,service-oriented integration
|
||||
SOI,Silicon-on-Insulator
|
||||
SOI,"service-oriented integration, Silicon-on-Insulator"
|
||||
SOLED,stacked organic light-emitting device
|
||||
SoLoMo,"social, local and mobile"
|
||||
SOM,service-oriented management
|
||||
SoMoClo,"social, mobile and cloud"
|
||||
SONET,Synchronous Optical Network
|
||||
SOP,Sales and Operations Planning
|
||||
SOP,Same Origin Policy
|
||||
SOP,"Sales and Operations Planning, Same Origin Policy"
|
||||
SOPA,Stop Online Piracy Act
|
||||
SOR,system of record
|
||||
SoS,system of systems
|
||||
@ -2488,10 +2448,7 @@ SQuID,Source Quench Introduced Delay
|
||||
SR-IOV,Single Root I/O Virtualization
|
||||
SRAM,static random access memory
|
||||
SRE,serious reportable event
|
||||
SRM,Standard Reference Material
|
||||
SRM,storage resource management
|
||||
SRM,supplier relationship management
|
||||
SRM,sustainability risk management
|
||||
SRM,"Standard Reference Material, storage resource management, supplier relationship management, sustainability risk management"
|
||||
SRS,software requirements specification
|
||||
SRT,Source-route transparent
|
||||
SRTP,Secure Real-Time Transport Protocol or Secure RTP
|
||||
@ -2499,14 +2456,10 @@ SS7,Signaling System 7
|
||||
SSA,Serial Storage Architecture
|
||||
SSADM,Structured Systems Analysis & Design Method
|
||||
SSD,Solid-State Drive
|
||||
SSD,solid-state drive
|
||||
SSH,Secure Shell
|
||||
SSI,server-side include
|
||||
SSI,single-system image
|
||||
SSI,"server-side include, single-system image"
|
||||
SSID,service set identifier
|
||||
SSL,card server accelerator card
|
||||
SSL,Secure Sockets Layer
|
||||
SSL,solid-state lighting
|
||||
SSL,"Secure Sockets Layer, solid-state lighting"
|
||||
SSM,solid state module
|
||||
SSO,single sign-on
|
||||
SSP,storage service provider
|
||||
@ -2531,9 +2484,7 @@ STONITH,Shoot The Other Node In The Head
|
||||
STP,spanning tree protocol
|
||||
STP,standard temperature and pressure
|
||||
STUN,Simple Traversal of UDP through NAT
|
||||
SVC,scalable video coding
|
||||
SVC,supervisor call
|
||||
SVC,switched virtual circuit
|
||||
SVC,"scalable video coding, supervisor call, switched virtual circuit"
|
||||
SVG,Scalable Vector Graphics
|
||||
SVVP,server virtualization validation program
|
||||
SWAG,Semantic Web Agreement Group
|
||||
@ -2568,9 +2519,9 @@ TD-SCDMA,time division synchronous code division multiple access
|
||||
TDC,Total Delivered Cost
|
||||
TDD,Telecommunications Display Device
|
||||
TDD,test-driven development
|
||||
TDM,Team Data Manager
|
||||
TDM,time-division multiplexing
|
||||
TDM,"Team Data Manager, time-division multiplexing"
|
||||
TDMA,time division multiple access
|
||||
TEE,Trusted Execution Environment
|
||||
telco,telephone company
|
||||
TETRA,Terrestrial Trunked Radio
|
||||
TEWE,Technology for Enterprise-Wide Engineering
|
||||
@ -2605,10 +2556,10 @@ TP,thin provisioning
|
||||
TPA,Technology and Product Assurance
|
||||
TPC,Transaction Processing Performance Council
|
||||
TPI,Total Profit Improvement
|
||||
TPM,Total Productive Maintenance
|
||||
TPM,Trusted Platform Module
|
||||
TPM,"Total Productive Maintenance, Trusted Platform Module"
|
||||
TPOP,Time-Phased Order Point
|
||||
TPS,terminal proxy server
|
||||
TPS,Terminal Proxy Server
|
||||
TPU,Tensor Processing Unit
|
||||
TQC,Total Quality Control
|
||||
TQM,Total Quality Management
|
||||
TRI,Toxic Release Inventory
|
||||
@ -2618,8 +2569,7 @@ TRT,Transition Tree
|
||||
TSAP,Transport Services Access Point
|
||||
TSCA,Toxic Substances Control Act
|
||||
TSR,terminate and stay resident
|
||||
TTL,time-to-live
|
||||
TTL,transistor-to-transistor logic
|
||||
TTL,"time-to-live, transistor-to-transistor logic"
|
||||
TTS,text-to-speech
|
||||
TtV,time to value
|
||||
TTY,teletypewriter
|
||||
@ -2656,8 +2606,7 @@ ULA,Oracle Unlimited License Agreement
|
||||
UM,unified messaging
|
||||
UMLS,Unified Medical Language System
|
||||
UMS,unified messaging system
|
||||
UMTS,Universal Mobile Telecommunications Service
|
||||
UMTS,Universal Mobile Telecommunications System
|
||||
UMTS,"Universal Mobile Telecommunications Service, Universal Mobile Telecommunications System"
|
||||
UNC,Universal Naming Convention
|
||||
UPN,User Principal Name
|
||||
UPnP,Universal Plug and Play
|
||||
@ -2672,7 +2621,6 @@ USITC,United States International Trade Commission
|
||||
USP,unique selling point
|
||||
USR,"Universal System Resources (the /usr directory in a *NIX filesystem)"
|
||||
USSD,Unstructured Supplementary Service Data
|
||||
USSS,United States Secret Service
|
||||
UTF,Unicode Transformation Format
|
||||
UTM,unified threat management
|
||||
UUCP,UNIX-to-UNIX Copy Protocol
|
||||
@ -2775,8 +2723,7 @@ VRM,voltage regulator module
|
||||
VRML,Virtual Reality Modeling Language
|
||||
VRR,"Voice Recognition and Response, or Variable Refresh Rate"
|
||||
VRRP,Virtual Router Redundancy Protocol
|
||||
VSA,virtual SAN appliance
|
||||
VSA,Virtual Storage Appliance
|
||||
VSA,"virtual SAN appliance, Virtual Storage Appliance"
|
||||
VSAM,Virtual Storage Access Method
|
||||
VSAN,virtual storage area network
|
||||
VSAT,Very Small Aperture Terminal
|
||||
@ -2791,6 +2738,7 @@ VSTO,Visual Studio Tools for Office or Microsoft Visual Studio Tools
|
||||
VSTS,Visual Studio Team System
|
||||
VTAM,Virtual Telecommunications Access Method
|
||||
VTL,Virtual Tape Library
|
||||
VUGM,Virtual User Group Meeting
|
||||
VUM,VMware vSphere Update Manager
|
||||
VXLAN,Virtual Extensible LAN
|
||||
W-CDMA,Wideband Code-Division Multiple Access
|
||||
@ -2834,8 +2782,7 @@ WebRTC,Web Real-Time Communications
|
||||
WEEE,Waste Electrical and Electronic Equipment Regulation
|
||||
WEP,Wired Equivalent Privacy
|
||||
WF,Windows Workflow Foundation
|
||||
WfM,Wired for Management
|
||||
WFM,Workforce management
|
||||
WfM,"Wired for Management, Workforce management"
|
||||
WFO,workforce optimization
|
||||
WFQ,weighted fair queueing
|
||||
WGA,Windows Genuine Advantage
|
||||
@ -2863,29 +2810,31 @@ WMI,Windows Management Instrumentation
|
||||
WMIC,Windows Management Instrumentation Command line
|
||||
WML,Wireless Markup Language
|
||||
WMM,Wi-Fi Multimedia
|
||||
WMN,wireless mesh network
|
||||
WMN,Wireless Mesh Network
|
||||
WMP,Windows Media Player
|
||||
WMS,Warehouse Management System
|
||||
WMTS,wireless medical telemetry services
|
||||
WMTS,Wireless Medical Telemetry Services
|
||||
WORA,"write once, run anywhere"
|
||||
WORM,"write once, read many"
|
||||
WPA,Wi-Fi Protected Access
|
||||
WPA,Windows Product Activation
|
||||
WPAD,Web Proxy Autodiscovery
|
||||
WPAN,wireless personal area network
|
||||
WPAN,Wireless Prsonal Area Network
|
||||
WPAS,Windows Process Activation Service
|
||||
WPF,Windows Presentation Foundation
|
||||
WRAM,Window RAM
|
||||
WSA,Windows Subsystem for Android
|
||||
WSCI,Web Service Choreography Interface
|
||||
WSD,white space device
|
||||
WSDL,Web Services Description Language
|
||||
WSFC,Windows Server Failover Clustering
|
||||
WSP,wireless service provider
|
||||
WSL,Windows Subsystem for Linux
|
||||
WSP,Wireless Service Provider
|
||||
WSS,Windows Sharepoint Services
|
||||
WSTx,Web Services Transactions
|
||||
WSUS,Windows Server Update Services
|
||||
WTLS,Wireless Transport Layer Security
|
||||
WTS,Microsoft Windows Terminal Server
|
||||
WTS,Windows Terminal Server
|
||||
WUE,water usage effectiveness
|
||||
WUSB,wireless USB
|
||||
WWN,World Wide Name
|
|
@ -1,15 +1,16 @@
|
||||
ABBR,MEANING
|
||||
A-CVA,advanced credit valuation adjustment
|
||||
A-CVA,Advanced Credit Valuation Adjustment
|
||||
ABoR,Administrative Board of Review
|
||||
ABS,asset-backed security
|
||||
ABSPP,asset-backed securities purchase programme
|
||||
ABS,Asset-Backed Security
|
||||
ABSPP,Asset-Backed Securities Purchase Programme
|
||||
ACH,Automated Clearing House
|
||||
AIF,alternative investment fund
|
||||
ACWI,All Country World Index
|
||||
AIF,Alternative Investment Fund
|
||||
AIR,Assumed Interest Rate
|
||||
AMA,advanced measurement approach
|
||||
AMC,asset management company
|
||||
AML,anti-money laundering
|
||||
APP,asset purchase programme
|
||||
AMA,Advanced Measurement Approach
|
||||
AMC,Asset Management Company
|
||||
AML,Anti-Money Laundering
|
||||
APP,Asset Purchase Programme
|
||||
APR,Annual Percentage Rate
|
||||
APT,Asset Protection Trust
|
||||
APY,Annual Percentage Yield
|
||||
@ -20,16 +21,17 @@ CBN,Central Bank of Nigeria
|
||||
CD,Certificate of Deposit
|
||||
DDA,Demand Deposit Account
|
||||
DTI,Debt-to-Income
|
||||
EAD,exposure at default
|
||||
EBITDA,earnings before interest, taxes, depreciation and amortisation
|
||||
EBP,excess bond premium
|
||||
EAD,Exposure At Default
|
||||
EBITDA,Earnings Before Interest, Taxes, Depreciation and Amortisation
|
||||
EBP,Excess Bond Premium
|
||||
EBPP,Electronic Bill Presentment and Payment
|
||||
EBRD,European Bank for Reconstruction and Development
|
||||
ECA,European Court of Auditors
|
||||
ECAF,Eurosystem credit assessment framework
|
||||
ECAF,Eurosystem Credit Assessment Framework
|
||||
ECB,European Central Bank
|
||||
ECCB,"Eastern Caribbean Central Bank (Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, St. Kitts and Nevis, St. Lucia, St. Vincent and the Grenadines)"
|
||||
ECCU,Eastern Caribbean Currency Union
|
||||
ECL,expected credit loss
|
||||
ECL,Expected Credit Loss
|
||||
ECOFIN,Economic and Financial Affairs Council
|
||||
ECOWAS,"Economic Community of West African States (Benin, Burkina Faso, Cape Verde, Côte d’Ivoire, The Gambia, Ghana, Guinea, Guinea-Bissau, Liberia, Mali, Niger, Nigeria, Senegal, Sierra Leone, Togo)"
|
||||
ECU,European Currency Unit
|
||||
@ -74,6 +76,7 @@ LIBOR,London interbank offered rate
|
||||
LOI,Letter Of Intent
|
||||
LTD,Loan-to-deposit
|
||||
MBS,Mortgage-Backed Securities
|
||||
MSCI,Morgan Stanley Capital International
|
||||
NPL,Non performing loans
|
||||
NSF,Non-Sufficient Funds
|
||||
SWIFT,Society for Worldwide Interbank Financial Telecommunication
|
Can't render this file because it has a wrong number of fields in line 25.
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user