mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 22:50:05 +02:00
Compare commits
2982 Commits
Author | SHA1 | Date | |
---|---|---|---|
439fbf5bfa | |||
c24030c909 | |||
99def28e8d | |||
5d4df61edc | |||
5a6fb1d698 | |||
5aa9ba219a | |||
00d11f8866 | |||
c77f271268 | |||
a2681adbf9 | |||
6136ae80f2 | |||
1f51d6ab66 | |||
60cc93dbbd | |||
b7e107ecd6 | |||
76a95bb8ae | |||
bc9a0ab7c0 | |||
deca430aae | |||
f1584f83f3 | |||
79e6e6150f | |||
12a7eedd86 | |||
88f6dbb91d | |||
39bd55443f | |||
35d32e29e1 | |||
036c9a39da | |||
568707d547 | |||
8258e56563 | |||
79376a98ff | |||
571c3b7e49 | |||
30440a72c2 | |||
d6593816c3 | |||
b2c6f7ea22 | |||
6a413827df | |||
230fe23421 | |||
d6071ca2b0 | |||
3721feeaa9 | |||
411756abc6 | |||
b360ab234b | |||
6cd2ea934d | |||
fa466955a4 | |||
443a4b78e7 | |||
fc23927446 | |||
d4c5c03433 | |||
af3c58a541 | |||
85e5dfe8f1 | |||
77081de9db | |||
c3ad18eba7 | |||
725bdcb680 | |||
b845d6459b | |||
5731ff7a5f | |||
af92a2972d | |||
3b3f8db539 | |||
54974f6660 | |||
29bd848405 | |||
b98b638ff1 | |||
adfc40c2cf | |||
9a9d83dfc8 | |||
60c1004a40 | |||
3d64a05c57 | |||
49b70b104d | |||
902f19c64a | |||
f74ab0c771 | |||
a2014996f6 | |||
82a6ca53f4 | |||
bbd9fd4e99 | |||
e192f34821 | |||
11bfd0b886 | |||
fa37a97c92 | |||
598adae9cb | |||
18a6d1fcf5 | |||
75672674a9 | |||
90ed5031d7 | |||
b612c905e2 | |||
4be557732e | |||
b2b539e471 | |||
57b87c4b48 | |||
6ddf3d846c | |||
6cfc31ffd4 | |||
abc5a11989 | |||
ea6ca76eda | |||
05fdf8b99c | |||
ef346ea8bc | |||
a19489235a | |||
c80d48b7d7 | |||
b0caa06e29 | |||
b72f6e6a6e | |||
3ef424ad70 | |||
c9867174cd | |||
5f573540a5 | |||
cb9df2ccf2 | |||
e2eed4e802 | |||
5ca003c8e3 | |||
360947b911 | |||
233864eef0 | |||
81a8082017 | |||
69b8b3ee4e | |||
e08a839e11 | |||
59eb6e5c7b | |||
0878ab8141 | |||
f14995fa28 | |||
4928897fd2 | |||
5bee8b4c11 | |||
098e1e8b57 | |||
d9f5847aed | |||
6132292e2a | |||
2b4fb24678 | |||
245f6330f9 | |||
00d0fb333e | |||
3dba184d19 | |||
04406716db | |||
9ae69818cf | |||
900809ed2d | |||
68093db677 | |||
46c80fcd36 | |||
dddfe0eb80 | |||
c8f6edfe04 | |||
fc8919c7b0 | |||
746825f40f | |||
29bd5ed5c9 | |||
3189a749de | |||
6e05236a99 | |||
aed2b7d940 | |||
c5b5cb1c6e | |||
4de7ec9831 | |||
85b5d2b84f | |||
8e9b84491e | |||
38f047e111 | |||
6c2002649f | |||
34de8863f4 | |||
2df84055fc | |||
4b4ef9c1c4 | |||
a79bb3d0eb | |||
c5b68daf0e | |||
11df9ebbc3 | |||
84d421b0bd | |||
19164caf2b | |||
a3d209e55c | |||
7ee714e3a9 | |||
885abeb385 | |||
513c60d5f9 | |||
a316ad6e27 | |||
1fd0b93746 | |||
714f53a90a | |||
adc7c4b240 | |||
c1104a14af | |||
95e3305c9d | |||
6625d4a909 | |||
9bdbd172f0 | |||
0c34da568f | |||
badf775807 | |||
80a756cf3e | |||
a88ee6031a | |||
edd15f6ebe | |||
680f99568d | |||
adf316dac3 | |||
1bfee19061 | |||
267a4e566c | |||
70e14b26b2 | |||
a9b0fd120d | |||
0537d616ee | |||
c9961fe97d | |||
a573ee7878 | |||
5d11391dc7 | |||
c2ece8db12 | |||
8b5cbd074f | |||
5381e88ced | |||
1e6d5ac3a5 | |||
306cd65327 | |||
67636a8024 | |||
4cc43302c2 | |||
a11c9953b9 | |||
5a5cf939bb | |||
a962e1b8ad | |||
b94c006e94 | |||
ffe8bcc3d7 | |||
0ae669da26 | |||
f89271ce4b | |||
e993d937d6 | |||
7d36c0fb74 | |||
0fe35dcd45 | |||
8ebbc74496 | |||
0bcb9cadf6 | |||
2a886f87d5 | |||
d753e11173 | |||
0c6881f2dc | |||
15f69e32aa | |||
188653a71d | |||
1498b30abf | |||
3a5f2371e3 | |||
97cd42cb86 | |||
36aa290e9c | |||
3ff1d8718c | |||
b6759748ca | |||
8fcdf14d13 | |||
8aac02ceab | |||
6553707bff | |||
f6927c87f7 | |||
1a956d2a5b | |||
dc93b28ee9 | |||
abb97e1c9f | |||
1e227f3ba4 | |||
16983fbd21 | |||
d9c784fdbf | |||
66d6bc3d52 | |||
e73e26f9e7 | |||
7501f71794 | |||
3b8b88c6fa | |||
e11581f2cd | |||
e12bff48a1 | |||
46a49b5291 | |||
27ca36b317 | |||
d3abac4b07 | |||
652fd1fd01 | |||
203c9a8cfd | |||
11a28241bd | |||
9a1cacfcbb | |||
b5909b519a | |||
830e211cd4 | |||
beafdaa629 | |||
b56bcbcecd | |||
fa91cb5236 | |||
6ccc28a80f | |||
72cfca450f | |||
b759eaa68a | |||
db3c6e6138 | |||
d038f7bbe1 | |||
965b63ea1e | |||
6a848c8a7b | |||
7a22ef6c5e | |||
c33e0a7519 | |||
b4edc48cfb | |||
9570479c81 | |||
b436672010 | |||
5c2f1ede1d | |||
be47b2d002 | |||
fa9c10d2a4 | |||
cb182e897b | |||
702540704b | |||
22b72f2071 | |||
6e093e7dee | |||
4801e38d95 | |||
523bdde149 | |||
52a5cacabb | |||
b272bb0073 | |||
ee412a4013 | |||
e2aed21d87 | |||
c89673f442 | |||
8b642165c7 | |||
59f3c1bab5 | |||
d416115737 | |||
6d65fda172 | |||
1ffd91c5e2 | |||
dafa6cf1d7 | |||
225cf201aa | |||
d9c6286503 | |||
da55be390b | |||
16526f3a06 | |||
3dbc044948 | |||
9f56234f99 | |||
587c0824b9 | |||
7d34c7cdf5 | |||
c623a07146 | |||
b365dec5f6 | |||
3d8e7fbad8 | |||
f943a8ae91 | |||
194dc78d3d | |||
60511c7731 | |||
0307ff46fa | |||
5ad06bb3d3 | |||
eca81b91d5 | |||
71eaa3e6f1 | |||
8f9bfa655d | |||
21db8c52bd | |||
398d10fc29 | |||
a9e08a6c3d | |||
b455a05458 | |||
d3e1550e02 | |||
cf606eebba | |||
6428478bfb | |||
a683f528ab | |||
9a7d8ee371 | |||
d8b3f36711 | |||
6d46821001 | |||
b2485aa1ab | |||
4a3b0aa5fb | |||
50466806df | |||
d662dcf125 | |||
6daf7a7928 | |||
54cc55b103 | |||
9d44a2e9a0 | |||
c5eea816ee | |||
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 | |||
c6a67c9860 | |||
5b0c4a8022 | |||
2bf289b8ea | |||
16bb5e7fdb | |||
72f4252674 | |||
2b997e0487 | |||
fa9d43b715 | |||
18e4f20852 | |||
aa67a452f8 | |||
aa388aab0e | |||
fbc4cee09f | |||
07227f9677 | |||
5c4abfba6f | |||
1f2dc3a340 | |||
4c3afd9119 | |||
75d513a1e5 | |||
496c807a93 | |||
d6205dfcb1 | |||
17668dcc01 | |||
16a686916e | |||
9c60ba2de7 | |||
16489cb0b0 | |||
001c19a2b3 | |||
33a42c2547 | |||
08c8d62f5a | |||
920c0d47eb | |||
0d5646eb57 | |||
e68bca293a | |||
ee4091adab | |||
584d70329b | |||
4c3327bdb9 | |||
128f460e79 | |||
d59d656366 | |||
ba00df2878 | |||
51487dbaec | |||
4b01e23084 | |||
34f31faf02 | |||
5de4bb0fa4 | |||
2a115dce0a | |||
6b05584fac | |||
6ee54813db | |||
11dce73766 | |||
306dc4ca1f | |||
3441a0ae3e | |||
3a152cd13b | |||
e2a3efa833 | |||
199b0f3162 | |||
cebc8fd9e2 | |||
2545d4f8db | |||
882d0d4e7a | |||
ccc7da102b | |||
9fccef1890 | |||
62bfc324ee | |||
9ae53cfbc5 | |||
636bc47452 | |||
198a8b7507 | |||
c2165fb847 | |||
20d37b8488 | |||
d59040b128 | |||
d81531ee34 | |||
24561ea5f3 | |||
fd667a087b | |||
bbbd454592 | |||
60710e7d17 | |||
ee9a5b53d9 | |||
7bfe9fb4da | |||
3c74ae4704 | |||
aa3031af19 | |||
beb470d066 | |||
662af9bd2f | |||
cd695a6dcd | |||
71b724df6a | |||
f569726486 | |||
2abcd039c2 | |||
834eaca343 | |||
379dfe7655 | |||
cfd75065f8 | |||
2e7c40cc3f | |||
4ae2d6ca48 | |||
d4d37d66dd | |||
46dae1445a | |||
209fda3588 | |||
16c6250deb | |||
454a83cc7d | |||
bf08fbd4c1 | |||
c2837f1a71 | |||
7361fbe8d6 | |||
7dfd242f51 | |||
97c24c1d2a | |||
414d787d8e | |||
70359f95db | |||
973e1c9b85 | |||
6ea66c2a5a | |||
19a3d9ef17 | |||
17c8e9cf09 | |||
51a269a665 | |||
2adca6ae53 | |||
b1c54049c6 | |||
f5700cb171 | |||
6b0b54fedf | |||
75abc667de | |||
87bbea0050 | |||
e978ebea3f | |||
7e76dfefe5 | |||
88796330a7 | |||
580d0860c5 | |||
a64d2f223d | |||
6a1a25ceda | |||
82d8ad6d84 | |||
4376aa3405 | |||
027a114d50 | |||
7e11a268b8 | |||
4211d4a29b | |||
0afac71d02 | |||
6b4c562015 | |||
ae2a9913bb | |||
a48c2de3b8 | |||
4b241d3e48 | |||
f02e7cb75f | |||
e360ea1c38 | |||
d54ac3a42d | |||
207a7ec001 | |||
8e8b88aa00 | |||
45087d0d2e | |||
fab8e0b8a0 | |||
fd1e46146e | |||
b6fb72bdf8 | |||
b14c6f196b | |||
c99c52174f | |||
b9f4da099c | |||
66f8de3dc2 | |||
7d1f17fd52 | |||
61b5dc1bde | |||
43cf894a97 | |||
29631bc848 | |||
33b0d4d47e | |||
5abb69a7da | |||
28f4c7375f | |||
6b8b59f27e | |||
0bde76ec72 | |||
ffc2d7d52f | |||
761888b19f | |||
6a627f7646 | |||
83ec684369 | |||
09f4b675b7 | |||
261a05c798 | |||
0c3b8fb58d | |||
130584076d | |||
dacadc83c7 | |||
8e18880788 | |||
ea1796e91a | |||
c058295a13 | |||
a6c6a6e414 | |||
1a8f85d5ec | |||
e01185a678 | |||
f237ff4e2c | |||
7da5651e70 | |||
425d9b54ba | |||
c735e9d9d5 | |||
a5221808dc | |||
c6639a39c0 | |||
d0caf8d709 | |||
71cfe18e13 | |||
24846464d5 | |||
c9c306e560 | |||
73d8a904a7 | |||
1f5ccf63c1 | |||
357d04ee41 | |||
2617f92328 | |||
39fd79b9d7 | |||
6033cd96ba | |||
5944ebe2ec | |||
1a1fa1ab50 | |||
ea1bb04a49 | |||
79460043ee | |||
2278feeeec | |||
1efe1f73eb | |||
e5b66841dc | |||
822aea86bf | |||
d1c5764017 | |||
0eeeff2c99 | |||
5a1f76ace5 | |||
b6ce7a9758 | |||
fde2fff232 | |||
e15be92a54 | |||
0fc12f96a2 | |||
243fd6a1be | |||
b45b9c0c3c | |||
4ae2c279c7 | |||
8573fe09a9 | |||
65e833fc68 | |||
1eec45fb63 | |||
aa49dc412f | |||
e845c67441 | |||
be62945ec8 | |||
1dbc01e8a3 | |||
44ad2aecf8 | |||
7f4d2d7575 | |||
adbf4b9a88 | |||
ac79a443a9 | |||
091c7a1a3c | |||
821372c229 | |||
82f25f34b9 | |||
9fa4e642ff | |||
5400b8c0cf | |||
e39f1c743d | |||
fd55f646c1 | |||
1ec38f35ee | |||
7aff4198d9 | |||
e17d4ed9ab | |||
9f2bd23e7f | |||
1a4c226f4f | |||
13067ce8e1 | |||
82964e0200 | |||
b867ccf44c | |||
e5b56114f9 | |||
fac504c9f3 | |||
3d786d433d | |||
7a9e530a74 | |||
8c9c31fcc3 | |||
938eac8a68 | |||
33fb4d5720 | |||
1eb30ac221 | |||
206a6e7596 | |||
e859cc2b8a | |||
02171a401d | |||
2ae5c5effe | |||
61331d461c | |||
ce3a361be6 | |||
af856fe2f9 | |||
baccfcf990 | |||
a31fcc2563 | |||
c056e4ec1e | |||
67a8cc6a28 | |||
91566b318b | |||
5e38219fe7 | |||
f8e95672d4 | |||
68eac507e4 | |||
fa8ebed66c | |||
f60c8e0577 | |||
fa3865a9a9 | |||
140f47049b | |||
9ef8b1f891 | |||
247873a027 | |||
c4faf8ff6a | |||
600d74dbb5 | |||
8436cd3b66 | |||
2179b4789f | |||
30c5d76dbf | |||
d2b4aa8bb8 | |||
d7e3acf098 | |||
ff0c8d2f07 | |||
8cf0a2372f | |||
ea63371dee | |||
689da89e89 | |||
75f7212595 | |||
1cd755a378 | |||
e4b9649681 | |||
fb208f3814 | |||
9ed577c0d8 | |||
4096acc962 | |||
1349be0b49 | |||
1bb23f8dda | |||
b8995aa651 | |||
e5f593eba4 | |||
3b50516e17 | |||
7b942b4fec | |||
9d4808737a | |||
e1042e6725 | |||
8f1369e0ff | |||
2709cb7f07 | |||
a8be25bd72 | |||
ae4c59f110 | |||
3fbba09e62 | |||
b994883e7e | |||
9ad2fac5d4 | |||
043ad6ce47 | |||
4e6747ffa9 | |||
caf6bbdd21 | |||
50cf84a237 | |||
c2b5ec09b5 | |||
e11fbb3359 | |||
3582ad731d | |||
4b9c77e962 | |||
37b30cb2d9 | |||
ea9f36d5a5 | |||
98419e68d7 | |||
370a21101f | |||
b2811e01f4 | |||
df0cc09c56 | |||
e79a614167 | |||
ce6b209384 | |||
23ce80ee6a | |||
8701ce8e71 | |||
c6b3c7a00f | |||
84ae222263 | |||
b3eb89c178 | |||
b024043ca2 | |||
d15f89aa81 | |||
c4a50bc586 | |||
6536e0a28f | |||
8f4d6363a8 | |||
0b420615de | |||
4582c108f2 | |||
39974f367c | |||
e33c72470d | |||
7cfe12f137 | |||
ed2527dd13 | |||
037bc52bdf | |||
2b8d31a13b | |||
2d99ce0b3b | |||
b020563132 | |||
031f6b4792 | |||
a4674ed7bb | |||
f1fe5db242 | |||
e2a99ce4aa | |||
ac3d34b63e | |||
11556dd0aa | |||
e82c36b07a | |||
3e8c09ef0d | |||
67d2c52dab | |||
603161ebe4 | |||
7d813ac017 | |||
f3ba42d867 | |||
6abf457fb3 | |||
0cb33ec99b | |||
d49ad5951b | |||
bf81138941 | |||
60c2008daa | |||
44974fcc86 | |||
3be31e0934 | |||
232426ff23 | |||
d8677b0cdd | |||
8f5762c1ac | |||
7380410e28 | |||
5a992a9254 | |||
5f8bdab7fd | |||
91e99a66b5 | |||
c2e50200e8 | |||
cbe5c46556 | |||
a67096fea0 | |||
ffaa48e228 | |||
aa335d38d2 | |||
ac815530e6 | |||
61e75293d7 | |||
89a02d6a40 | |||
515369b938 | |||
9b8bd116e6 | |||
e1e301ebc7 | |||
334c0adf63 | |||
1acc1dae89 | |||
f683a2226e | |||
ccfc7cca91 | |||
cb955eaa02 | |||
bf3ef459c9 | |||
3a0c2eca64 | |||
f77735e741 | |||
9fb528b1c0 | |||
738c78b706 | |||
bf5b548e7e | |||
aa1fd24f18 | |||
4f10d8d310 | |||
c9948bac8e | |||
ad4fc918ef | |||
99c5a5e240 | |||
244f2904cf | |||
d300bd034b | |||
9449cb4ea7 | |||
75a1346163 | |||
440f882eaf | |||
094fca2665 | |||
dd2d9e000b | |||
2faf50407e | |||
9cbbe4d715 | |||
035473d846 | |||
1eba16843f | |||
4408b5157a | |||
cc5ef1ee1f | |||
bba502758a | |||
5aa8a3f995 | |||
cea1918c49 | |||
6769ad8969 | |||
38505f4636 | |||
d6b45635e9 | |||
8a9639ab6f | |||
8386e53d80 | |||
034c5d96f4 | |||
a97064c0ef | |||
0857703870 | |||
50614a4399 | |||
029391c4e5 | |||
a111fc82ef | |||
fc67438843 | |||
6baf8dba24 | |||
729e662ef0 | |||
f46ebafe03 | |||
cedeace2fb | |||
21675577c1 | |||
43a92a1432 | |||
84dc11a7fb | |||
36e4a71db7 | |||
86341001e8 | |||
0ac0306424 | |||
3a08a627aa | |||
730e30d25e | |||
503d1394ea | |||
f49d4f659d | |||
762c7a0dd2 | |||
8e71524c0f | |||
c2b4b23d75 | |||
221c8f7f9e | |||
cb76629c20 | |||
035bafb668 | |||
4fadebf14a | |||
10152c9668 | |||
33f859d8ce | |||
e973d58307 | |||
d0eebca0fd | |||
a03fd7210f | |||
7795237e60 | |||
91526bd1ee | |||
7dc18b5b00 | |||
90e5fc9398 | |||
a778fa2c58 | |||
3e6bff15b5 | |||
be11d8650e | |||
ebe50ff58e | |||
91c06f41b2 | |||
afdaabc0a8 | |||
8bba46a997 | |||
3cd7b2f855 | |||
87f33e284a | |||
e035500b54 | |||
ad3cb047c6 | |||
0ed2168295 | |||
4e215f4cd3 | |||
1e8de9a0c7 | |||
3bfa9e3f05 | |||
01e8d59b7e | |||
483351b9db | |||
904ccf83b5 | |||
328decd842 | |||
6414af73c1 | |||
f98c0492a2 | |||
1df42cc567 | |||
9f0d2e8e97 | |||
5e96ffde32 | |||
cada22959b | |||
e0e7bd55d9 | |||
28c3170ad4 | |||
3a81d58f79 | |||
81e593c027 | |||
4ccc2c2217 | |||
0f610b4062 | |||
6e36e8bcd1 | |||
a28cc207d1 | |||
7047677180 | |||
fd625b8751 | |||
1f94a85391 | |||
54b207f46a | |||
145555a857 | |||
3a7ccd3668 | |||
3d4ea6b2fd | |||
ae01e4e15a | |||
30986bd92b | |||
17b97ad71f | |||
937132d52f | |||
06cd63186d | |||
d447f11bfd | |||
4c68600a96 | |||
69a190000f | |||
e7fabbcc34 | |||
3a94beba78 | |||
f5bf4d3c67 | |||
27ba81465e | |||
79a6623389 | |||
bb0bb7a44e | |||
658b24c9a4 | |||
2875ebb8be | |||
2aceb8f189 | |||
7ed38a17d3 | |||
5281f9abe9 | |||
a98528c96e | |||
7d52b68568 | |||
a39a885353 | |||
e5bdad8197 | |||
a40f0cf9c7 | |||
88f92eb3c7 | |||
be1f2a90fa | |||
78766416ca | |||
e5bc1fb951 | |||
fa4098e198 | |||
aef5fb6605 | |||
fdf12833f4 | |||
843f9ab9bb | |||
bbda25d8d4 | |||
a47be4c3fc | |||
1f9e5caed9 | |||
877fb5f513 | |||
2deebf187c | |||
972018a365 | |||
f43972ad90 | |||
d7127d0fdb | |||
98d50c5af1 | |||
c1607032ce | |||
42f1d1cc9d | |||
f622ee0a8b | |||
1ed84751d1 | |||
2ee093a8dd | |||
26adb9abf7 | |||
501293334a | |||
7bf107cc0b | |||
8fd6cdaf3b | |||
d4f0bde5e1 | |||
73cdf18b94 | |||
5f4d05f349 | |||
5d43eacff4 | |||
7e20f7799b | |||
0cc23ba431 | |||
51c7fdc40e | |||
cb6c2dbe5d | |||
5fe47451dc | |||
3d776af3cc | |||
b7f0bca5bb | |||
e85b6e594b | |||
4093d2079d | |||
108ab94f5b | |||
88b854953d | |||
c5f99f228b | |||
9189305c29 | |||
0ac70b0858 | |||
5348348d88 | |||
7644f4e6d9 | |||
34d6adef57 | |||
fbd44c0c28 | |||
f69519c603 | |||
784355e13a | |||
2342f24566 | |||
12d4295c01 | |||
594de8fd5d | |||
affda3fb92 | |||
f00cffe46d | |||
78d9fb668b | |||
8b49f0324c | |||
b3c23dac12 | |||
a56e58c1cf | |||
1e3265b02b | |||
7e777f07ee | |||
3e3dd13302 | |||
afb0e2b9e4 | |||
ccdd85c14d | |||
4db1c30d76 | |||
f7d812618b | |||
5d74055659 | |||
6cfc88cf9b | |||
1473399b08 | |||
047ef6526d | |||
f3cc8de619 | |||
e0aa80b63c | |||
b2424da287 | |||
3876614b62 | |||
38b71f5349 | |||
b3c91619f3 | |||
b7e36142bc | |||
098526cb0c | |||
62d8d2fd71 | |||
06655b3d1d | |||
7213c99d05 | |||
e2f7de6493 | |||
8193245c39 | |||
c17ffb3ab2 | |||
0e84592206 | |||
e505a1f823 | |||
10c9caab48 | |||
fcbd5a45c1 | |||
4dc53f4cf7 | |||
f15d74c051 | |||
0cef271a29 | |||
f71ce2419d | |||
355be549a5 | |||
fb96a10b67 | |||
90cdad6f51 | |||
0e74462ae7 | |||
462a22030b | |||
c7f0100072 | |||
60535b5177 | |||
0c067612ba | |||
78cbf141bd | |||
868fb1e614 | |||
8319dc94b4 | |||
b5785eefcc | |||
3415dbb31b | |||
dae684616c | |||
3e0656b356 | |||
d84a92ba2b | |||
79dadddfad | |||
f7d5d62a77 | |||
356811c13e | |||
50dfa4f876 | |||
f7f409af51 | |||
7a8c103db1 | |||
29a6b8aaaa | |||
acc56ff7d4 | |||
0ee5e15c7d | |||
ab1b77453a | |||
379adef007 | |||
655dae666e | |||
7172bcadd8 | |||
669bab0b2e | |||
4ada589b40 | |||
3fdab43903 | |||
c8efe1f4ec | |||
1cca88c32b | |||
ac6ec19bfd | |||
3bc33d67b3 | |||
6b584350b2 | |||
705f9962ad | |||
d1075e3cdb | |||
4656ef2326 | |||
7f044f1a08 | |||
d943498eaa | |||
309af499f6 | |||
49d0a726d3 | |||
4f4638b2fb | |||
700c81d09a | |||
17d4839150 | |||
141a867b06 | |||
92e029f433 | |||
d088f1f828 | |||
b603d7543c | |||
2efc18edfb | |||
5bed15231d | |||
b8507aced7 | |||
2b28eba7d3 | |||
f3233c513a | |||
7ab84e960d | |||
ba0e42470b | |||
62eb13ae0e | |||
9129205ce9 | |||
61ca5b5bb0 | |||
0f16b6b164 | |||
f354121e80 | |||
42ad2bef59 | |||
d83e8e7bda | |||
b5349dc5ae | |||
1e45baca71 | |||
a99a0ce61a | |||
19793102bf | |||
9b32339079 | |||
3f5188ceb9 | |||
c83f590247 | |||
86463af566 | |||
46186820ca | |||
e6ef816d5c | |||
4bb056654f | |||
663b529bd7 | |||
4546915f4a | |||
99e3a3538f | |||
b4ef446aee | |||
153f8d9ad5 | |||
a1dfd2dae9 | |||
6c46e141f2 | |||
4b83412bec | |||
d01c8d3a62 | |||
44630163b6 | |||
846ba2d56c | |||
c361acb66e | |||
5137757500 | |||
3bfa372584 | |||
60cab826d7 | |||
bd6024eb1d | |||
e1150b70e0 | |||
3e80e5cb68 | |||
3030e020bb | |||
3207c9b4b7 | |||
a55477e831 | |||
54111881b6 | |||
fbb39f4b50 | |||
c9380578ed | |||
15d88fe383 | |||
0904e73197 | |||
656db06ccc | |||
1bfce0a4e4 | |||
96b934e417 | |||
ff9531bdfe | |||
6b5a40a7b1 | |||
91ba386b39 | |||
2c026ee81e | |||
4ef2f3e384 | |||
aef9527491 | |||
9410aaf9ad | |||
e23add455f | |||
37a7468559 | |||
6df3796258 | |||
fdaa75ddfd | |||
e17b81d653 | |||
c064132d11 | |||
aed29e2154 | |||
b5ae3594da | |||
843c9dbfa1 | |||
e22c6a7ea8 | |||
9d697a70cb | |||
66fa70a2aa | |||
b03cb29ec8 | |||
e5e76c1247 | |||
b2c8738ed3 | |||
8c44c577ba | |||
b2751ce081 | |||
b5c76c551f | |||
b2c1047017 | |||
69a8fec934 | |||
c8a94f67d6 | |||
53d08a70db | |||
6400207cf9 | |||
6b5e29d501 | |||
f20248dc0a | |||
c6e7da31b6 | |||
365c53c13e | |||
aa593c5edc | |||
0654d7730b | |||
dd4f14f6c6 | |||
22c3068d1d | |||
9670dd706e | |||
0fe4d2f6c7 | |||
546dbdfcaf | |||
ae52401e98 | |||
57d9a73c52 | |||
c949bb828c | |||
1af1b6acaf | |||
cbf046ba3e | |||
123494e015 | |||
61c763a95b | |||
b6319be2b2 | |||
f23f3518b6 | |||
701fe3fa65 | |||
90ce306f70 | |||
863e55138c | |||
2d34c18010 | |||
60cc5c44dc | |||
d64c803dd0 | |||
2ecd726f43 | |||
c3b3b492d4 | |||
985db706ad | |||
6531d14f66 | |||
d5e5f5cecf | |||
28546f9a46 | |||
97bd2f24bb | |||
039583ebfe | |||
8693c29dc1 | |||
4f8c263552 | |||
0ced649ed1 | |||
53fd786403 | |||
fae30d1d3f | |||
d739604c79 | |||
32bd7c2edf | |||
26c750bd05 | |||
36e1c163ab | |||
3b1fd748e4 | |||
baa459d26a | |||
2b58305a23 | |||
c65c8fcdbf | |||
8bc20cb05d | |||
44449c60a9 | |||
4165e32852 | |||
2fcfb4fad6 | |||
a8ce6ede69 | |||
fa7823858f | |||
7c1e83cbd7 | |||
470b6a25b3 | |||
8a8ad95e29 | |||
da4b013b89 | |||
8e9e963a78 | |||
7f79a2afbb | |||
4dac9cf2b1 | |||
97e58a86db | |||
00edee9b69 | |||
21747f5ca1 | |||
df379cc0c2 | |||
ad7ba58204 | |||
9b14cbd30d | |||
0d99de3988 | |||
eb098a1290 | |||
efd57ea300 | |||
4e911e6dc0 | |||
1ed917582a | |||
bf5aa0a598 | |||
d645f5940d | |||
8ec7113298 | |||
db627e2910 | |||
f8ae1c2042 | |||
0dbc4f179c | |||
e75516375e | |||
7cd93cfc0a | |||
dae6f7ab3a | |||
0a5cb95651 | |||
b349cd3416 | |||
695e87cb04 | |||
2d6d8c586a | |||
dc2fee91e3 | |||
bfde55932f | |||
7de3ba458b | |||
f0450d22e0 | |||
c72e01facb | |||
26ad83c417 | |||
a7b8943e99 | |||
3ec85bc048 | |||
fa694a5278 | |||
2c2567fe5c | |||
e40628bad2 | |||
ade93f798c | |||
3ccce3044a | |||
d229091281 | |||
b8442db89b | |||
545a0e51ae | |||
459a517ba0 | |||
669b12dc37 | |||
afe68edf1a | |||
4ab6f26645 | |||
3dc176d9e8 | |||
8af0a9390b | |||
e2a98f1e50 | |||
23dc4c2f82 | |||
52eb6034bc | |||
d0fe73ce11 | |||
5600a90d36 | |||
3d4147eb81 | |||
0a4fa61c75 | |||
150cfeb3d1 | |||
9adb09385a | |||
8bea6e12d1 | |||
5706f6a91a | |||
cea14316e6 | |||
cb53701a0a | |||
6ad42b3355 | |||
4ad99b0a91 | |||
824a70d9c9 | |||
844996442b | |||
9f396620df | |||
c5e2f92a4c | |||
b5d19fdde2 | |||
6e972bb5d3 | |||
2de3ecc59c | |||
a2d2aaa932 | |||
63860c3d8d | |||
8022c28fc7 | |||
551ea988e4 | |||
bbd7a6c36c | |||
1d0754ff57 | |||
0b0d2498ca | |||
85e05a5a70 | |||
d95cbbb4c4 | |||
289983d888 | |||
32df71fd8d | |||
d494d50d91 | |||
0d739f8a1a | |||
d5e97a1d85 | |||
a880bd71c5 | |||
c72dfb2c23 | |||
5a712d7240 | |||
4ef2127623 | |||
a70c24b8c7 | |||
22f4dcab52 | |||
38f5b268a2 | |||
a835ad6473 | |||
face3aa462 | |||
1384acd564 | |||
3aefcfd2a0 | |||
1a83a3032d | |||
e192342523 | |||
7b6f2b7cc2 | |||
767634fba0 | |||
b380bbc862 | |||
7cfcff426e | |||
500e987190 | |||
444331ebc2 | |||
45f96fa3a2 | |||
88f2492f99 | |||
3feaace049 | |||
45c1b1e235 | |||
4730d84c84 | |||
a084275235 | |||
9060f0099a | |||
be18af2e28 | |||
7754be7995 | |||
d261f1efdd | |||
f76872ca9e | |||
deec73527f | |||
59d1220f36 | |||
650e9b5d85 | |||
3458087efc | |||
dcd833acef | |||
b4111a6784 | |||
1eccb184d8 | |||
ebd663e34e | |||
fbdddbabe8 | |||
4e93ed99bd | |||
e29b6db89a | |||
742c44d8aa | |||
8f38eb3192 | |||
ce16c33272 | |||
83d205e717 | |||
2f942d173e | |||
c15f94928b | |||
3f9ee0d023 | |||
e0b603f1b6 | |||
bffb7d6a11 | |||
b6a4db1c1f | |||
fd451e1ead | |||
e4830a86b6 | |||
fa9223b24e | |||
3ac262573a | |||
d23eebc023 | |||
0bf94c16fb | |||
a9604fbd79 | |||
78232dacf7 | |||
3375e6db6e | |||
357a6f2fbb | |||
107b807e22 | |||
945914a326 | |||
888e0a5408 | |||
b6baa94e3b | |||
4dce0d282a | |||
3c91a3ea42 | |||
0853b92f5e | |||
f8e73d32a8 | |||
b12f9c9f45 | |||
da9c58db56 | |||
5ce4f60d45 | |||
7688491d55 | |||
46e582913c | |||
482b5b86ac | |||
ce70b5e32b | |||
7489b8501d | |||
50f80e57c1 | |||
ea92d28485 | |||
4f31313923 | |||
74e108a1c6 | |||
198c45a448 | |||
eb51263d84 | |||
3a23ab483f | |||
8876c5c003 | |||
b1798e378b | |||
34fbaec4b7 | |||
28a33e074c | |||
c35c7b2786 | |||
1b63bb91b9 | |||
08cedf6696 | |||
80c8863f99 | |||
5cfa13f102 | |||
6bc3e59a0d | |||
3cd545cbbb | |||
9e9f8a5534 | |||
bb2d431ce9 | |||
a2817bcba1 | |||
934e05e27f | |||
d1ef3fe8e6 | |||
769074fa51 | |||
66bccad7e1 | |||
daf4684c5c | |||
a75cb369f1 | |||
a0a9a6230f | |||
18a1b55580 | |||
2d130e5f71 | |||
47c2254882 | |||
f14196edf8 | |||
64b95af3e0 | |||
2f8620c610 | |||
ac4df785f2 | |||
31ef9cf5d0 | |||
1709e7343e | |||
b566599a71 | |||
7733f82fac | |||
f41205c332 | |||
09306c0156 | |||
0f00ffd371 | |||
296a82e58f | |||
c1317242a8 | |||
931a692848 | |||
2667aafada | |||
12897c0d1d | |||
02ee5672a7 | |||
53d44cc2dd | |||
b6317944c0 | |||
96171c5598 | |||
fe1a4f79f2 | |||
4fbc4dcccb | |||
afd4f0a92b | |||
bace31a3fd | |||
bbf9f04a24 | |||
be629e44e6 | |||
6197f6f91f | |||
c35ffff616 | |||
be47ae499a | |||
5dfc725242 | |||
daf60a7f78 | |||
39258d67c8 | |||
737ddf7b05 | |||
9cec25554c | |||
1cb3ca6731 | |||
1ecfc50b7e | |||
81fe2bba52 | |||
fb974454d8 | |||
b34fac4632 | |||
bbae36eaa2 | |||
c6d500eeb6 | |||
f9e7237647 | |||
92dbf75dae | |||
eef092a7dd | |||
ccfa0bdc20 | |||
d5dcca6f3a | |||
2ec537cd64 | |||
64b1382868 | |||
df63d08f39 | |||
0ddfff3a1e | |||
ed9a4751fb | |||
b38d2f3ef6 | |||
ca7c5e1541 | |||
e7baf37108 | |||
aca66d20ee | |||
a9cf1a8941 | |||
0d4e1aac45 | |||
348d7eb3ec | |||
fad4d1ad25 | |||
f6b1f6e79a | |||
a81c4b66ef | |||
2301350722 | |||
f076177b60 | |||
18964a37fc | |||
6c792e2cef | |||
c9e0c71733 | |||
e4e34f34e1 | |||
a6405ce64d | |||
a2c111e453 | |||
238f30c9a3 | |||
5f4bebe321 | |||
e7544d14d9 | |||
5862523aa3 | |||
8328c1d14f | |||
f7582355db | |||
f1d7810c5e | |||
d581b0a57d | |||
21a5fac8d9 | |||
a05dcd7c48 | |||
5988b9d42a | |||
140c958b3d | |||
0e0dd641e3 | |||
49d819f307 | |||
97570d3229 | |||
fa9e8f7363 | |||
a2a8fa36c1 | |||
94025de1f9 | |||
834cad35cb | |||
6652660a39 | |||
13e8828482 | |||
cf3dbd051f | |||
fe3cd68194 | |||
0cdf5ec9a1 | |||
ddb6484a9d | |||
be860c4902 | |||
f90c717bd2 | |||
ba03ac8412 | |||
c1290d17e3 | |||
fa71267c50 | |||
6fa8cbbeff | |||
23fb20eb1a | |||
49c221b8d5 | |||
e351ce7dfa | |||
cb6a5dde20 | |||
2310b53e6a | |||
d9ce422619 | |||
f61d832ffa | |||
3e440b26b6 | |||
1c6121d654 | |||
108128cd51 | |||
0288614b8d | |||
bc7cdc330a | |||
f1ac46af9d | |||
2d0db82461 | |||
c8c4da44df | |||
ac6c00338f | |||
ee135d54ee | |||
00b4656119 | |||
ad3fcb9a58 | |||
148c0ab733 | |||
c381334679 | |||
e2cb179266 | |||
85f6ae8413 | |||
4f39fdd245 | |||
46aff13090 | |||
6da9a90a3e | |||
263433a80b | |||
969a457a15 | |||
fb5586d228 | |||
d042c48c42 | |||
a92b643132 | |||
bd9da27782 | |||
4435f8f2da | |||
e70894af6a | |||
8f6089fc3f | |||
48b4a21b1e | |||
a924f76a99 | |||
e821fc3912 | |||
af18ccd73b | |||
dfad9e5084 | |||
47aa344912 | |||
4795a50768 | |||
7fb2915036 | |||
e71741d12a | |||
bcb66d2445 | |||
03824dda43 | |||
a85bb07933 | |||
fb835bcd7f | |||
f74b989b95 | |||
d453841f6e | |||
3a6c0f84bd | |||
8875545f20 | |||
39071714b7 | |||
bedc512f47 | |||
c1b4b0b981 | |||
a5ff3ae02f | |||
21c25ac698 | |||
cb282a067b | |||
348403a3ba | |||
4645661788 | |||
4eb2dcb4f2 | |||
306f59b6b7 | |||
006624430b | |||
436a650f2f | |||
546c436b3e | |||
7b46ee3503 | |||
a1f5934d09 | |||
ed68ba05d0 | |||
475df7fed6 | |||
104049cb50 | |||
0559165668 | |||
f69e1e428f | |||
2131b72577 | |||
2eb776610a | |||
f1682f3604 | |||
682329f09d | |||
ead2e57075 | |||
2100056e6b | |||
b185f9b145 | |||
537d2b245a | |||
10f409d2c8 | |||
d32dc93cbb | |||
744ea2275d | |||
45cd3e0876 | |||
1803b09fad | |||
bbe9aa3ef9 | |||
eff81eecea | |||
9cd4e7c44e | |||
0e4a6036f2 | |||
39d17bbf49 | |||
0951bbc4cb | |||
43ba62d10f | |||
6c01170d82 | |||
85f69c3f95 | |||
a04f89554d | |||
0c4d8c927d | |||
151c5f73c0 | |||
c81ae078b8 | |||
9897b11d0b | |||
37b85938a4 | |||
81e4acdefd | |||
d3f95bb4b7 | |||
7e0bee76d6 | |||
72a5fe04f5 | |||
1e74c2d15f | |||
13ffbb9214 | |||
a48756dc3e | |||
f1993cad42 | |||
eceb8c982b | |||
5931dc0774 | |||
e0e60e2981 | |||
83b8598bae | |||
971aa8c00f | |||
436633b55f | |||
3cc97862af | |||
04738077fe | |||
2e86cb0fa4 | |||
8482d37c3b | |||
62e99556d2 | |||
d68df88c4d | |||
b1106be615 | |||
149bf8baf8 | |||
a4f25f2b35 | |||
62f47df20d | |||
8144fad50f | |||
cab7664d67 | |||
3ac68d5826 | |||
03b6623128 | |||
3ccf9d1124 | |||
60024da825 | |||
8f1393ae3b | |||
e6110bcdd8 | |||
6bbe1bf59d | |||
2ff3b1e4a1 | |||
ca23af14bf | |||
485bcbfe65 | |||
3264c2fbed | |||
71e4bc64f1 | |||
cae2904f3d | |||
4b1b9748f5 | |||
3753ef3b35 | |||
eca4d1571f | |||
7091f53cf0 | |||
6840cd3fbb | |||
7a11e4705a | |||
12ca2bf138 | |||
f09438bc6f | |||
12639db861 | |||
b2a16c4e5c | |||
45f770e9fc | |||
08140a4f59 | |||
6d0a982b50 | |||
b0330be96c | |||
45d72ecc4b | |||
2003b18424 | |||
958df2a2e4 | |||
18f05fc262 | |||
293398d386 | |||
afde886e6f | |||
7db5dac5f2 | |||
2f8187cb82 | |||
69b9544a21 | |||
3d1462f2f5 | |||
59c4596271 | |||
e1feb43253 | |||
f9ef1c93c7 | |||
89194a0286 | |||
4de937934d | |||
447560ef34 | |||
3618087c25 | |||
25fed61829 | |||
6c03238aa9 | |||
7507d59a2a | |||
e0e866de16 | |||
12a9e83c65 | |||
ba14c43c24 | |||
a1ff76c495 | |||
97b407536d | |||
15e3d9f49c | |||
8114a2fe2a | |||
bf7bdf11f8 | |||
7bccf69f0c | |||
c112524c6f | |||
757eba69d9 | |||
a6927786c6 | |||
319d7312f7 | |||
8962779535 | |||
db097326dd | |||
d10f8fb266 | |||
e131e2ff0c | |||
db4c008925 | |||
efd096dc0c | |||
ea3ec5ea6d | |||
470cfcbb2f | |||
8149c001b7 | |||
dd9dfda0b8 | |||
8262d06631 | |||
0bb7dba477 | |||
2f561eeef9 | |||
8f0644cb6f | |||
135909ecac | |||
a15e596ce4 | |||
f7722366ec | |||
8519271de5 | |||
fd7b60182d | |||
e8df5794cd | |||
609440022a | |||
023e71058c | |||
87c1e5b02e | |||
ba65ee0bac | |||
b26ac88499 | |||
f5ff29446a | |||
8d13d68788 | |||
bce67c5502 | |||
c536779803 | |||
4cf81fb889 | |||
413f689f55 | |||
82d6eee187 | |||
f1161e05c7 | |||
2e35a91d8c | |||
ae6057a02b | |||
d2a40de50a | |||
ddb7aa1dc3 | |||
ae4298b114 | |||
7e1e4f4336 | |||
97e2691eaf | |||
1b63f059be | |||
b910fb9246 | |||
22a4a7a902 | |||
e190750265 | |||
13e64cfb2c | |||
7b5165e34d | |||
50ea7be8f1 | |||
63595578bf | |||
96878c410d | |||
7a653ffffe | |||
506ceb0fd6 | |||
1d228e8fb5 | |||
9a0c57139c | |||
877cdab36e | |||
d15a5e5af3 | |||
8eb51506e7 | |||
0c9def2bee | |||
adbc91e573 | |||
49c61532f1 | |||
c2b4be5e37 | |||
9259ab452a | |||
42aab1440b | |||
8ea938067f | |||
7a332d2b1d | |||
8a6524542d | |||
ff683cdf96 | |||
9ce6a1e06f | |||
1d17a5a891 | |||
914634fd29 | |||
e188da6c5e | |||
58e769b940 | |||
4e9e047c05 | |||
038a32f075 | |||
e6e98e34ec | |||
d90a5918fc | |||
66125459f6 | |||
9ab4ac9aa5 | |||
0c2720838c | |||
1a94413a0e | |||
3122902f0b | |||
335c3eb094 | |||
b4c2f03fbe | |||
0d39a0be4f | |||
b711eb47c7 | |||
5b28890680 | |||
090cd08243 | |||
d23894fa80 | |||
9d16073331 | |||
49360833f1 | |||
68c00db77a | |||
0e153338a9 | |||
aec2486e38 | |||
fce75a4987 | |||
0ef9a5e116 | |||
671af2114d | |||
5b68b6f017 | |||
bb3623212b | |||
b912d29d1d | |||
181c8688a8 | |||
e139a28e18 | |||
3df290b201 | |||
6408e33b0b | |||
b9069dd275 | |||
a92090f052 | |||
41e06dd2f8 | |||
e8b0875b2a | |||
d2460bf73a | |||
3f0d882dcd | |||
72fba014ec | |||
9859424541 | |||
5a11b1fbc1 | |||
41f8c9d5cd | |||
2881994f5e | |||
220be1e754 | |||
96c288c18a | |||
8df9703a01 | |||
5fb1f52ace | |||
f5edb4f370 | |||
dedaad01bf | |||
6d6a49b8a1 | |||
c955685fa4 | |||
5746609a35 | |||
be5ef1b745 | |||
f687fbb8a0 | |||
3868e56a70 | |||
394cab03a1 | |||
d3fbe3a167 | |||
38615d3213 | |||
40f628dae4 | |||
c4d1310fdc | |||
5d0a60bae7 | |||
ca99f13dab | |||
759f3509cf | |||
7b3d118ee7 | |||
983e8dae97 | |||
8aef2ef324 | |||
1d88d97606 | |||
2b85a84672 | |||
9bd6c1072c | |||
86a19bb19d | |||
66329b9b2b | |||
13aacff361 | |||
6fb9fe787a | |||
3fa92d1935 | |||
bbdac87cde | |||
1d191821df | |||
9c405e1f6d | |||
8cb9e9a888 | |||
3e9db326bc | |||
1289232de8 | |||
7aa7af1028 | |||
8301a63a6a | |||
2c6bfc2975 | |||
bdde4f31df | |||
1383261c68 | |||
3a0cb4a001 | |||
589ba8e93c | |||
2d2803ce4e | |||
5e81da2267 | |||
6f99492e48 | |||
ca0e597adc | |||
751ab1c3a5 | |||
d977df7ce0 | |||
5690484b39 | |||
c657f8b77d | |||
ea7512c1c0 | |||
70422aaeb0 | |||
42ef987d69 | |||
3e72ee7e3c | |||
e7588e7b8c | |||
38f4bb9d95 | |||
38c8ef7b8c | |||
9b86a13895 | |||
09cc35b15e | |||
7a7a92ecc4 | |||
fdc9965b30 | |||
afdec27755 | |||
076b732564 | |||
0f4b7a68a7 | |||
3b329766df | |||
4e5cd0a94e | |||
bf7feab3e8 | |||
1d5c57c758 | |||
1896543ea5 | |||
668e48a678 | |||
6e33ea683f | |||
373400fe22 | |||
7b0ef3ab6a | |||
2dac872f1b | |||
494c697861 | |||
ec24595679 | |||
b6c9f08267 | |||
c52b7b0959 | |||
65abfe4f59 | |||
87f66ff086 | |||
fdcbb522c7 | |||
1e716c7d01 | |||
1749840007 | |||
8df8781abc | |||
fddb74383f | |||
11d2d4ebd0 | |||
2a4227fd97 | |||
b671278f7f | |||
5232e050d0 | |||
bc2b26be7d | |||
a35caa680f | |||
ee6ae12f5e | |||
6a7971267c | |||
9a768c3591 | |||
755f797bce | |||
a54455d581 | |||
aa22e90beb | |||
909c8fa0ff | |||
7bce556044 | |||
b3e6c4711f | |||
3796e65120 | |||
7bd5e1fd65 | |||
3a1ab5c0f5 | |||
6b4d4b418e | |||
3871c5ec84 | |||
abca2f5d62 | |||
4b0900c5bb | |||
678250be48 | |||
4e41f16a8e | |||
0f3f7f74b2 | |||
7e3fdb7167 | |||
becc2d5a06 | |||
d9f65fd00d | |||
7b1dd66351 | |||
a959f51ce6 | |||
372e773c12 | |||
17b2050c07 | |||
005613fe54 | |||
0e6dd51c26 | |||
717dc11d6d | |||
a77df3fe52 | |||
189a4fddf6 | |||
bdd653259e | |||
b7bc6bbb82 | |||
004900d484 | |||
0b3859cd79 | |||
0f17ebed39 | |||
af77cc710b | |||
26a062a9be | |||
116086a1aa | |||
ad4d69c633 | |||
76c805abf8 | |||
2f7c01faa8 | |||
ba35584fda | |||
710ff06e9d | |||
c5a3bf0608 | |||
ba17f5b5e4 | |||
304d2fc265 | |||
7e6c942c1a | |||
e4a9cbbf6b | |||
9468ac7be1 | |||
9f6ade0c8e | |||
8ca7ed86c1 | |||
2fdd975e96 | |||
a0e6babacf | |||
8af9ffacf1 | |||
9fceed788a | |||
8d6ea7ce5d | |||
8ce77eb59c | |||
79537aa0b7 | |||
ee575cc2fd | |||
76994cc95c | |||
8d0c44aff0 | |||
d4079fc2a8 | |||
70d97b6e91 | |||
531e38847d | |||
34c0cc91dd | |||
b99586b83c | |||
fe04b36fc0 | |||
6d77c976da | |||
c71af72eb2 | |||
06d3c1c03d | |||
07444ceb70 | |||
3deb7fbd99 | |||
822cadc1aa | |||
db8c04cd5a | |||
e34c4b14bf | |||
42ae988ad1 | |||
f04585c746 | |||
35ddbf5ef7 | |||
cfc05d1afa | |||
ea16de8d99 | |||
372e81ac4a | |||
75dc90af86 | |||
742865ea2c | |||
099c3b8580 | |||
ca8867007b | |||
92cfac922f | |||
847191d6d8 | |||
5d102e4962 | |||
0b34ace6fd | |||
81edcadf1f | |||
71b72611b7 | |||
5a2dcb0465 | |||
ae2ba5bf30 | |||
fa952666d4 | |||
b274a812e7 | |||
6a6f65ebe9 | |||
149f1aacbe | |||
395bc98718 | |||
d7cb9342f0 | |||
8e34e34714 | |||
6d9ff7f750 | |||
09faebf2d9 | |||
01eed5424a | |||
cbc1e22d96 | |||
8ad047ac90 | |||
7f59fc7008 | |||
ee61617a90 | |||
bd9c1525f6 | |||
2069067870 | |||
aa2416ec1d | |||
359745781e | |||
01e333675d | |||
36938724dc | |||
6320b1f287 | |||
9d310d2521 | |||
56035668a0 | |||
4a7eaf3d6b | |||
c743352975 | |||
c754bae0bf | |||
6f1b4bbcd7 | |||
ce5311e427 | |||
c8dd256933 | |||
ef5cc8ed79 | |||
62d1163e82 | |||
194040f6a3 | |||
3615e7359f | |||
4ec936947f | |||
11de98578d | |||
14849e05dc | |||
cf4c1c6ffa | |||
af8f300a40 | |||
2e5be6ac68 | |||
d95c984d64 | |||
337656524c | |||
45c7b23d2c | |||
2c68806fb3 | |||
e58351b53b | |||
8ace58b30a | |||
25051e31ee | |||
44a1fb2f5e | |||
dbb442c7ad | |||
5f395f6e9a | |||
729054f0d4 | |||
15e055456a | |||
bf3910a180 | |||
03d492df4d | |||
e9579321f2 | |||
f62da428cc | |||
5f60e81650 | |||
5a7423825a | |||
09e1a51883 | |||
64d28d06dd | |||
c0ac182041 | |||
73c3471446 | |||
6cc17e29a7 | |||
4238381016 | |||
355ac74eae | |||
1ce36081a5 | |||
e3e4ad4f4d | |||
5126145892 | |||
569035f4c6 | |||
a1c2ec8c38 | |||
4756504bea | |||
a9b4f6f33f | |||
a6a1774fa6 | |||
4668ef4ee2 | |||
e8abfdc847 | |||
7dc0a82db4 | |||
ab4d14653e | |||
22e7873c9e | |||
e92db959f7 | |||
c4d9d6d29b | |||
fac048c3ec | |||
c4c06bfd7b | |||
c278aca1c6 | |||
9997cd9c35 | |||
580dbb9354 | |||
ac8d22a6ca | |||
35d77e4250 | |||
d0410f8c2b | |||
f9b9a9dd88 | |||
95d85d7b27 | |||
72f75c2870 | |||
c19fcecc79 | |||
81f2da600a | |||
d013e3e60b | |||
3da0c69477 | |||
a966cf086f | |||
c7a096833f | |||
0587eddff9 | |||
7649f8fe2f | |||
23d02c432e | |||
3978a8d1a6 | |||
243a2cdef5 | |||
ba95630b78 | |||
3c609c0687 | |||
4ebf8910dc | |||
58d29c342a | |||
8769106967 | |||
24a26a718c | |||
5ed926b608 | |||
bfa95f9a5b | |||
1126411769 | |||
d2012b1ee3 | |||
27c61eb807 | |||
cedd56b8df | |||
1a74335692 | |||
ff28c7e297 | |||
9c902b4d50 | |||
9c30c0ccfe | |||
9d240326c8 | |||
2386fa4df9 | |||
e9a860bc3c | |||
4175c0fa7c | |||
3fcf9d0c6d | |||
c4d33be8cb | |||
fb0f2a9670 | |||
7b676057d4 | |||
29edaf0cdd | |||
c2c5501f06 | |||
07f01a07fd | |||
80859c78a4 | |||
1a8f607286 | |||
e9abedaf1e | |||
07f46cb36a | |||
071ad49d5c | |||
2a3b93c792 | |||
8aab849e6b | |||
fd5a1deba9 | |||
3c55f1889f | |||
55d735f59d | |||
6327c74045 | |||
5fd52e0648 | |||
98ac588a23 | |||
2853cfdd3b | |||
9145a02bf8 | |||
eda717a626 | |||
bfeb86d82b | |||
8ddf6f0e37 | |||
e4aef680b8 | |||
535986d50f | |||
e245e8b658 | |||
7956943d82 | |||
30ee66b7c2 | |||
531d99dc71 | |||
736bfc276a | |||
641a82d250 | |||
a9e41af86e | |||
3bba9c82b0 | |||
cdbaf9a680 | |||
fa7142e862 | |||
abb40a9566 | |||
dd9f3592a4 | |||
3e923d5df2 | |||
ec40505b19 | |||
8274022544 | |||
a5d61a40b0 | |||
bd4e4b8303 | |||
a00cb9a299 | |||
55037153ae | |||
37b937af7a | |||
1a172841cb | |||
23f4a9a3b9 | |||
9c394e2d3f | |||
a6a7b72b7f | |||
13513ef400 | |||
5364f9d303 | |||
75102e41d1 | |||
1d335fb513 | |||
4c8f0c90d0 | |||
84f030a0ef | |||
cbe13303dd | |||
7451a85596 | |||
97700426e3 | |||
df8c9af191 | |||
c7aaf94f5a | |||
edec1485f3 | |||
acbd52fa70 | |||
4914a48490 | |||
b9c7e36ff7 | |||
b1903422e2 | |||
96794caf66 | |||
1f4148975e | |||
2fe545d313 | |||
1ca080ad4c | |||
33e36008ed | |||
312b38a04a | |||
dbe42671ec | |||
5e2bc0c609 | |||
dcb11e4c6e | |||
a6999c931b | |||
0bfa4ce4c9 | |||
27477f409e | |||
f79dde7228 | |||
d32c7aba9f | |||
94352bf11b | |||
ba17c231db | |||
7bdaef5002 | |||
d7e954417d | |||
f07931b8b4 | |||
6ed1e06438 | |||
62d729c359 | |||
87bab35a81 | |||
9492c2cbda | |||
1f8804fe37 | |||
86f936df08 | |||
d4c81b01aa | |||
77fc5ad500 | |||
1c024ffb7c | |||
352afcc3c4 | |||
15229dfe3a | |||
76d17fcd9c | |||
2102b57921 | |||
e659cc2606 | |||
52285d3c3b | |||
6c5e2efc35 | |||
1f481c65b7 | |||
e6f49215f0 | |||
a69e3c3bc1 | |||
14e7bee631 | |||
c2fc981d4f | |||
83ce93a7ae | |||
7b8922af8d | |||
175c904322 | |||
ebf16c7ef7 | |||
8fc70192a6 | |||
6e1a1897e8 | |||
badb85ad23 | |||
c05fcfe32b | |||
3dcc84e4dd | |||
3942b3cb26 | |||
5e5d359049 | |||
e9bfd8cf10 | |||
32d2b76abb | |||
840dd7f3cc | |||
1bb7b22b27 | |||
7cbd688374 | |||
7f298f5722 | |||
d5a0a2a7e5 | |||
7e2a1c41fd | |||
103dc88d4d | |||
8ff0cf558a | |||
cde7d0bada | |||
4b32817170 | |||
bd616fd925 | |||
7b898d7180 | |||
eed0b14b0e | |||
a37194f57c | |||
2d77e4ee6f | |||
73037be877 | |||
c296024b8f | |||
053b26c578 | |||
09aa1fee33 | |||
4ca038db30 | |||
ae5a828ec2 | |||
b8189c6ba4 | |||
50139d55d0 | |||
848c7b13a9 | |||
8687ea644e | |||
678b26ab4f | |||
b24f938476 | |||
f1c204b798 | |||
dd53336397 | |||
aa22515370 | |||
27bd366394 | |||
acc88e247d | |||
61b9cb62d5 | |||
e7b49ba257 | |||
b13b4beb0e | |||
29aedc8471 | |||
22f3ff24d0 | |||
2c9b6fabdd | |||
00ba134682 | |||
1e20cb74ce | |||
989ddd6a38 | |||
cd3fe1fe12 | |||
c7c8264551 | |||
c4ba6a718a | |||
1a878d3e2d | |||
77ee556300 | |||
39060ce884 | |||
00eaa9b4a8 | |||
d92d477f9a | |||
b00d08e576 | |||
fe5712b02a | |||
2e98da3600 | |||
badc4685bd | |||
e2c1d0d961 | |||
fbf1007ca1 | |||
4bcce0a10e | |||
8eeb088252 | |||
8364a7e905 | |||
38aeb4c3c7 | |||
98c305e8f3 | |||
e1efe61eaa | |||
4b4a952c09 | |||
2acdb5fbbf | |||
88c834e437 | |||
e757322213 | |||
fd84a498ac | |||
9e448e6a90 | |||
d2889b1b57 | |||
382a4d2708 | |||
5ff59a45ef | |||
28e29aeac8 | |||
79497e5e00 | |||
a1ec7f0183 | |||
7ddc6617c6 | |||
91c92b4be2 | |||
3b06a73599 | |||
c203d2e78d | |||
29153b6308 | |||
dfee8ef7db | |||
97bedecb92 | |||
5a044708c5 | |||
67a273f06e | |||
28833ae2a8 | |||
6587c05642 | |||
8b6993561a | |||
f989a99a92 | |||
a4a09819a0 | |||
622132503d | |||
ff545d827e | |||
b929978ad0 | |||
882314922f | |||
fd6edf859a | |||
b82ec46a74 | |||
d7d0d1f7fb | |||
e72a303d6b | |||
1d8f6b36e5 | |||
4f18f35820 | |||
4983c82830 | |||
ccd0d3e8f0 | |||
291d785700 | |||
0dd2d484c5 | |||
d1e225fa2a | |||
41aaae4030 | |||
3b6a408441 | |||
ddf5d71967 | |||
17c8609612 | |||
ff88c9a272 | |||
4d0258cba7 | |||
75e2952be0 | |||
b653133853 | |||
4c2cc6033d | |||
a5ae44db68 | |||
61e76dea6a | |||
3fa508fa9c | |||
9a1f0113e0 | |||
fabe750544 | |||
b1a8a339be | |||
9748042e05 | |||
9a1bdd9ac5 | |||
643aeb782e | |||
71f8fdba2f | |||
dfeb7ae699 | |||
37f51333aa | |||
5db15b88df | |||
30d1fc6a37 | |||
5c20eefd4d | |||
f01d19c38d | |||
422f7a5325 | |||
ba5b90a76d | |||
55295b2dd9 | |||
c518105b43 | |||
087121c74b | |||
29f21e4390 | |||
be30481b1f | |||
0357742670 | |||
c8820b0e9e | |||
6a0a372cd5 | |||
922fe41168 | |||
ece4ccd64d | |||
c95f594c29 | |||
fe85c41e09 | |||
7ecccd8305 | |||
49126fd1b4 | |||
ad5557adc0 | |||
bf8ddfbe0b | |||
0b65a7ecf7 | |||
6df6a8c307 | |||
a23129f53c | |||
443a762a70 | |||
0fb338466f | |||
1b083b31d6 | |||
c13936a65f | |||
d0edecd0ea | |||
5b6fd65397 | |||
35b0307808 | |||
cb35d425c5 | |||
439387b735 | |||
8c64ceb44b | |||
8f193bc914 | |||
f0bc1b4160 | |||
9185eed551 | |||
6bbadea146 | |||
a8e9bfe88f | |||
9872ba3b16 | |||
a5ee42192a | |||
f49e240e88 | |||
33bc023681 | |||
638169cd31 | |||
c068f5e7da | |||
63a21f3376 | |||
61b6fb791d | |||
2a36ac2d98 | |||
db0e0d37e5 | |||
bd76412d58 | |||
4b0aa488d4 | |||
015f367003 | |||
00150f3a6c | |||
cf1ff0c33b | |||
355c3428c5 | |||
38a5e29659 | |||
637d50eaa8 | |||
37ade894a1 | |||
3738d76322 | |||
3354e959ff | |||
651394001c | |||
8d2f3506c3 | |||
d1d9716572 | |||
fa7a162e15 | |||
481fb6a649 | |||
f0aac481f3 | |||
fa5eaccf52 | |||
964352f83a | |||
90a7f3dda1 | |||
14d7a4b137 | |||
0149a7e5a6 | |||
1aef356a75 | |||
e6577ade65 | |||
b6a5cccbe2 | |||
193f373668 | |||
21c7cd21da | |||
5c103f7c4f | |||
a07012d5f2 | |||
c82928e5c7 | |||
3b2c1bd0be | |||
d366eb1f3f | |||
a5c40f7600 | |||
d24fd94517 | |||
b88f04ce4b | |||
6b5d9e4a98 | |||
57310cadb4 | |||
952b84d94d | |||
e8040b7717 | |||
3f86028fa1 | |||
5fe7530a59 | |||
3b73961014 | |||
ec9253f38a | |||
3308c4577f | |||
04b7ac59dc | |||
fd991223b0 | |||
6c0116adb7 | |||
fb94c247d9 | |||
05cd6d1155 | |||
80f4134d72 | |||
947bc0452d | |||
4e13442eef | |||
946a037624 | |||
231ca5b746 | |||
7ebc1f84f5 | |||
0a55ec5964 | |||
adae02b309 | |||
8b0f532557 | |||
a01e371f9a | |||
f815e6bfa4 | |||
6ecd682764 | |||
e8269232b2 | |||
1d459fa00a | |||
470f587c65 | |||
0806e6025a | |||
8ab83d685a | |||
793d257d08 | |||
e10261351c | |||
11ca126b33 | |||
1d683626f0 | |||
942ba95209 | |||
f159ffe441 | |||
4b83e94d7b | |||
6aed385f2e | |||
e142c723de | |||
6028ebcb9c | |||
8a566c86fe | |||
f92eb19d07 | |||
0df8daa43d | |||
795f6b230f | |||
6664c0af38 | |||
2b05f6473a | |||
199f1cdaad | |||
c4dab21b4a | |||
c3186fa6ca | |||
492b80a854 | |||
2564e4b405 | |||
69088aa489 | |||
6deaa2fbe7 | |||
1f89c6d625 | |||
e178405018 | |||
48ea2d6fe6 | |||
d02909fbb5 | |||
4b923a2d75 | |||
503a7485f1 | |||
6b55c445d3 | |||
f0c3a7b25c | |||
8735d0d6a5 | |||
0c3fc80a0d | |||
05e65cbb21 | |||
9902a45c36 | |||
2eaee8d024 | |||
e799e5f867 | |||
828a037b51 | |||
233bb64a17 | |||
945c07606e | |||
d55bf05845 | |||
86a0db9640 | |||
13d4bc48e3 | |||
53d6c54402 | |||
79f479b5e6 | |||
af03a1a13c | |||
92f1d04de3 | |||
a8f2d95f96 | |||
1d9693f565 | |||
669af6ba99 | |||
e5c42d366e | |||
f3a23fd987 | |||
415d4a339d | |||
917825b5a7 | |||
4bac359793 | |||
d2a829c494 | |||
1382a6f243 | |||
cd77e28e04 | |||
013ef8f119 | |||
5376c8402d | |||
da94317569 | |||
2c29ec284f | |||
f8bbb5835d | |||
0ba25c7f45 | |||
d460bd3f31 | |||
dcdd9a3e3d | |||
b2e8acc282 | |||
783ccc5d40 | |||
2918d30249 | |||
9b9f69c98f | |||
e5f332171d | |||
5a434e2dc6 | |||
5b586a8511 | |||
16c1026a4c | |||
efe8a7db6e | |||
ec6730c09b | |||
af119fc7db | |||
b1b52dc03a | |||
d57ff61273 | |||
66d169d9cb | |||
0f6adc6bc4 | |||
4d8f8b018a | |||
8318ba58c3 | |||
53bd5ec1cc | |||
6c8cbf3c27 | |||
f6dd2dc878 | |||
673e39f4e2 | |||
8de3b7f559 | |||
d069b83cad | |||
829e04afe1 | |||
f9fe6b2973 | |||
1cee5b6ae2 | |||
0eb04b3e73 | |||
985e640b29 | |||
7b739d93fa | |||
5e73e75a67 | |||
ea2c75113e | |||
6b6b71a996 | |||
31fe3443f4 | |||
dc6b183696 | |||
f7d5d366f7 | |||
1da9bf6cb3 | |||
36b626fce7 | |||
23745ca48b | |||
06d42a1b15 | |||
5753420636 | |||
1cf1d96184 | |||
d9251e999a | |||
ae240d8dcd | |||
96d2838232 | |||
951c18a370 | |||
bc2a60e3d7 | |||
8063f4b08f | |||
dd1a0ec7a0 | |||
f40b13b5d3 | |||
476108bcbc | |||
47f084b2d4 | |||
e6d93b5c08 | |||
f10d9962c3 | |||
f3f8024a6f | |||
eebb711087 | |||
b97098fc42 | |||
35255539df | |||
b6e2063215 | |||
2bc38afb82 | |||
6f51636211 | |||
d37e3ba990 | |||
e85b2a5bd5 | |||
b8d73c8cc7 | |||
ee7ad47d43 | |||
23da3b8ed5 | |||
ecdb447493 | |||
1995c56a2a | |||
8733e87c4c | |||
e7cbe11b94 | |||
33e25dae08 | |||
559699e380 | |||
427da3ef60 | |||
f012228245 | |||
14c4bc562c | |||
b4177e8442 | |||
b2628a0cec | |||
95e654ceec | |||
38b2cabfd1 | |||
baa0a123b6 | |||
e0acb18f6d | |||
7509212f69 | |||
708d3c3998 | |||
f036207cc9 | |||
8bcb7d540c | |||
0cfa90aabc | |||
8cd8bfc1cd | |||
63e8cc3d42 | |||
cea43894da | |||
0b10d85819 | |||
591fc1a1f2 | |||
7ff639999d | |||
fc5176ca32 | |||
bc813ab31f | |||
66cc3cc635 | |||
c3788a1ae3 | |||
fecca0ae82 | |||
df0f871ded | |||
3aa8df2cef | |||
ee03928841 | |||
04d88a044e | |||
adcd6585e6 | |||
b2a216b2c3 | |||
ca7014b2c1 | |||
04afaf32c6 | |||
f8825b0430 | |||
882eaf4b29 | |||
f1de21d8fc | |||
c2ff0bb396 | |||
dc1cf899c2 | |||
5e79406090 | |||
eaa88e8c97 | |||
f0d82b8342 | |||
b9778d28fe | |||
d112db2e7b | |||
cd2bd97708 | |||
73c7d362da | |||
7a57971d0c | |||
a39508856b | |||
8d159d4614 | |||
51fedf62d9 | |||
0edeca4765 | |||
4d13b25eb2 | |||
873ec7818f | |||
43b01111ab | |||
5665692aac | |||
0501b9cd26 | |||
fc97a6054b | |||
6e031bf3ba | |||
c895ebd3ac | |||
201470062f | |||
67d0e401df | |||
7c64b370cf | |||
a43b74e238 | |||
48039f761b | |||
adf11212b5 | |||
22e3df23b3 | |||
ae3dacc66a | |||
99caac2757 | |||
9dd3143e60 | |||
f6454063e0 | |||
b71268ceaf | |||
6ee83a53ab | |||
26c80f0145 | |||
99858afd9f | |||
88be39e8c6 | |||
0a73ea5dfa | |||
58ed1928dd | |||
3db6eaacfc | |||
3aefa27e03 | |||
4a9d054aa6 | |||
9742fe7e95 | |||
c9cc8141d5 | |||
5f5780e650 | |||
33d725ceb3 | |||
e168150f2a | |||
285895f4ae | |||
67398dafbd | |||
3c80715190 | |||
c76cc609fe | |||
8748becdad | |||
48badc2b8e | |||
f82cf901bf | |||
6ee8ea905f | |||
61900ec1d9 | |||
c68ba3d764 | |||
1451ad4c69 | |||
18a9a1b2f4 | |||
d2b4a78872 | |||
3b9c9b68c2 | |||
6230f7ccc2 | |||
4c287a5944 | |||
7e5bb4d636 | |||
c68563600a | |||
38a2093731 | |||
be62a1ef5a | |||
23c2be2dd4 | |||
96596a7581 | |||
d5d33dc2b1 | |||
5f463f98c5 | |||
899a5b0816 | |||
4f74a5f1ce | |||
96ae539454 | |||
50221e502f | |||
67cb8ac816 | |||
dc2c377cd7 | |||
d2e582e05a | |||
48bc38f2e6 | |||
64cbf6c9ce | |||
0d55bd2ceb | |||
1bc034b829 | |||
a5a73c929b | |||
0d1a992341 | |||
26476e32de | |||
603120eced | |||
9bad3787d3 | |||
cba5d2ef56 | |||
a3302954ee |
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,31 +0,0 @@
|
|||||||
Abbr,Description
|
|
||||||
AB,Air Base
|
|
||||||
AC,Aircraft
|
|
||||||
ACAS,Airborne Collision Avoidance System
|
|
||||||
AF,Air Field
|
|
||||||
AFM,Aircraft Flight Manual
|
|
||||||
AIP,Aeronautical Information Publication
|
|
||||||
AMAN,Arrival Manager
|
|
||||||
AOA,Angle of Attack
|
|
||||||
AOM,Airplane Operating Manual
|
|
||||||
AOR,Area of Responsibility
|
|
||||||
AFIS,Aerodrome Flight Information Service
|
|
||||||
AFM,Airplane Flight Manual
|
|
||||||
AGL,Above Ground Level
|
|
||||||
AIP,Aeronautical Information Publication
|
|
||||||
ANSP,Air Navigation Service Provider
|
|
||||||
ATA,Actual Time of Arrival
|
|
||||||
ATIS,Automatic Terminal Information Service
|
|
||||||
ATO,Air Traffic Organization
|
|
||||||
BAF,Belgian Air Force
|
|
||||||
CAAC,Civil Aviation Administration of China
|
|
||||||
CAAS,Civil Aviation Authorization of Singapore
|
|
||||||
CANSO,Civil Air Navigation Services Organization (founded 1996, located in Amsterdam)
|
|
||||||
CAS,Calibrated Airspeed
|
|
||||||
CAT,Category of aircraft
|
|
||||||
CAVOK,Ceiling And Visibility OK
|
|
||||||
COG,Center of Gravity
|
|
||||||
CRDA,Converging Runway Display Aid
|
|
||||||
CTA,Controlled Time of Arrival
|
|
||||||
CTOT,Calculated Take-Off Time
|
|
||||||
IAS,Indicated Air Speed
|
|
Can't render this file because it has a wrong number of fields in line 23.
|
5843
Data/Abbr/Misc.csv
5843
Data/Abbr/Misc.csv
File diff suppressed because it is too large
Load Diff
@ -1,178 +0,0 @@
|
|||||||
Domain
|
|
||||||
3sat.de
|
|
||||||
access.ing.de
|
|
||||||
accounts.google.com
|
|
||||||
activity.windows.com
|
|
||||||
airbnb.com
|
|
||||||
airbnb.de
|
|
||||||
aka.ms
|
|
||||||
aldi-nord.de
|
|
||||||
aldi-sued.de
|
|
||||||
all-in.de
|
|
||||||
allgaeuer-zeitung.de
|
|
||||||
alternate.de
|
|
||||||
api.dropboxapi.com
|
|
||||||
api.met.no
|
|
||||||
api1.origin.com
|
|
||||||
arc.msn.com
|
|
||||||
arte.tv
|
|
||||||
assets.msn.com
|
|
||||||
amazon.com
|
|
||||||
amazon.de
|
|
||||||
amazon.fr
|
|
||||||
atcsim.de
|
|
||||||
banking.ing-diba.de
|
|
||||||
bergwelten.com
|
|
||||||
bild.de
|
|
||||||
bing.com
|
|
||||||
bing.de
|
|
||||||
bing.fr
|
|
||||||
blitzortung.org
|
|
||||||
bolt.dropbox.com
|
|
||||||
br.de
|
|
||||||
catalog.gamepass.com
|
|
||||||
changelogs.ubuntu.com
|
|
||||||
chip.de
|
|
||||||
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
|
|
||||||
dasoertliche.de
|
|
||||||
dealer.spotify.com
|
|
||||||
deepl.com
|
|
||||||
dell.com
|
|
||||||
discord.com
|
|
||||||
discordapp.com
|
|
||||||
dhl.de
|
|
||||||
download.windowsupdate.com
|
|
||||||
dropbox.com
|
|
||||||
earth.google.com
|
|
||||||
ebay.com
|
|
||||||
ebay.de
|
|
||||||
ebay.fr
|
|
||||||
ebay-kleinanzeigen.de
|
|
||||||
ebook3000.com
|
|
||||||
facebook.com
|
|
||||||
facebook.de
|
|
||||||
facebook.fr
|
|
||||||
fleschutz.de
|
|
||||||
flightradar24.com
|
|
||||||
focus.de
|
|
||||||
fonts.google.com
|
|
||||||
fonts.googleapis.com
|
|
||||||
fonts.gstatic.com
|
|
||||||
fosbos-kempten.de
|
|
||||||
github.com
|
|
||||||
github.map.fastly.net
|
|
||||||
gmail.com
|
|
||||||
golem.de
|
|
||||||
google.com
|
|
||||||
google.de
|
|
||||||
google.fr
|
|
||||||
googleapis.com
|
|
||||||
gstatic.com
|
|
||||||
heise.de
|
|
||||||
holidaycheck.de
|
|
||||||
hornbach.de
|
|
||||||
i.ytimg.com
|
|
||||||
IEEE.org
|
|
||||||
ibm.com
|
|
||||||
icons8.com
|
|
||||||
imap.googlemail.com
|
|
||||||
ing.de
|
|
||||||
install.robertsspaceindustries.com
|
|
||||||
ipfs.io
|
|
||||||
ipv6.msftconnecttest.com
|
|
||||||
launcher2.robertsspaceindustries.com
|
|
||||||
licensing.mp.microsoft.com
|
|
||||||
lidl.de
|
|
||||||
live.github.com
|
|
||||||
live.thunderbird.net
|
|
||||||
livepatch.canonical.com
|
|
||||||
login.live.com
|
|
||||||
login.hrworks.de
|
|
||||||
longfiles.com
|
|
||||||
mail.google.com
|
|
||||||
map.blitzortung.org
|
|
||||||
maps.google.com
|
|
||||||
maps.google.de
|
|
||||||
maps.google.fr
|
|
||||||
mebis.bayern.de
|
|
||||||
microsoft.com
|
|
||||||
mozilla.org
|
|
||||||
mtalk.google.com
|
|
||||||
music.google.com
|
|
||||||
mwittrien.github.io
|
|
||||||
netbeat.de
|
|
||||||
netflix.com
|
|
||||||
news.google.com
|
|
||||||
news.google.de
|
|
||||||
news.google.fr
|
|
||||||
news.url.google.com
|
|
||||||
notube.net
|
|
||||||
ogs.google.com
|
|
||||||
opera.com
|
|
||||||
photos.google.com
|
|
||||||
pixabay.com
|
|
||||||
play.google.com
|
|
||||||
plex.tv
|
|
||||||
posaunenchor-guenzach.de
|
|
||||||
presence.teams.microsoft.com
|
|
||||||
ptbtime1.ptb.de
|
|
||||||
ptbtime2.ptb.de
|
|
||||||
ptbtime3.ptb.de
|
|
||||||
rb-allgaeuerland.de
|
|
||||||
realschule-oberguenzburg.de
|
|
||||||
redbull.tv
|
|
||||||
redhat.com
|
|
||||||
reichelt.de
|
|
||||||
robertsspaceindustries.com
|
|
||||||
schneier.com
|
|
||||||
secure.download.dm.origin.com
|
|
||||||
semonkeys.net
|
|
||||||
settings.data.microsoft.com
|
|
||||||
settings-win.data.microsoft.com
|
|
||||||
sites.google.com
|
|
||||||
slashdot.com
|
|
||||||
speedtest.net
|
|
||||||
ssl.gstatic.com
|
|
||||||
stackoverflow.com
|
|
||||||
start.thunderbird.net
|
|
||||||
static.focus.de
|
|
||||||
static.nvidiagrid.net
|
|
||||||
storage.googleapis.com
|
|
||||||
substrate.office.com
|
|
||||||
t-online.de
|
|
||||||
t0.gstatic.com
|
|
||||||
tchibo.de
|
|
||||||
teams.microsoft.com
|
|
||||||
techstage.de
|
|
||||||
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
|
|
||||||
ufainc.com
|
|
||||||
update.googleapis.com
|
|
||||||
wetter.com
|
|
||||||
wetter.de
|
|
||||||
wired.com
|
|
||||||
ws-kempten.de
|
|
||||||
wttr.in
|
|
||||||
www.google.com
|
|
||||||
www.googleapis.com
|
|
||||||
www.gstatic.com
|
|
||||||
www.netflix.com
|
|
||||||
www.youtube.com
|
|
||||||
youtube.com
|
|
||||||
youtube.de
|
|
||||||
zdf.de
|
|
|
@ -1,15 +0,0 @@
|
|||||||
URL,Directory
|
|
||||||
"https://github.com/abishekvashok/cmatrix", "cmatrix"
|
|
||||||
"https://github.com/commonmark/cmark", "cmark"
|
|
||||||
"https://github.com/elastic/elasticsearch", "elasticsearch"
|
|
||||||
"https://github.com/fleschutz/CWTS", "CWTS"
|
|
||||||
"https://github.com/fleschutz/PowerShell", "PowerShell"
|
|
||||||
"https://github.com/fleschutz/LSS", "LSS"
|
|
||||||
"https://github.com/fleschutz/base256unicode", "base256unicode"
|
|
||||||
"https://github.com/grafana/grafana", "grafana"
|
|
||||||
"https://github.com/llvm/llvm-project", "llvm"
|
|
||||||
"https://github.com/smartmontools/smartmontools", "smartmontools"
|
|
||||||
"https://github.com/synesthesiam/voice2json", "voice2json"
|
|
||||||
"https://github.com/TinyCC/tinycc", "tinycc"
|
|
||||||
"https://github.com/opencv/opencv", "opencv"
|
|
||||||
"https://github.com/openzfs/zfs", "zfs"
|
|
|
@ -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,29 +0,0 @@
|
|||||||
A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
|
|
||||||
" ","P"," "," "," "," ","H"," "," "," ","R"," "," "," "," "," "," "," ","B"," "," "," "," "," ","M"
|
|
||||||
" ","O"," "," "," "," ","A"," "," "," ","E"," "," "," "," "," "," "," ","L"," "," "," "," "," ","A"
|
|
||||||
" ","W"," "," "," "," ","V"," "," "," ","D"," "," "," "," "," "," "," ","U"," "," "," "," "," ","T"
|
|
||||||
" ","E"," "," "," "," ","E"," "," "," "," "," "," "," "," "," "," "," ","E"," "," "," "," "," ","R"
|
|
||||||
" ","R"," "," "," "," "," "," "," "," ","P"," "," "," "," "," "," "," "," "," "," "," "," "," ","I"
|
|
||||||
" ","S"," "," "," "," ","F"," "," "," ","I"," "," "," "," "," "," "," ","P"," "," "," "," "," ","X"
|
|
||||||
" ","H"," "," "," "," ","U"," "," "," ","L"," "," "," "," "," "," "," ","I"," "," "," "," "," "," "
|
|
||||||
" ","E"," "," "," "," ","N"," "," "," ","L"," "," "," "," "," "," "," ","L"," "," "," "," "," "," "
|
|
||||||
" ","L"," "," "," "," "," "," "," "," ","?"," "," "," "," "," "," "," ","L"," "," "," "," "," "," "
|
|
||||||
" ","L"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","?"," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","R"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","U"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","L"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","E"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","S"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
Can't render this file because it has a wrong number of fields in line 2.
|
210
Data/scripts.csv
210
Data/scripts.csv
@ -1,210 +0,0 @@
|
|||||||
Script,Description
|
|
||||||
add-firewall-rules.ps1, adds firewall rules to the given executables (needs admin rights)
|
|
||||||
add-memo.ps1, adds the given memo text to $HOME/Memos.csv
|
|
||||||
build-repo.ps1, builds the current/given Git repository
|
|
||||||
build-repos.ps1, builds all Git repositories under the current/given directory
|
|
||||||
cd-desktop.ps1, go to the user's desktop folder
|
|
||||||
cd-docs.ps1, go to the user's documents folder
|
|
||||||
cd-downloads.ps1, go to the user's downloads folder
|
|
||||||
cd-dropbox.ps1, go to the user's Dropbox folder
|
|
||||||
cd-home.ps1, go to the user's home folder
|
|
||||||
cd-music.ps1, go to the user's music folder
|
|
||||||
cd-onedrive.ps1, go to the user's OneDrive folder
|
|
||||||
cd-pics.ps1, go to the user's pictures folder
|
|
||||||
cd-recycle-bin.ps1, go to the user's recycle bin folder
|
|
||||||
cd-repos.ps1, go to the user's Git repositories folder
|
|
||||||
cd-root.ps1, go to the root directory (C: on Windows)
|
|
||||||
cd-scripts.ps1, go to the PowerShell Scripts folder
|
|
||||||
cd-up.ps1, go one directory level up
|
|
||||||
cd-up2.ps1, go two directory levels up
|
|
||||||
cd-up3.ps1, go three directory levels up
|
|
||||||
cd-up4.ps1, go four directory levels up
|
|
||||||
cd-videos.ps1, go 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 the given drive for free space left
|
|
||||||
check-file-system.ps1, checks the validity of the file system (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-swap-space.ps1, checks the swap space for free space left
|
|
||||||
check-symlinks.ps1, checks every symlink in the given 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
|
|
||||||
cherry-picker.ps1, cherry-picks a Git commit into multiple branches
|
|
||||||
clean-repo.ps1, cleans the current/given Git repository 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-chrome.ps1, closes Google Chrome gracefully
|
|
||||||
close-cortana.ps1, closes Cortana gracefully
|
|
||||||
close-edge.ps1, closes Microsoft Edge gracefully
|
|
||||||
close-file-explorer.ps1, closes Microsoft File Explorer gracefully
|
|
||||||
close-program.ps1, closes the given program gracefully
|
|
||||||
close-system-settings.ps1, closes the System Settings gracefully
|
|
||||||
close-thunderbird.ps1, closes Mozilla Thunderbird gracefully
|
|
||||||
close-vlc.ps1, closes the VLC media player gracefully
|
|
||||||
close-windows-terminal.ps1, closes Windows Terminal gracefully
|
|
||||||
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-sql2csv.ps1, converts the SQL database table to a CSV file
|
|
||||||
convert-txt2wav.ps1, converts text into a audio .WAV file
|
|
||||||
create-branch.ps1, creates a new branch in the current/given Git repository
|
|
||||||
create-shortcut.ps1, creates a shortcut
|
|
||||||
create-symlink.ps1, creates a symbolic link
|
|
||||||
create-tag.ps1, creates a new tag in the current/given Git repository
|
|
||||||
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)
|
|
||||||
enable-ssh-client.ps1, enables the SSH client (needs admin rights)
|
|
||||||
enable-ssh-server.ps1, enables the SSH server (needs admin rights)
|
|
||||||
encrypt-file.ps1, encrypts the given file
|
|
||||||
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)
|
|
||||||
generate-qrcode.ps1, generates a QR code
|
|
||||||
hibernate.ps1, enables hibernate mode for the local computer (needs admin rights)
|
|
||||||
inspect-exe.ps1, prints basic information of the given executable file
|
|
||||||
install-google-chrome.ps1, installs the Google Chrome browser
|
|
||||||
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-clipboard.ps1, lists the contents of the clipboard
|
|
||||||
list-credits.ps1, shows the credits
|
|
||||||
list-dir.ps1, lists the directory content (formatted in columns)
|
|
||||||
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-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-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-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-printers.ps1, lists all printer known to the computer
|
|
||||||
list-processes.ps1, lists the local computer processes
|
|
||||||
list-profiles.ps1, lists your PowerShell profiles
|
|
||||||
list-random-passwords.ps1, prints a list of random passwords
|
|
||||||
list-random-pins.ps1, prints a list of random PIN's
|
|
||||||
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-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-user-groups.ps1, lists the user groups on the local computer
|
|
||||||
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
|
|
||||||
MD5.ps1, prints the MD5 checksum of the given file
|
|
||||||
make-install.ps1, installs built executables and libs to the installation directory
|
|
||||||
moon.ps1, prints the current moon phase
|
|
||||||
mute-audio.ps1, mutes audio
|
|
||||||
next-joke.ps1], gets the next random Juck Norris joke
|
|
||||||
open-browser.ps1, starts the default Web browser
|
|
||||||
open-calculator.ps1, starts the calculator program
|
|
||||||
open-email-client.ps1, starts the default email client
|
|
||||||
open-file-explorer.ps1, starts the Microsoft File Explorer
|
|
||||||
open-recycle-bin.ps1, starts the File Explorer with the recycle bin folder
|
|
||||||
play-beep.ps1, plays a beep sound
|
|
||||||
play-files.ps1, plays the given audio files
|
|
||||||
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-the-imperial-march.ps1, plays the Imperial March (Star Wars)
|
|
||||||
poweroff.ps1, halts the local computer (needs admin rights)
|
|
||||||
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-email.ps1, starts the default email client to write a new email
|
|
||||||
reboot.ps1, reboots the local computer (needs admin rights)
|
|
||||||
reboot-fritzbox.ps1, reboots the FRITZ!box device
|
|
||||||
remove-empty-dirs.ps1, removes empty subfolders within the given directory tree
|
|
||||||
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
|
|
||||||
SHA1.ps1, prints the SHA1 checksum of the given file
|
|
||||||
SHA256.ps1, prints the SHA256 checksum of the given file
|
|
||||||
simulate-matrix.ps1, simulates the Matrix (fun)
|
|
||||||
simulate-presence.ps1, simulates the human presence against burglars
|
|
||||||
speak-countdown.ps1, starts a countdown by text-to-speech (TTS)
|
|
||||||
speak-date.ps1, speaks the current date by text-to-speech (TTS)
|
|
||||||
speak-english.ps1, speaks the given text with an English text-to-speech (TTS) voice
|
|
||||||
speak-epub.ps1, speaks the content of the given Epub file by text-to-speech (TTS)
|
|
||||||
speak-file.ps1, speaks the content of the given text file by text-to-speech (TTS)
|
|
||||||
speak-german.ps1, speaks the given text with a German text-to-speech (TTS) voice
|
|
||||||
speak-joke.ps1, speaks the next joke by text-to-speech (TTS)
|
|
||||||
speak-test.ps1, performs a speak test by text-to-speech (TTS)
|
|
||||||
speak-text.ps1, speaks the given text by text-to-speech (TTS)
|
|
||||||
speak-time.ps1, speaks the current time by text-to-speech (TTS)
|
|
||||||
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)
|
|
||||||
take-screenshot.ps1, takes a single screenshot
|
|
||||||
take-screenshots.ps1, takes multiple screenshots
|
|
||||||
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
|
|
||||||
upload-file.ps1, uploads the local file to the given FTP server
|
|
||||||
voice-control.ps1, executes the PowerShell scripts by voice
|
|
||||||
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-green.ps1, writes the given text in a green foreground color
|
|
||||||
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-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
|
|
||||||
zip-dir.ps1, creates a zip archive of the given directory
|
|
Can't render this file because it has a wrong number of fields in line 192.
|
81
Misc/FAQ.md
81
Misc/FAQ.md
@ -1,81 +0,0 @@
|
|||||||
PowerShell FAQ
|
|
||||||
==============
|
|
||||||
|
|
||||||
What is PowerShell?
|
|
||||||
-------------------
|
|
||||||
PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.
|
|
||||||
|
|
||||||
Why use PowerShell?
|
|
||||||
-------------------
|
|
||||||
* **it's powerful**: fully control your computer
|
|
||||||
* **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 easy to learn**: see the tutorial at https://www.guru99.com/powershell-tutorial.html
|
|
||||||
* **it's fully documented**: see the official docs at https://docs.microsoft.com/en-us/powershell/
|
|
||||||
|
|
||||||
How to get PowerShell?
|
|
||||||
----------------------
|
|
||||||
* **On Windows 7 and newer** PowerShell is provided by default. However, script execution is **not allowed by default** (execution policy is "restricted"). To enable this, enter as administrator:
|
|
||||||
```
|
|
||||||
$ Set-ExecutionPolicy RemoteSigned
|
|
||||||
```
|
|
||||||
* **On CentOS, Debian, Docker, Fedora, macOS, openSUSE, Red Hat, Ubuntu** visit https://github.com/PowerShell/PowerShell for installation.
|
|
||||||
* **Want to use Snaps?** Install the PowerShell snap by executing:
|
|
||||||
```
|
|
||||||
$ snap install PowerShell
|
|
||||||
$ ln -s /snap/bin/pwsh /usr/bin/pwsh
|
|
||||||
```
|
|
||||||
|
|
||||||
How to get the PowerShell Scripts?
|
|
||||||
----------------------------------
|
|
||||||
* Git users execute: `$ git clone https://github.com/fleschutz/PowerShell`
|
|
||||||
* otherwise download it from: https://github.com/fleschutz/PowerShell/archive/master.zip
|
|
||||||
|
|
||||||
Some Scripts show gibberish characters. How to fix that?
|
|
||||||
--------------------------------------------------------
|
|
||||||
The PowerShell scripts support Unicode input & output! Use a modern console supporting UTF-8 such as Windows Terminal.
|
|
||||||
|
|
||||||
|
|
||||||
How to set PowerShell as Default Shell on Linux?
|
|
||||||
------------------------------------------------
|
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
||||||
How to add the Scripts to the Search Path?
|
|
||||||
------------------------------------------
|
|
||||||
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 the environment variables dialogue and add the full path to Scripts/ to the system environment variable "Path"
|
|
||||||
|
|
||||||
|
|
||||||
How to use PowerShell in Context Menus?
|
|
||||||
---------------------------------------
|
|
||||||
* to enable "right-click > New > Windows PowerShell Script" execute `Add_ps1_to_New_context_menu.reg` in subfolder [Misc/](Misc)
|
|
||||||
* to disable this execute `Remove_ps1_from_New_context_menu.reg` in subfolder [Misc/](Misc)
|
|
||||||
|
|
||||||
|
|
||||||
How to edit the PowerShell Scripts?
|
|
||||||
-----------------------------------
|
|
||||||
* use *PowerShell ISE* (Integrated Scripting Environment) to write, test and debug scripts (available for free on Windows only).
|
|
||||||
* use *Visual Studio Code* supporting syntax highlighting, on-the-fly problem checking and an integrated PowerShell Console (available for free on Linux, Mac OS and Windows).
|
|
||||||
* or simply use your *favorite text editor*
|
|
||||||
|
|
||||||
How to write good PowerShell Scripts?
|
|
||||||
-------------------------------------
|
|
||||||
Good PowerShell scripts are user-friendly and platform-independant. As a guideline follow these rules, please:
|
|
||||||
|
|
||||||
1. the filename is named using the `<verb>-<object>.ps1` scheme
|
|
||||||
2. the encoding is UTF-8-BOM to support and use Unicode characters (including emojis where appropriate)
|
|
||||||
3. the script has execute file permissions: chmod a+rx <file> (for Linux support)
|
|
||||||
4. provide a comment-based help with syntax, description, link, author, and license
|
|
||||||
5. check the requirements (e.g. #Requires -RunAsAdministrator, or #Requires -Version 3)
|
|
||||||
6. prefer command-line options, else ask the user for help
|
|
||||||
7. recommended is `Set-StrictMode -Version Latest` to enable additional error checking
|
|
||||||
8. for readibility use UpperCamelCase for variables and functions, lowerCamelCase for everything else
|
|
||||||
9. on error call write-error with keyword "ERROR:" (to support log parsers) and exit the error code (mostly 1)
|
|
||||||
10. on success exit with error code 0 (exit 0)
|
|
||||||
|
|
||||||
Your Question is not answered here?
|
|
||||||
-----------------------------------
|
|
||||||
Send your question to: markus [at] fleschutz [dot] de
|
|
575
README.md
575
README.md
@ -1,244 +1,365 @@
|
|||||||
Mega Collection of PowerShell Scripts
|
Mega Collection of PowerShell Scripts
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
**This repository provides more than 200 useful and cross-platform PowerShell scripts in the subfolder [Scripts/](Scripts/) - to be used by command-line interface (CLI), for remote control (e.g. via SSH), by context menu, by voice control, by automation software like Jenkins, automatically as daily tasks, or simply to learn PowerShell. See the [PowerShell FAQ page](Misc/FAQ.md) if you need help or have any questions.**
|
**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS and Windows. Useful on the command-line, 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. All scripts are located in the 📂[scripts](scripts/) subfolder.**
|
||||||
|
|
||||||
**NOTE:** the scripts support Unicode input & output! Please use a modern console supporting UTF-8 such as Windows Terminal
|
**[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*)
|
||||||
|
|
||||||
🔊 PowerShell Scripts for Audio & Voice
|
🔊 Scripts for Audio & Voice
|
||||||
----------------------------------------
|
-----------------------------
|
||||||
* [convert-txt2wav.ps1](Scripts/convert-txt2wav.ps1) - converts text to a .WAV audio file
|
|
||||||
* [mute-audio.ps1](Scripts/mute-audio.ps1) - mutes audio
|
|
||||||
* [play-beep.ps1](Scripts/play-beep.ps1) - plays a beep sound
|
|
||||||
* [play-files.ps1](Scripts/play-files.ps1) - plays the given audio files
|
|
||||||
* [play-mission-impossible.ps1](Scripts/play-mission-impossible.ps1) - plays the Mission Impossible theme
|
|
||||||
* [play-m3u.ps1](Scripts/play-m3u.ps1) - plays the given playlist (M3U file format)
|
|
||||||
* [play-mp3.ps1](Scripts/play-mp3.ps1) - plays the given sound file (MP3 file format)
|
|
||||||
* [play-super-mario.ps1](Scripts/play-super-mario.ps1) - plays the Super Mario Intro
|
|
||||||
* [play-the-imperial-march.ps1](Scripts/play-the-imperial-march.ps1) - plays the Imperial March (Star Wars)
|
|
||||||
* [speak-countdown.ps1](Scripts/speak-countdown.ps1) - starts a countdown by text-to-speech (TTS)
|
|
||||||
* [speak-date.ps1](Scripts/speak-date.ps1) - speaks the current date by text-to-speech (TTS)
|
|
||||||
* [speak-english.ps1](Scripts/speak-english.ps1) - speaks the given text with an English text-to-speech (TTS) voice
|
|
||||||
* [speak-epub.ps1](Scripts/speak-epub.ps1) - speaks the content of the given Epub file by text-to-speech (TTS)
|
|
||||||
* [speak-file.ps1](Scripts/speak-file.ps1) - speaks the content of the given text file by text-to-speech (TTS)
|
|
||||||
* [speak-german.ps1](Scripts/speak-german.ps1) - speaks the given text with a German text-to-speech (TTS) voice
|
|
||||||
* [speak-joke.ps1](Scripts/speak-joke.ps1) - speaks the next joke by text-to-speech (TTS)
|
|
||||||
* [speak-test.ps1](Scripts/speak-test.ps1) - performs a speak test by text-to-speech (TTS)
|
|
||||||
* [speak-text.ps1](Scripts/speak-text.ps1) - speaks the given text by text-to-speech (TTS)
|
|
||||||
* [speak-time.ps1](Scripts/speak-time.ps1) - speaks the current time by text-to-speech (TTS)
|
|
||||||
* [turn-volume-up.ps1](Scripts/turn-volume-up.ps1) - turns the audio volume up (+10% by default)
|
|
||||||
* [turn-volume-down.ps1](Scripts/turn-volume-down.ps1) - turns the audio volume down (-10% by default)
|
|
||||||
* [unmute-audio.ps1](Scripts/unmute-audio.ps1) - unmutes audio
|
|
||||||
* [voice-control.ps1](Scripts/voice-control.ps1) - executes the PowerShell scripts by voice
|
|
||||||
|
|
||||||
⚙️ PowerShell Scripts for Computer Management
|
| Script | Description |
|
||||||
----------------------------------------------
|
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
||||||
* [add-firewall-rules.ps1](Scripts/add-firewall-rules.ps1) - adds firewall rules for the given executables (needs admin rights)
|
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) |
|
||||||
* [check-cpu-temp.ps1](Scripts/check-cpu-temp.ps1) - checks the CPU temperature
|
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more »](docs/play-beep-sound.md) |
|
||||||
* [check-dns-resolution.ps1](Scripts/check-dns-resolution.ps1) - checks the DNS resolution with frequently used domain names
|
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more »](docs/play-files.md) |
|
||||||
* [check-drive-space.ps1](Scripts/check-drive-space.ps1) - checks the given drive for free space left
|
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more »](docs/play-happy-birthday.md) |
|
||||||
* [check-file-system.ps1](Scripts/check-file-system.ps1) - checks the validity of the file system (needs admin rights)
|
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more »](docs/play-imperial-march.md) |
|
||||||
* [check-health.ps1](Scripts/check-health.ps1) - checks the system health
|
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more »](docs/play-jingle-bells.md) |
|
||||||
* [check-ping.ps1](Scripts/check-ping.ps1) - checks the ping latency to the internet
|
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more »](docs/play-mission-impossible.md)|
|
||||||
* [check-swap-space.ps1](Scripts/check-swap-space.ps1) - checks the swap space for free space left
|
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [Read more »](docs/play-m3u.md) |
|
||||||
* [check-windows-system-files.ps1](Scripts/check-windows-system-files.ps1) - checks the validity of the Windows system files (needs admin rights)
|
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [Read more »](docs/play-mp3.md) |
|
||||||
* [enable-crash-dumps.ps1](Scripts/enable-crash-dumps.ps1) - enables the writing of crash dumps
|
| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more »](docs/play-super-mario.md) |
|
||||||
* [enable-ssh-client.ps1](Scripts/enable-ssh-client.ps1) - enables the SSH client (needs admin rights)
|
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more »](docs/play-tetris-melody.md) |
|
||||||
* [enable-ssh-server.ps1](Scripts/enable-ssh-server.ps1) - enables the SSH server (needs admin rights)
|
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more »](docs/speak-checklist.md) |
|
||||||
* [hibernate.ps1](Scripts/hibernate.ps1) - enables hibernate mode for the local computer (needs admin rights)
|
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [Read more »](docs/speak-countdown.md) |
|
||||||
* [install-google-chrome.ps1](Scripts/install-google-chrome.ps1) - installs the Google Chrome browser
|
| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more »](docs/speak-english.md) |
|
||||||
* [list-drives.ps1](Scripts/list-drives.ps1) - lists all drives
|
| [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) |
|
||||||
* [list-network-shares.ps1](Scripts/list-network-shares.ps1) - lists the network shares of the local computer
|
| [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) |
|
||||||
* [list-installed-apps.ps1](Scripts/list-installed-apps.ps1) - lists the installed Windows Store apps
|
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more »](docs/speak-french.md) |
|
||||||
* [list-installed-software.ps1](Scripts/list-installed-software.ps1) - lists the installed software (except Windows Store apps)
|
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more »](docs/speak-german.md) |
|
||||||
* [list-printers.ps1](Scripts/list-printers.ps1) - lists all printer known to the computer
|
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more »](docs/speak-italian.md) |
|
||||||
* [list-processes.ps1](Scripts/list-processes.ps1) - lists the local computer processes
|
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more »](docs/speak-spanish.md) |
|
||||||
* [list-services.ps1](Scripts/list-services.ps1) - lists the services on the local computer
|
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more »](docs/speak-test.md) |
|
||||||
* [list-system-info.ps1](Scripts/list-system-info.ps1) - lists system information on the local computer
|
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more »](docs/speak-text.md) |
|
||||||
* [list-tasks.ps1](Scripts/list-tasks.ps1) - lists all Windows scheduler tasks
|
| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [Read more »](docs/tell-joke.md) |
|
||||||
* [list-timezone.ps1](Scripts/list-timezone.ps1) - lists the current time zone details
|
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more »](docs/tell-quote.md) |
|
||||||
* [list-timezones.ps1](Scripts/list-timezones.ps1) - lists all time zones available
|
| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more »](docs/turn-volume-down.md) |
|
||||||
* [list-user-groups.ps1](Scripts/list-user-groups.ps1) - lists the user groups on the local computer
|
| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [Read more »](docs/turn-volume-fully-up.md) |
|
||||||
* [poweroff.ps1](Scripts/poweroff.ps1) - halts the local computer (needs admin rights)
|
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more »](docs/turn-volume-off-audio.md) |
|
||||||
* [query-smart-data.ps1](Scripts/query-smart-data.ps1) - queries the S.M.A.R.T. data of your HDD/SSD's
|
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more »](docs/turn-volume-on.md) |
|
||||||
* [reboot.ps1](Scripts/reboot.ps1) - reboots the local computer (needs admin rights)
|
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more »](docs/turn-volume-up.md) |
|
||||||
* [wakeup.ps1](Scripts/wakeup.ps1) - sends a magic packet to the given computer, waking him up
|
|
||||||
|
|
||||||
💻 PowerShell Scripts for the Desktop
|
|
||||||
--------------------------------------
|
|
||||||
* [close-calculator.ps1](Scripts/close-calculator.ps1) - closes the calculator program gracefully
|
|
||||||
* [close-chrome.ps1](Scripts/close-chrome.ps1) - closes Google Chrome gracefully
|
|
||||||
* [close-cortana.ps1](Scripts/close-cortana.ps1) - closes Cortana gracefully
|
|
||||||
* [close-edge.ps1](Scripts/close-edge.ps1) - closes Microsoft Edge gracefully
|
|
||||||
* [close-file-explorer.ps1](Scripts/close-file-explorer.ps1) - closes Microsoft File Explorer gracefully
|
|
||||||
* [close-program.ps1](Scripts/close-program.ps1) - closes the given program gracefully
|
|
||||||
* [close-system-settings.ps1](Scripts/close-system-settings.ps1) - closes the System Settings gracefully
|
|
||||||
* [close-thunderbird.ps1](Scripts/close-thunderbird.ps1) - closes Mozilla Thunderbird gracefully
|
|
||||||
* [close-vlc.ps1](Scripts/close-vlc.ps1) - closes the VLC media player gracefully
|
|
||||||
* [close-windows-terminal.ps1](Scripts/close-windows-terminal.ps1) - closes Windows Terminal gracefully
|
|
||||||
* [enable-god-mode.ps1](Scripts/enable-god-mode.ps1) - enables the god mode (adds a new icon to the desktop)
|
|
||||||
* [list-clipboard.ps1](Scripts/list-clipboard.ps1) - lists the contents of the clipboard
|
|
||||||
* [new-email.ps1](Scripts/new-email.ps1) - starts the default email client to write a new email
|
|
||||||
* [open-browser.ps1](Scripts/open-browser.ps1) - starts the default Web browser
|
|
||||||
* [open-calculator.ps1](Scripts/open-calculator.ps1) - starts the calculator program
|
|
||||||
* [open-email-client.ps1](Scripts/open-browser.ps1) - starts the default email client
|
|
||||||
* [open-file-explorer.ps1](Scripts/open-file-explorer.ps1) - starts the File Explorer
|
|
||||||
* [open-recycle-bin.ps1](Scripts/open-recycle-bin.ps1) - starts the File Explorer with the recycle bin folder
|
|
||||||
* [set-wallpaper.ps1](Scripts/set-wallpaper.ps1) - sets the given image as wallpaper
|
|
||||||
* [take-screenshot.ps1](Scripts/take-screenshot.ps1) - takes a single screenshot
|
|
||||||
* [take-screenshots.ps1](Scripts/take-screenshots.ps1) - takes multiple screenshots (every minute by default)
|
|
||||||
|
|
||||||
📁 PowerShell Scripts for Files & Folders
|
⚙️ Scripts to Manage Computers
|
||||||
------------------------------------------
|
-------------------------------
|
||||||
* [clear-recycle-bin.ps1](Scripts/clear-recycle-bin.ps1) - removes the content of the recycle bin folder (can not be undo!)
|
|
||||||
* [cd-desktop.ps1](Scripts/cd-desktop.ps1) - go to the user's desktop folder
|
|
||||||
* [cd-docs.ps1](Scripts/cd-docs.ps1) - go to the user's documents folder
|
|
||||||
* [cd-downloads.ps1](Scripts/cd-downloads.ps1) - go to the user's downloads folder
|
|
||||||
* [cd-dropbox.ps1](Scripts/cd-dropbox.ps1) - go to the user's Dropbox folder
|
|
||||||
* [cd-home.ps1](Scripts/cd-home.ps1) - go to the user's home folder
|
|
||||||
* [cd-music.ps1](Scripts/cd-music.ps1) - go to the user's music folder
|
|
||||||
* [cd-onedrive.ps1](Scripts/cd-onedrive.ps1) - go to the user's OneDrive folder
|
|
||||||
* [cd-pics.ps1](Scripts/cd-pics.ps1) - go to the user's pictures folder
|
|
||||||
* [cd-recycle-bin.ps1](Scripts/cd-recycle-bin.ps1) - go to the user's recycle bin folder
|
|
||||||
* [cd-repos.ps1](Scripts/cd-repos.ps1) - go to the user's Git repositories folder
|
|
||||||
* [cd-root.ps1](Scripts/cd-root.ps1) - go to the root directory (C:\ on Windows)
|
|
||||||
* [cd-scripts.ps1](Scripts/cd-scripts.ps1) - go to the PowerShell Scripts folder
|
|
||||||
* [cd-up.ps1](Scripts/cd-up.ps1) - go one directory level up
|
|
||||||
* [cd-up2.ps1](Scripts/cd-up2.ps1) - go two directory levels up
|
|
||||||
* [cd-up3.ps1](Scripts/cd-up3.ps1) - go three directory levels up
|
|
||||||
* [cd-up4.ps1](Scripts/cd-up4.ps1) - go four directory levels up
|
|
||||||
* [cd-videos.ps1](Scripts/cd-videos.ps1) - go to the user's videos folder
|
|
||||||
* [check-symlinks.ps1](Scripts/check-symlinks.ps1) - checks every symlink in the given directory tree
|
|
||||||
* [check-xml-file.ps1](Scripts/check-xml-file.ps1) - checks the given XML file for validity
|
|
||||||
* [create-shortcut.ps1](Scripts/create-shortcut.ps1) - creates a shortcut
|
|
||||||
* [create-symlink.ps1](Scripts/create-symlink.ps1) - creates a symbolic link
|
|
||||||
* [decrypt-file.ps1](Scripts/decrypt-file.ps1) - encrypts the given file
|
|
||||||
* [download-dir.ps1](Scripts/download-dir.ps1) - downloads a directory tree from the given URL
|
|
||||||
* [download-file.ps1](Scripts/download-file.ps1) - downloads a file from the given URL
|
|
||||||
* [edit.ps1](Scripts/edit.ps1) - edits the given file with the built-in text editor
|
|
||||||
* [encrypt-file.ps1](Scripts/encrypt-file.ps1) - encrypts the given file
|
|
||||||
* [inspect-exe.ps1](Scripts/inspect-exe.ps1) - prints basic information of the given executable file
|
|
||||||
* [list-dir.ps1](Scripts/list-dir.ps1) - lists the directory content (formatted in columns)
|
|
||||||
* [list-dir-tree.ps1](Scripts/list-dir-tree.ps1) - lists the directory tree content
|
|
||||||
* [list-empty-dirs.ps1](Scripts/list-empty-dirs.ps1) - lists empty subfolders within the given directory tree
|
|
||||||
* [list-empty-files.ps1](Scripts/list-empty-files.ps1) - lists empty files within the given directory tree
|
|
||||||
* [list-files.ps1](Scripts/list-files.ps1) - lists all files in the given folder and also in every subfolder
|
|
||||||
* [list-hidden-files.ps1](Scripts/list-hidden-files.ps1) - lists hidden files within the given directory tree
|
|
||||||
* [list-recycle-bin.ps1](Scripts/list-recycle-bin.ps1) - lists the content of the recycle bin folder
|
|
||||||
* [list-unused-files.ps1](Scripts/list-unused-files.ps1) - lists unused files in a directory tree
|
|
||||||
* [list-workdir.ps1](Scripts/list-workdir.ps1) - lists the current working directory
|
|
||||||
* [make-install.ps1](Scripts/make-install.ps1) - installs built executables and libs to the installation directory
|
|
||||||
* [MD5.ps1](Scripts/MD5.ps1) - prints the MD5 checksum of the given file
|
|
||||||
* [remove-empty-dirs.ps1](Scripts/remove-empty-dirs.ps1) - removes empty subfolders within the given directory tree
|
|
||||||
* [search-filename.ps1](Scripts/search-filename.ps1) - searches the directory tree for filenames by given pattern
|
|
||||||
* [search-files.ps1](Scripts/search-files.ps1) - searches the given pattern in the given files
|
|
||||||
* [SHA1.ps1](Scripts/SHA1.ps1) - prints the SHA1 checksum of the given file
|
|
||||||
* [SHA256.ps1](Scripts/SHA256.ps1) - prints the SHA256 checksum of the given file
|
|
||||||
* [upload-file.ps1](Scripts/zip-dir.ps1) - uploads the local file to the given FTP server
|
|
||||||
* [zip-dir.ps1](Scripts/zip-dir.ps1) - creates a zip archive of the given directory
|
|
||||||
|
|
||||||
📝 PowerShell Scripts for Git
|
| Script | Description |
|
||||||
------------------------------
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||||
* [build-repo.ps1](Scripts/build-repo.ps1) - builds the current/given Git repository
|
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) |
|
||||||
* [build-repos.ps1](Scripts/build-repos.ps1) - builds all Git repositories under the current/given directory
|
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more »](docs/check-cpu.md) |
|
||||||
* [cherry-picker.ps1](Scripts/cherry-picker.ps1) - cherry-picks a Git commit into multiple branches
|
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more »](docs/check-dns.md) |
|
||||||
* [clean-repo.ps1](Scripts/clean-repo.ps1) - cleans the current/given Git repository from untracked files (including submodules)
|
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more »](docs/check-drive-space.md) |
|
||||||
* [clone-repos.ps1](Scripts/clone-repos.ps1) - clones well-known Git repositories
|
| [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)|
|
||||||
* [configure-git.ps1](Scripts/configure-git.ps1) - sets up the Git user configuration
|
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more »](docs/check-health.md) |
|
||||||
* [create-branch.ps1](Scripts/create-branch.ps1) - creates a new branch in the current/given Git repository
|
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more »](docs/check-ping.md) |
|
||||||
* [create-tag.ps1](Scripts/create-tag.ps1) - creates a new tag in the current/given Git repository
|
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more »](docs/check-swap-space.md) |
|
||||||
* [fetch-repo.ps1](Scripts/fetch-repo.ps1) - fetches updates for the current/given Git repository (including submodules)
|
| [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) |
|
||||||
* [fetch-repos.ps1](Scripts/fetch-repos.ps1) - fetches updates for all Git repositories under the current/given directory (including submodules)
|
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more »](docs/enable-crash-dumps.md) |
|
||||||
* [list-branches.ps1](Scripts/list-branches.ps1) - lists all branches in the current/given Git repository
|
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more »](docs/hibernate.md) |
|
||||||
* [list-commits.ps1](Scripts/list-commits.ps1) - lists all commits in the current/given Git repository
|
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more »](docs/install-github-cli.md) |
|
||||||
* [list-latest-tag.ps1](Scripts/list-latest-tag.ps1) - lists the latest tag on the current branch in a Git repository
|
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more »](docs/install-chrome-browser.md) |
|
||||||
* [list-tags.ps1](Scripts/list-tags.ps1) - lists all tags in the current/given Git repository
|
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more »](docs/install-firefox.md) |
|
||||||
* [pull-repo.ps1](Scripts/pull-repo.ps1) - pulls updates for the current/given Git repository (including submodules)
|
| [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [Read more »](docs/install-knot-resolver.md)|
|
||||||
* [pull-repos.ps1](Scripts/pull-repos.ps1) - pulls updates for all Git repositories under the current/given directory (including submodules)
|
| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more »](docs/install-ssh-client.md) |
|
||||||
* [switch-branch.ps1](Scripts/switch-branch.ps1) - switches the branch in the current/given Git repository (including submodules)
|
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more »](docs/install-ssh-server.md) |
|
||||||
* [sync-repo.ps1](Scripts/sync-repo.ps1) - synchronizes a Git repository by push & pull (including submodules)
|
| [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 remote 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 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-repo.ps1](scripts/cd-repo.ps1) | Change the working directory to the given Git repository folder. [Read more...](docs/cd-repo.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) |
|
||||||
|
|
||||||
|
|
||||||
|
📝 Scripts for Git
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
| 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-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
|
🔎 Scripts for PowerShell
|
||||||
------------------------
|
------------------------
|
||||||
* [daily-tasks.sh](Scripts/daily-tasks.sh) - execute PowerShell scripts automatically as daily tasks (Linux only)
|
|
||||||
* [introduce-powershell.sh](Scripts/introduce-powershell.sh) - introduces PowerShell to new users
|
| Script | Description |
|
||||||
* [list-aliases.ps1](Scripts/list-aliases.ps1) - lists all PowerShell aliases
|
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
||||||
* [list-automatic-variables.ps1](Scripts/list-automatic-variables.ps1) - lists the automatic variables of PowerShell
|
| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more...](docs/daily-tasks.sh.md) |
|
||||||
* [list-cheat-sheet.ps1](Scripts/list-cheat-sheet.ps1) - lists the PowerShell cheat sheet
|
| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [Read more...](docs/introduce-powershell.md) |
|
||||||
* [list-cmdlets.ps1](Scripts/list-cmdlets.ps1) - lists the PowerShell cmdlets
|
| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [Read more...](docs/list-aliases.md) |
|
||||||
* [list-modules.ps1](Scripts/list-modules.ps1) - lists the PowerShell modules
|
| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [Read more...](docs/list-automatic-variables.md)|
|
||||||
* [list-profiles.ps1](Scripts/list-profiles.ps1) - lists your PowerShell profiles
|
| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [Read more...](docs/list-cheat-sheet.md) |
|
||||||
* [list-scripts.ps1](Scripts/list-scripts.ps1) - lists all PowerShell scripts in this repository
|
| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [Read more...](docs/list-cmdlets.md) |
|
||||||
* [set-profile.ps1](Scripts/set-profile.ps1) - updates your PowerShell user profile
|
| [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
|
🛒 Various PowerShell Scripts
|
||||||
------------------------------
|
------------------------------
|
||||||
* [add-memo.ps1](Scripts/add-memo.ps1) - adds the given memo text to $HOME/Memos.csv
|
|
||||||
* [check-ipv4-address.ps1](Scripts/check-ipv4-address.ps1) - checks the given IPv4 address for validity
|
|
||||||
* [check-ipv6-address.ps1](Scripts/check-ipv6-address.ps1) - checks the given IPv6 address for validity
|
|
||||||
* [check-mac-address.ps1](Scripts/check-mac-address.ps1) - checks the given MAC address for validity
|
|
||||||
* [check-weather.ps1](Scripts/check-weather.ps1) - checks the current weather for critical values
|
|
||||||
* [convert-csv2txt.ps1](Scripts/convert-csv2txt.ps1) - converts the given CSV file to a text list
|
|
||||||
* [convert-mysql2csv.ps1](Scripts/convert-mysql2csv.ps1) - converts the MySQL database table to a CSV file
|
|
||||||
* [convert-sql2csv.ps1](Scripts/convert-sql2csv.ps1) - converts the SQL database table to a CSV file
|
|
||||||
* [display-time.ps1](Scripts/display-time.ps1) - displays the current time for 10 seconds by default
|
|
||||||
* [generate-qrcode.ps1](Scripts/generate-qrcode.ps1) - generates a QR code
|
|
||||||
* [list-anagrams.ps1](Scripts/list-anagrams.ps1) - lists all anagrams of the given word
|
|
||||||
* [list-city-weather.ps1](Scripts/list-city-weather.ps1) - lists the current weather of cities worldwide (west to east)
|
|
||||||
* [list-credits.ps1](Scripts/list-credits.ps1) - shows the credits
|
|
||||||
* [list-environment-variables.ps1](Scripts/list-environment-variables.ps1) - lists all environment variables
|
|
||||||
* [list-emojis.ps1](Scripts/list-emojis.ps1) - lists the emojis of Unicode 13.0
|
|
||||||
* [list-fritzbox-calls.ps1](Scripts/list-fritzbox-calls.ps1) - lists the FRITZ!Box calls
|
|
||||||
* [list-fritzbox-devices.ps1](Scripts/list-fritzbox-devices.ps1) - lists FRITZ!Box's known devices
|
|
||||||
* [list-earthquakes.ps1](Scripts/list-earthquakes.ps1) - lists earthquakes with magnitude >= 6.0 for the last 30 days
|
|
||||||
* [list-memos.ps1](Scripts/list-memos.ps1) - lists the memos at $HOME/Memos.csv
|
|
||||||
* [list-mysql-tables.ps1](Scripts/list-mysql-tables.ps1) - lists the MySQL server tables
|
|
||||||
* [list-news.ps1](Scripts/list-news.ps1) - lists the latest news
|
|
||||||
* [list-os-releases.ps1](Scripts/list-os-releases.ps1) - lists operating system releases and download URL
|
|
||||||
* [list-os-updates.ps1](Scripts/list-os-updates.ps1) - lists operating system updates
|
|
||||||
* [list-random-passwords.ps1](Scripts/list-random-passwords.ps1) - prints a list of random passwords
|
|
||||||
* [list-random-pins.ps1](Scripts/list-random-pins.ps1) - prints a list of random PIN's
|
|
||||||
* [list-sql-tables.ps1](Scripts/list-sql-tables.ps1) - lists the SQL server tables
|
|
||||||
* [list-weather.ps1](Scripts/list-weather.ps1) - lists the hourly weather
|
|
||||||
* [locate-city.ps1](Scripts/locate-city.ps1) - prints the geographic location of the given city
|
|
||||||
* [locate-ipaddress.ps1](Scripts/locate-ipaddress.ps1) - prints the geographic location of the given IP address
|
|
||||||
* [locate-zip-code.ps1](Scripts/locate-zip-code.ps1) - prints the geographic location of the given zip-code
|
|
||||||
* [moon.ps1](Scripts/moon.ps1) - prints the current moon phase
|
|
||||||
* [next-joke.ps1](Scripts/next-joke.ps1) - gets the next random Juck Norris joke
|
|
||||||
* [reboot-fritzbox.ps1](Scripts/reboot-fritzbox.ps1) - reboots the FRITZ!box device
|
|
||||||
* [scan-ports.ps1](Scripts/scan-ports.ps1) - scans the network for open/closed ports
|
|
||||||
* [send-email.ps1](Scripts/send-email.ps1) - sends an email message
|
|
||||||
* [send-tcp.ps1](Scripts/send-udp.ps1) - sends a TCP message to the given IP address and port
|
|
||||||
* [send-udp.ps1](Scripts/send-udp.ps1) - sends a UDP datagram message to the given IP address and port
|
|
||||||
* [set-timer.ps1](Scripts/set-timer.ps1) - sets a timer for a countdown
|
|
||||||
* [simulate-matrix.ps1](Scripts/simulate-matrix.ps1) - simulates the Matrix (fun)
|
|
||||||
* [simulate-presence.ps1](Scripts/simulate-presence.ps1) - simulates the human presence against burglars
|
|
||||||
* [switch-shelly1.ps1](Scripts/switch-shelly1.ps1) - switches a Shelly1 device in the local network
|
|
||||||
* [translate-file.ps1](Scripts/translate-file.ps1) - translates the given text file into other languages
|
|
||||||
* [translate-files.ps1](Scripts/translate-files.ps1) - translates the given text files into any supported language
|
|
||||||
* [translate-text.ps1](Scripts/translate-text.ps1) - translates the given text in English into other languages
|
|
||||||
* [weather.ps1](Scripts/weather.ps1) - prints the current weather forecast
|
|
||||||
* [weather-report.ps1](Scripts/weather-report.ps1) - prints the local weather report
|
|
||||||
* [what-is.ps1](Scripts/what-is.ps1) - prints a description of the given abbreviation
|
|
||||||
* [write-animated.ps1](Scripts/write-animated.ps1) - writes animated text
|
|
||||||
* [write-big.ps1](Scripts/write-big.ps1) - writes the given text in big letters
|
|
||||||
* [write-blue.ps1](Scripts/write-blue.ps1) - writes the given text in a blue foreground color
|
|
||||||
* [write-braille.ps1](Scripts/write-braille.ps1) - writes the given text in Braille
|
|
||||||
* [write-green.ps1](Scripts/write-green.ps1) - writes the given text in a green foreground color
|
|
||||||
* [write-lowercase.ps1](Scripts/write-lowercase.ps1) - writes the given text in lowercase letters
|
|
||||||
* [write-marquee.ps1](Scripts/write-marquee.ps1) - writes the given text as marquee
|
|
||||||
* [write-morse-code.ps1](Scripts/write-morse-code.ps1) - writes the given text in Morse code
|
|
||||||
* [write-motd.ps1](Scripts/write-motd.ps1) - writes the message of the day (MOTD)
|
|
||||||
* [write-red.ps1](Scripts/write-red.ps1) - writes the given text in a red foreground color
|
|
||||||
* [write-rot13.ps1](Scripts/write-rot13.ps1) - encodes or decodes the given text with ROT13
|
|
||||||
* [write-typewriter.ps1](Scripts/write-typewriter.ps1) - writes the given text with the typewriter effect
|
|
||||||
* [write-uppercase.ps1](Scripts/write-uppercase.ps1) - writes the given text in uppercase letters
|
|
||||||
* [write-vertical.ps1](Scripts/write-vertical.ps1) - writes the given text in vertical direction
|
|
||||||
|
|
||||||
Feedback
|
| Script | Description |
|
||||||
--------
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||||
Send your email feedback to: markus [at] fleschutz [dot] de
|
| [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) |
|
||||||
|
|
||||||
License & Copyright
|
📧 Feedback
|
||||||
-------------------
|
------------
|
||||||
This open source release is licensed under the CC0 license. All trademarks are the property of their respective owners.
|
Send your email feedback to: `markus.fleschutz [at] gmail.com`
|
||||||
|
|
||||||
|
🤝 License & Copyright
|
||||||
|
-----------------------
|
||||||
|
This open source project is licensed under the CC0-1.0 license. All trademarks are the property of their respective owners.
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX MD5.ps1 [<file>]
|
|
||||||
.DESCRIPTION prints the MD5 checksum of the given file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($File = "")
|
|
||||||
if ($File -eq "" ) { $File = read-host "Enter path to file" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Result = get-filehash $File -algorithm MD5
|
|
||||||
"MD5 hash is" $Result.Hash
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX SHA1.ps1 [<file>]
|
|
||||||
.DESCRIPTION prints the SHA1 checksum of the given file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($File = "")
|
|
||||||
if ($File -eq "" ) { $File = read-host "Enter the filename" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Result = get-filehash $File -algorithm SHA1
|
|
||||||
write-output "SHA1 hash is" $Result.Hash
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX SHA256.ps1 [<file>]
|
|
||||||
.DESCRIPTION prints the SHA256 checksum of the given file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($File = "")
|
|
||||||
if ($File -eq "" ) { $File = read-host "Enter the filename" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Result = get-filehash $File -algorithm SHA256
|
|
||||||
write-output "SHA256 hash is:" $Result.Hash
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX add-firewall-rules.ps1 [<path-to-executables>]
|
|
||||||
.DESCRIPTION adds firewall rules for the given executables, administrator rights are required
|
|
||||||
.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
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX add-memo.ps1 [<text>]
|
|
||||||
.DESCRIPTION adds the given memo text to $HOME/Memos.csv
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Text = "")
|
|
||||||
if ($Text -eq "" ) { $Text = read-host "Enter the memo text to add" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Path = "$HOME/Memos.csv"
|
|
||||||
$Time = get-date -format "yyyy-MM-ddTHH:mm:ssZ" -asUTC
|
|
||||||
$User = $(whoami)
|
|
||||||
$Line = "$Time,$User,$Text"
|
|
||||||
|
|
||||||
if (-not(test-path "$Path")) {
|
|
||||||
write-output "Time,User,Text" > "$Path"
|
|
||||||
}
|
|
||||||
write-output $Line >> "$Path"
|
|
||||||
|
|
||||||
"✔️ added to 📄$Path"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX alert.ps1 [<message>]
|
|
||||||
.DESCRIPTION handle and escalate the given alert message
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Message = "")
|
|
||||||
|
|
||||||
if ($Message -eq "" ) {
|
|
||||||
$URL = read-host "Enter alert message"
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
echo "ALERT: $Message"
|
|
||||||
|
|
||||||
curl --header "Access-Token: o.PZl5XCp6SBl4F5PpaNXGDfFpUJZKAlEb" --header "Content-Type: application/json" --data-binary '{"type": "note", "title": "ALERT", "body": "$Message"}' --request POST https://api.pushbullet.com/v2/pushes
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX build-repo.ps1 [<repo-dir>]
|
|
||||||
.DESCRIPTION builds a Git repository (supporting cmake,configure,autogen,Imakefile,Makefile)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($RepoDir = "$PWD")
|
|
||||||
|
|
||||||
try {
|
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
|
||||||
|
|
||||||
$RepoDir = resolve-path "$RepoDir"
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
|
|
||||||
if (test-path "$RepoDir/CMakeLists.txt") {
|
|
||||||
"⏳ Building 📂$RepoDir using CMakeLists.txt ..."
|
|
||||||
if (-not(test-path "$RepoDir/BuildFiles/" -pathType container)) {
|
|
||||||
& mkdir "$RepoDir/BuildFiles/"
|
|
||||||
}
|
|
||||||
|
|
||||||
set-location "$RepoDir/BuildFiles/"
|
|
||||||
& cmake ..
|
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' has failed" }
|
|
||||||
|
|
||||||
& make -j4
|
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
|
||||||
|
|
||||||
set-location ".."
|
|
||||||
|
|
||||||
} elseif (test-path "$RepoDir/configure") {
|
|
||||||
"⏳ Building 📂$RepoDir using 'configure' ..."
|
|
||||||
set-location "$RepoDir/"
|
|
||||||
|
|
||||||
& ./configure
|
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'configure' has failed" }
|
|
||||||
|
|
||||||
& make -j4
|
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
|
||||||
|
|
||||||
} elseif (test-path "$RepoDir/autogen.sh") {
|
|
||||||
"⏳ Building 📂$RepoDir using 'autogen.sh' ..."
|
|
||||||
set-location "$RepoDir/"
|
|
||||||
|
|
||||||
& ./autogen.sh
|
|
||||||
if ($lastExitCode -ne "0") { throw "Script 'autogen.sh' has failed" }
|
|
||||||
|
|
||||||
& make -j4
|
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
|
||||||
|
|
||||||
} elseif (test-path "$RepoDir/Imakefile") {
|
|
||||||
"⏳ Building 📂$RepoDir 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 "$RepoDir/Makefile") {
|
|
||||||
"⏳ Building 📂$RepoDir using Makefile..."
|
|
||||||
set-location "$RepoDir/"
|
|
||||||
|
|
||||||
& make -j4
|
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
|
||||||
|
|
||||||
} elseif (test-path "$RepoDir/attower/src/build/DevBuild/build.bat") {
|
|
||||||
"⏳ Building 📂$RepoDir using build.bat ..."
|
|
||||||
set-location "$RepoDir/attower/src/build/DevBuild/"
|
|
||||||
|
|
||||||
& ./build.bat build-all-release
|
|
||||||
if ($lastExitCode -ne "0") { throw "Script 'build.bat' returned error(s)" }
|
|
||||||
|
|
||||||
} else {
|
|
||||||
write-warning "Sorry, no rule found to build 📂$RepoDir"
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
|
||||||
"✔️ built Git repository 📂$RepoDir in $Elapsed sec."
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX build-repos.ps1 [<parent-dir>]
|
|
||||||
.DESCRIPTION builds all Git repositories under the current/given directory
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($ParentDir = "$PWD")
|
|
||||||
|
|
||||||
try {
|
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
|
||||||
|
|
||||||
if (-not(test-path "$ParentDir" -pathType container)) { throw "Can't access directory: $ParentDir" }
|
|
||||||
set-location $ParentDir
|
|
||||||
|
|
||||||
[int]$Count = 0
|
|
||||||
get-childItem $ParentDir -attributes Directory | foreach-object {
|
|
||||||
& "$PSScriptRoot/build-repo.ps1" "$($_.FullName)"
|
|
||||||
$Count++
|
|
||||||
}
|
|
||||||
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
|
||||||
write-host -foregroundColor green "✔️ built $Count Git repositories at $ParentDir in $Elapsed sec."
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Syntax: ./calibre-server
|
|
||||||
# Description: starts a Calibre server
|
|
||||||
# Author: Markus Fleschutz
|
|
||||||
# Source: github.com/fleschutz/PowerShell
|
|
||||||
# License: CC0
|
|
||||||
|
|
||||||
echo "Starting Calibre Server ..."
|
|
||||||
calibre-server --port 8099 --num-per-page 100 --userdb $HOME/CalibreUsers.sqlite --log $HOME/CalibreServer.log --daemonize $HOME/'Calibre Library'
|
|
||||||
echo "OK - Calibre Server started."
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-desktop.ps1
|
|
||||||
.DESCRIPTION go to the user's desktop folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Desktop"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-docs.ps1
|
|
||||||
.DESCRIPTION go to the user's documents folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Documents"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-downloads.ps1
|
|
||||||
.DESCRIPTION go to the user's downloads folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Downloads"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-dropbox.ps1
|
|
||||||
.DESCRIPTION go to the user's Dropbox folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Dropbox"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-home.ps1
|
|
||||||
.DESCRIPTION go to the user's home folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-music.ps1
|
|
||||||
.DESCRIPTION go to the user's music folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Music"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-onedrive.ps1
|
|
||||||
.DESCRIPTION go to the user's OneDrive folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/OneDrive"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-pics.ps1
|
|
||||||
.DESCRIPTION go to the user's pictures folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Pictures"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,21 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-recycle-bin.ps1
|
|
||||||
.DESCRIPTION go to the user's recycle bin folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
function Get-CurrentUserSID { [CmdletBinding()] param()
|
|
||||||
Add-Type -AssemblyName System.DirectoryServices.AccountManagement
|
|
||||||
return ([System.DirectoryServices.AccountManagement.UserPrincipal]::Current).SID.Value
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$TargetDir = 'C:\$Recycle.Bin\' + "$(Get-CurrentUserSID)"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-repos.ps1
|
|
||||||
.DESCRIPTION go to the user's Git repositories folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Repos"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,19 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-root.ps1
|
|
||||||
.DESCRIPTION go to the root directory (C: on Windows)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
if ($IsLinux) {
|
|
||||||
$TargetDir = resolve-path "/"
|
|
||||||
} else {
|
|
||||||
$TargetDir = resolve-path "C:/"
|
|
||||||
}
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-scripts.ps1
|
|
||||||
.DESCRIPTION go to the PowerShell Scripts folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$PSScriptRoot"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-up.ps1
|
|
||||||
.DESCRIPTION go one directory level up
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path ".."
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-up2.ps1
|
|
||||||
.DESCRIPTION go two directory levels up
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "../.."
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-up3.ps1
|
|
||||||
.DESCRIPTION go three directory levels up
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "../../.."
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-up4.ps1
|
|
||||||
.DESCRIPTION go four directory levels up
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "../../../.."
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cd-videos.ps1
|
|
||||||
.DESCRIPTION go to the user's videos folder
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$TargetDir = resolve-path "$HOME/Videos"
|
|
||||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
|
||||||
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
set-location "$TargetDir"
|
|
||||||
"📂$TargetDir"
|
|
||||||
exit 0
|
|
@ -1,34 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-cpu-temp.ps1
|
|
||||||
.DESCRIPTION checks the CPU temperature
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (test-path "/sys/class/thermal/thermal_zone0/temp") {
|
|
||||||
[int]$IntTemp = get-content "/sys/class/thermal/thermal_zone0/temp"
|
|
||||||
$Temp = [math]::round($IntTemp / 1000.0, 1)
|
|
||||||
} else {
|
|
||||||
write-warning "Sorry, no CPU temperature available"
|
|
||||||
exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Temp -gt "80") {
|
|
||||||
write-error "FAIL - $Temp °C CPU temperature is too high!"
|
|
||||||
exit 1
|
|
||||||
} elseif ($Temp -lt "-20") {
|
|
||||||
write-error "FAIL - $Temp °C CPU temperature is too low!"
|
|
||||||
exit 1
|
|
||||||
} elseif ($Temp -gt "50") {
|
|
||||||
write-warning "$Temp °C CPU temperature is quite high"
|
|
||||||
} elseif ($Temp -lt "0") {
|
|
||||||
write-warning "$Temp °C CPU temperature is quite low"
|
|
||||||
} else {
|
|
||||||
"✔️ $Temp °C CPU temperature"
|
|
||||||
}
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-dns-resolution.ps1
|
|
||||||
.DESCRIPTION checks the DNS resolution with frequently used domain names
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
|
||||||
write-progress "Reading Data/domain-names.csv..."
|
|
||||||
|
|
||||||
$PathToRepo = "$PSScriptRoot/.."
|
|
||||||
$Table = import-csv "$PathToRepo/Data/domain-names.csv"
|
|
||||||
|
|
||||||
foreach($Row in $Table) {
|
|
||||||
write-progress "Resolving $($Row.Domain) ..."
|
|
||||||
if ($IsLinux) {
|
|
||||||
$Ignore = nslookup $Row.Domain
|
|
||||||
} else {
|
|
||||||
$Ignore = resolve-dnsName $Row.Domain
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$Count = $Table.Length
|
|
||||||
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
|
||||||
$Average = [math]::round($Count / $Elapsed, 1)
|
|
||||||
"✔️ $Average domains/s ($Count domains resolved in $Elapsed sec.)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-drive-space.ps1 [<drive>] [<min-level>]
|
|
||||||
.DESCRIPTION checks the given drive for free space left
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Drive = "", [int]$MinLevel = 50) # minimum level in GB
|
|
||||||
|
|
||||||
if ($Drive -eq "" ) { $Drive = read-host "Enter drive to check" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$DriveDetails = (get-psdrive $Drive)
|
|
||||||
[int]$Free = (($DriveDetails.Free / 1024) / 1024) / 1024
|
|
||||||
[int]$Used = (($DriveDetails.Used / 1024) / 1024) / 1024
|
|
||||||
[int]$Total = ($Used + $Free)
|
|
||||||
|
|
||||||
if ($Free -lt $MinLevel) {
|
|
||||||
write-warning "Drive $Drive has only $Free GB left to use! ($Used GB out of $Total GB in use, minimum is $MinLevel GB)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
"✔️ $Free GB left on drive $Drive ($Used GB of $Total GB used)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-file-system.ps1 [<drive>]
|
|
||||||
.DESCRIPTION checks the validity of the file system (needs admin rights)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
#Requires -RunAsAdministrator
|
|
||||||
|
|
||||||
param($Drive = "")
|
|
||||||
|
|
||||||
if ($Drive -eq "" ) {
|
|
||||||
$Drive = read-host "Enter drive (letter) to check"
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Result = repair-volume -driveLetter $Drive -scan
|
|
||||||
if ($Result -ne "NoErrorsFound") { throw "'repair-volume' failed" }
|
|
||||||
|
|
||||||
write-host -foregroundColor green "✔️ file system on drive $Drive is clean"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-health.ps1
|
|
||||||
.DESCRIPTION checks the health of the local computer
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$Hostname = $(hostname)
|
|
||||||
$Healthy = 1
|
|
||||||
"Checking health of $Hostname ..."
|
|
||||||
|
|
||||||
& "$PSScriptRoot/check-swap-space.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
|
||||||
|
|
||||||
if ($IsLinux) {
|
|
||||||
& "$PSScriptRoot/check-drive-space.ps1" /
|
|
||||||
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
|
||||||
} else {
|
|
||||||
& "$PSScriptRoot/check-drive-space.ps1" C
|
|
||||||
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
|
||||||
}
|
|
||||||
|
|
||||||
& "$PSScriptRoot/check-cpu-temp.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
|
||||||
|
|
||||||
& "$PSScriptRoot/check-dns-resolution.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
|
||||||
|
|
||||||
& "$PSScriptRoot/check-ping.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
|
||||||
|
|
||||||
if ($Healthy) {
|
|
||||||
"✔️ $Hostname is healthy"
|
|
||||||
exit 0
|
|
||||||
} else {
|
|
||||||
write-warning "$Hostname is NOT healthy"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,33 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-ipv4-address.ps1 [<address>]
|
|
||||||
.DESCRIPTION checks the given IPv4 address for validity
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Address = "")
|
|
||||||
|
|
||||||
function IsIPv4AddressValid { param([string]$IP)
|
|
||||||
$RegEx = "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
|
|
||||||
if ($IP -match $RegEx) {
|
|
||||||
return $true
|
|
||||||
} else {
|
|
||||||
return $false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
if ($Address -eq "" ) {
|
|
||||||
$Address = read-host "Enter IPv4 address to validate"
|
|
||||||
}
|
|
||||||
if (IsIPv4AddressValid $Address) {
|
|
||||||
write-host -foregroundColor green "OK - IPv4 address $Address is valid"
|
|
||||||
exit 0
|
|
||||||
} else {
|
|
||||||
write-warning "Invalid IPv4 address: $Address"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-mac-address.ps1 [<MAC>]
|
|
||||||
.DESCRIPTION checks the given MAC address for validity
|
|
||||||
MAC address like 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($MAC = "")
|
|
||||||
|
|
||||||
function IsMACAddressValid { param([string]$mac)
|
|
||||||
$RegEx = "^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})|([0-9A-Fa-f]{2}){6}$"
|
|
||||||
if ($mac -match $RegEx) {
|
|
||||||
return $true
|
|
||||||
} else {
|
|
||||||
return $false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
if ($MAC -eq "" ) {
|
|
||||||
$MAC = read-host "Enter MAC address to validate"
|
|
||||||
}
|
|
||||||
if (IsMACAddressValid $MAC) {
|
|
||||||
write-host -foregroundColor green "OK - MAC address $MAC is valid"
|
|
||||||
exit 0
|
|
||||||
} else {
|
|
||||||
write-warning "Invalid MAC address: $MAC"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-ping.ps1
|
|
||||||
.DESCRIPTION checks the ping latency to the internet
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
write-verbose "Sending pings to the internet ..."
|
|
||||||
$Pings = test-connection -count 1 -computerName heise.de,cnn.com,github.com,www.microsoft.com,dropbox.com,amazon.com,google.com,bing.com,youtube.com
|
|
||||||
|
|
||||||
[int]$Min = 9999999
|
|
||||||
[int]$Max = 0
|
|
||||||
[int]$Avg = 0
|
|
||||||
foreach($Ping in $Pings) {
|
|
||||||
if ($IsLinux) {
|
|
||||||
[int]$Latency = $Ping.latency
|
|
||||||
} else {
|
|
||||||
[int]$Latency = $Ping.ResponseTime
|
|
||||||
}
|
|
||||||
if ($Latency -lt $Min) { $Min = $Latency }
|
|
||||||
if ($Latency -gt $Max) { $Max = $Latency }
|
|
||||||
$Avg += $Latency
|
|
||||||
}
|
|
||||||
$Avg = $Avg / $Pings.count
|
|
||||||
|
|
||||||
"✔️ $Avg ms average ping latency ($Min ms min, $Max ms max)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-swap-space.ps1 [<min-level>]
|
|
||||||
.DESCRIPTION checks the free swap space
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param([int]$MinLevel = 50) # minimum level in GB
|
|
||||||
|
|
||||||
try {
|
|
||||||
if ($IsLinux) {
|
|
||||||
$Result = $(free --mega | grep Swap:)
|
|
||||||
[int]$Total = $Result.subString(5,14)
|
|
||||||
[int]$Used = $Result.substring(20,13)
|
|
||||||
[int]$Free = $Result.substring(31,12)
|
|
||||||
} else {
|
|
||||||
$Items = get-wmiobject -class "Win32_PageFileUsage" -namespace "root\CIMV2" -computername localhost
|
|
||||||
foreach ($Item in $Items) {
|
|
||||||
[int]$Total = $Item.AllocatedBaseSize
|
|
||||||
[int]$Used = $Item.CurrentUsage
|
|
||||||
[int]$Free = ($Total - $Used)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Total -eq "0") {
|
|
||||||
write-warning "No swap space configured!"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
if ($Free -lt $MinLevel) {
|
|
||||||
write-warning "Swap space has only $Free GB left to use! ($Used GB out of $Total GB in use, minimum is $MinLevel GB)"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
"✔️ $Free GB left on swap space ($Used GB of $Total GB used)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-symlinks.ps1 [<dir-tree>]
|
|
||||||
.DESCRIPTION checks every symlink in the given directory tree
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($DirTree = "")
|
|
||||||
|
|
||||||
if ($DirTree -eq "" ) {
|
|
||||||
$DirTree = read-host "Enter the path to the directory tree"
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
write-progress "Checking symlinks in $DirTree..."
|
|
||||||
[int]$SymlinksTotal = [int]$SymlinksBroken = 0
|
|
||||||
Get-ChildItem $DirTree -recurse | Where { $_.Attributes -match "ReparsePoint" } | ForEach-Object {
|
|
||||||
$Symlink = $_.FullName
|
|
||||||
$Target = ($_ | Select-Object -ExpandProperty Target -ErrorAction Ignore)
|
|
||||||
if ($Target) {
|
|
||||||
$path = $_.FullName + "\..\" + ($_ | Select-Object -ExpandProperty Target)
|
|
||||||
$item = Get-Item $path -ErrorAction Ignore
|
|
||||||
if (!$item) {
|
|
||||||
write-warning "Broken symlink: $Symlink -> $Target"
|
|
||||||
$SymlinksBroken++
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$SymlinksTotal++
|
|
||||||
}
|
|
||||||
write-host -foregroundColor green "OK - found $SymlinksTotal symlinks total, $SymlinksBroken symlinks are broken"
|
|
||||||
exit $SymlinksBroken
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,51 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-weather.ps1 [<location>]
|
|
||||||
.DESCRIPTION checks the weather for critical values
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Location = "") # empty means determine automatically
|
|
||||||
|
|
||||||
function Check { param([int]$Value, [int]$NormalMin, [int]$NormalMax, [string]$Unit)
|
|
||||||
if ($Value -lt $NormalMin) {
|
|
||||||
return "$Value $Unit ! "
|
|
||||||
}
|
|
||||||
if ($Value -gt $NormalMax) {
|
|
||||||
return "$Value $Unit ! "
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Weather = (Invoke-WebRequest http://wttr.in/${Location}?format=j1 -UserAgent "curl" ).Content | ConvertFrom-Json
|
|
||||||
|
|
||||||
$Temp = $Weather.current_condition.temp_C
|
|
||||||
$Precip = $Weather.current_condition.precipMM
|
|
||||||
$Humidity = $Weather.current_condition.humidity
|
|
||||||
$Pressure = $Weather.current_condition.pressure
|
|
||||||
$WindSpeed = $Weather.current_condition.windspeedKmph
|
|
||||||
$WindDir = $Weather.current_condition.winddir16Point
|
|
||||||
$UV = $Weather.current_condition.uvIndex
|
|
||||||
$Visib = $Weather.current_condition.visibility
|
|
||||||
$Clouds = $Weather.current_condition.cloudcover
|
|
||||||
$Desc = $Weather.current_condition.weatherDesc.value
|
|
||||||
$Area = $Weather.nearest_area.areaName.value
|
|
||||||
$Region = $Weather.nearest_area.region.value
|
|
||||||
"Now: $($Temp)°C $($Precip)mm $($Humidity)% $($WindSpeed)km/h from $WindDir $($Pressure)hPa UV$($UV) $($Visib)km $($Clouds)% $Desc at $Area ($Region)"
|
|
||||||
|
|
||||||
$Result+=Check $Weather.current_condition.windspeedKmph 0 48 "km/h"
|
|
||||||
$Result+=Check $Weather.current_condition.visibility 1 1000 "km visibility"
|
|
||||||
$Result+=Check $Weather.current_condition.temp_C -20 40 "°C"
|
|
||||||
$Result+=Check $Weather.current_condition.uvIndex 0 6 "UV"
|
|
||||||
|
|
||||||
if ($Result -eq "") {
|
|
||||||
"Calm weather"
|
|
||||||
} else {
|
|
||||||
"WEATHER ALERT: $Result"
|
|
||||||
}
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-windows-system-files.ps1
|
|
||||||
.DESCRIPTION checks the validity of the Windows system files (requires admin rights)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
#Requires -RunAsAdministrator
|
|
||||||
|
|
||||||
try {
|
|
||||||
sfc /verifyOnly
|
|
||||||
if ($lastExitCode -ne "0") { throw "'sfc /verifyOnly' failed" }
|
|
||||||
|
|
||||||
write-host -foregroundColor green "✔️ checked Windows system files"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX check-xml-file [<file>]
|
|
||||||
.DESCRIPTION checks the given XML file for validity
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($File = "")
|
|
||||||
|
|
||||||
if ($File -eq "" ) {
|
|
||||||
$File = read-host "Enter path to XML file"
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
$XmlFile = Get-Item $File
|
|
||||||
|
|
||||||
$script:ErrorCount = 0
|
|
||||||
|
|
||||||
# Perform the XSD Validation
|
|
||||||
$ReaderSettings = New-Object -TypeName System.Xml.XmlReaderSettings
|
|
||||||
$ReaderSettings.ValidationType = [System.Xml.ValidationType]::Schema
|
|
||||||
$ReaderSettings.ValidationFlags = [System.Xml.Schema.XmlSchemaValidationFlags]::ProcessInlineSchema -bor [System.Xml.Schema.XmlSchemaValidationFlags]::ProcessSchemaLocation
|
|
||||||
$ReaderSettings.add_ValidationEventHandler({ $script:ErrorCount++ })
|
|
||||||
$Reader = [System.Xml.XmlReader]::Create($XmlFile.FullName, $ReaderSettings)
|
|
||||||
while ($Reader.Read()) { }
|
|
||||||
$Reader.Close()
|
|
||||||
|
|
||||||
if ($script:ErrorCount -gt 0) {
|
|
||||||
write-warning "Invalid XML file"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
write-host -foregroundColor green "OK - XML file is valid"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX cherry-picker.ps1 [<commit-id>] [<commit-message>] [<branches>] [<repo-dir>]
|
|
||||||
.DESCRIPTION cherry-picks a Git commit into multiple branches
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($CommitID = "", $CommitMessage = "", $Branches = "", $RepoDir = "$PWD")
|
|
||||||
|
|
||||||
if ($CommitID -eq "" ) { $CommitID = read-host "Enter the commit id to cherry-pick" }
|
|
||||||
if ($CommitMessage -eq "" ) { $CommitMessage = read-host "Enter the commit message to use" }
|
|
||||||
if ($Branches -eq "" ) { $Branches = read-host "Enter the target branches" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
set-location "$RepoDir"
|
|
||||||
|
|
||||||
foreach($Branch in $Branches) {
|
|
||||||
|
|
||||||
"STEP: Switching to branch $Branch (git checkout)..."
|
|
||||||
& git checkout --recurse-submodules --force $Branch
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git checkout' failed" }
|
|
||||||
|
|
||||||
"STEP: Updating submodules (git submodule update)..."
|
|
||||||
& git submodule update --init --recursive
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git submodule update' failed" }
|
|
||||||
|
|
||||||
"STEP: Cleaning the repository (git clean -fdx)..."
|
|
||||||
& git clean -fdx
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git clean -fdx' failed" }
|
|
||||||
|
|
||||||
& git submodule foreach --recursive git clean -fdx
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git clean -fdx' in submodules failed" }
|
|
||||||
|
|
||||||
"STEP: Pulling latest updates (git pull)..."
|
|
||||||
& git pull --recurse-submodules
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git pull' failed" }
|
|
||||||
|
|
||||||
"STEP: Checking the status (git status)..."
|
|
||||||
$Result = (git status)
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git status' failed" }
|
|
||||||
if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Branch is NOT clean: $Result" }
|
|
||||||
|
|
||||||
& git cherry-pick --no-commit "$CommitID"
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git cherry-pick $CommitID' failed" }
|
|
||||||
|
|
||||||
& git commit -m "$CommitMessage"
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git commit' failed" }
|
|
||||||
|
|
||||||
& git push
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git push' failed" }
|
|
||||||
}
|
|
||||||
"DONE."
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,31 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX clean-repo.ps1 [<repo-dir>]
|
|
||||||
.DESCRIPTION cleans a Git repository from untracked files (including submodules, e.g. for a fresh build)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($RepoDir = "$PWD")
|
|
||||||
|
|
||||||
try {
|
|
||||||
$RepoDir = resolve-path "$RepoDir"
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
set-location "$RepoDir"
|
|
||||||
|
|
||||||
"⏳ Cleaning Git repository 📂$RepoDir from untracked files..."
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
& git clean -fdx # force + recurse into dirs + don't use the standard ignore rules
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git clean -fdx' failed" }
|
|
||||||
|
|
||||||
& git submodule foreach --recursive git clean -fdx
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git clean -fdx' in submodules failed" }
|
|
||||||
|
|
||||||
"✔️ Git repository 📂$RepoDir is clean now"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX clear-recycle-bin.ps1
|
|
||||||
.DESCRIPTION removes the content of the recycle bin folder (can not be undo!)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
Clear-RecycleBin -Confirm:$false
|
|
||||||
"✔️ recycle bin have been emptied"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX clone-repos.ps1 [<parent-dir>]
|
|
||||||
.DESCRIPTION clones well-known Git repositories under the current/given directory.
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($ParentDir = "$PWD")
|
|
||||||
|
|
||||||
try {
|
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
|
||||||
|
|
||||||
if (-not(test-path "$ParentDir" -pathType container)) { throw "Can't access directory: $ParentDir" }
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
$Table = import-csv "$PSScriptRoot/../Data/git-repositories.csv"
|
|
||||||
|
|
||||||
[int]$Count = 0
|
|
||||||
foreach($Row in $Table) {
|
|
||||||
$URL = $Row.URL
|
|
||||||
$DirName = $Row.Directory
|
|
||||||
if (test-path "$ParentDir/$DirName" -pathType container) {
|
|
||||||
"Skipping 📂$DirName because it exists already ..."
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
"⏳ Cloning $URL to 📂$DirName ..."
|
|
||||||
& git clone --recurse-submodules "$URL" "$ParentDir/$DirName"
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }
|
|
||||||
$Count++
|
|
||||||
}
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
|
||||||
"✔️ cloned $Count Git repositories at 📂$ParentDir in $Elapsed sec."
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-calculator.ps1
|
|
||||||
.DESCRIPTION closes the calculator program gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "Calculator" "Calculator" "calc"
|
|
||||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-chrome.ps1
|
|
||||||
.DESCRIPTION closes Google Chrome gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "Google Chrome" "chrome" "chrome"
|
|
||||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-cortana.ps1
|
|
||||||
.DESCRIPTION closes Cortana gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "Cortana" "Cortana" "Cortana"
|
|
||||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-edge.ps1
|
|
||||||
.DESCRIPTION closes Microsoft Edge gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "Microsoft Edge" "msedge" "msedge"
|
|
||||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-file-explorer.ps1
|
|
||||||
.DESCRIPTION closes Microsoft File Explorer gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "File Explorer" "explorer" "explorer"
|
|
||||||
exit 0
|
|
@ -1,43 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-program.ps1 [<full-program-name>] [<program-name>] [<program-alias-name>]
|
|
||||||
.DESCRIPTION closes the processes of the given program gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($FullProgramName = "", $ProgramName = "", $ProgramAliasName = "")
|
|
||||||
|
|
||||||
if ($ProgramName -eq "") {
|
|
||||||
get-process | where-object {$_.mainWindowTitle} | format-table Id, Name, mainWindowtitle -AutoSize
|
|
||||||
$ProgramName = read-host "Enter program name"
|
|
||||||
}
|
|
||||||
if ($FullProgramName -eq "") {
|
|
||||||
$FullProgramName = $ProgramName
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Processes = get-process -name $ProgramName -errorAction 'silentlycontinue'
|
|
||||||
if ($Processes.Count -ne 0) {
|
|
||||||
foreach ($Process in $Processes) {
|
|
||||||
$Process.CloseMainWindow() | Out-Null
|
|
||||||
}
|
|
||||||
start-sleep -milliseconds 100
|
|
||||||
stop-process -name $ProgramName -force -errorAction 'silentlycontinue'
|
|
||||||
} else {
|
|
||||||
|
|
||||||
$Processes = get-process -name $ProgramAliasName -errorAction 'silentlycontinue'
|
|
||||||
if ($Processes.Count -eq 0) {
|
|
||||||
throw "$FullProgramName is not started yet"
|
|
||||||
}
|
|
||||||
foreach ($Process in $Processes) {
|
|
||||||
$_.CloseMainWindow() | Out-Null
|
|
||||||
}
|
|
||||||
start-sleep -milliseconds 100
|
|
||||||
stop-process -name $ProgramName -force -errorAction 'silentlycontinue'
|
|
||||||
}
|
|
||||||
write-host -foregroundColor green "✔️ closed $FullProgramName, found ($($Processes.Count) process(es)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-system-settings.ps1
|
|
||||||
.DESCRIPTION closes the System Settings gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "System Settings" "SystemSettings" "SystemSettings"
|
|
||||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-thunderbird.ps1
|
|
||||||
.DESCRIPTION closes Mozilla Thunderbird gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "Mozilla Thunderbird" "thunderbird" "thunderbird"
|
|
||||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-vlc.ps1
|
|
||||||
.DESCRIPTION closes the VLC media player gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "VLC media player" "vlc" "vlc"
|
|
||||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX close-windows-terminal.ps1
|
|
||||||
.DESCRIPTION closes Windows Terminal gracefully
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "Windows Terminal" "WindowsTerminal" "WindowsTerminal"
|
|
||||||
exit 0
|
|
@ -1,31 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
|
|
||||||
.DESCRIPTION sets up the Git user configuration
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($FullName = "", $EmailAddress = "", $FavoriteEditor = "")
|
|
||||||
if ($FullName -eq "") { $FullName = read-host "Enter your full name" }
|
|
||||||
if ($EmailAddress -eq "") { $EmailAddress = read-host "Enter your e-mail address"}
|
|
||||||
if ($FavoriteEditor -eq "") { $FavoriteEditor = read-host "Enter your favorite text editor (emacs,nano,vi,vim,...)" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
& git config --global user.name $FullName
|
|
||||||
& git config --global user.email $EmailAddress
|
|
||||||
& git config --global core.editor $FavoriteEditor
|
|
||||||
& git config --global http.sslVerify false
|
|
||||||
& git config --global core.autocrlf false
|
|
||||||
& git config --global core.symlinks true
|
|
||||||
& git config --global core.longpaths true
|
|
||||||
& git config --global init.defaultBranch main
|
|
||||||
write-host -foregroundColor green "✔️ your Git configuration has been saved, it's now:"
|
|
||||||
& git config --list
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX convert-csv2txt.ps1 [<csv-file>]
|
|
||||||
.DESCRIPTION converts the given CSV file into a text list
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Path = "")
|
|
||||||
if ($Path -eq "" ) { $Path = read-host "Enter path to CSV file" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Table = Import-CSV -path "$Path" -header A,B,C,D,E,F,G,H
|
|
||||||
|
|
||||||
foreach($Row in $Table) {
|
|
||||||
write-output "* $($Row.A) $($Row.B) $($Row.C) $($Row.D) $($Row.E) $($Row.F) $($Row.G) $($Row.H)"
|
|
||||||
}
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX convert-mysql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
|
|
||||||
.DESCRIPTION convert the MySQL database table to a CSV file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
|
|
||||||
param($server = "", $database = "", $username = "", $password = "", $query = "")
|
|
||||||
if ($server -eq "") { $server = read-host "Enter the hostname/IP address of the MySQL server" }
|
|
||||||
if ($database -eq "") { $database = read-host "Enter the database name" }
|
|
||||||
if ($username -eq "") { $username = read-host "Enter the database username" }
|
|
||||||
if ($password -eq "") { $password = read-host "Enter the database user password" }
|
|
||||||
if ($query -eq "") { $query = read-host "Enter the database query" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$csvfilepath = "$PSScriptRoot\mysql_table.csv"
|
|
||||||
$result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$database; user=$username; password=$password; pooling = false; convert zero datetime=True" -Sql $query -CommandTimeout 10000
|
|
||||||
$result | Export-Csv $csvfilepath -NoTypeInformation
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX convert-sql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
|
|
||||||
.DESCRIPTION convert the SQL database table to a CSV file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($server = "", $database = "", $username = "", $password = "", $query = "")
|
|
||||||
if ($server -eq "") { $server = read-host "Enter the hostname/IP address of the SQL server" }
|
|
||||||
if ($database -eq "") { $database = read-host "Enter the database name" }
|
|
||||||
if ($username -eq "") { $username = read-host "Enter the database username" }
|
|
||||||
if ($password -eq "") { $password = read-host "Enter the database user password" }
|
|
||||||
if ($query -eq "") { $query = read-host "Enter the database query" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$secpasswd = ConvertTo-SecureString $password -AsPlainText -Force
|
|
||||||
$creds = New-Object System.Management.Automation.PSCredential ($username, $secpasswd)
|
|
||||||
$csvfilepath = "$PSScriptRoot\sqlserver_table.csv"
|
|
||||||
$result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Database $database -Server $server -Sql $query -CommandTimeout 10000
|
|
||||||
$result | Export-Csv $csvfilepath -NoTypeInformation
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX convert-txt2wav.ps1 [<text>] [<wav-file>]
|
|
||||||
.DESCRIPTION converts the given text to a .WAV audio file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Text = "", $WavFile = "")
|
|
||||||
if ($Text -eq "") { $Text = read-host "Enter text to speak" }
|
|
||||||
if ($WavFile -eq "") { $WavFile = read-host "Enter .WAV file to save to" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
Add-Type -AssemblyName System.Speech
|
|
||||||
$SpeechSynthesizer = New-Object System.Speech.Synthesis.SpeechSynthesizer
|
|
||||||
$SpeechSynthesizer.SetOutputToWaveFile($tWavFile)
|
|
||||||
$SpeechSynthesizer.Speak($Text)
|
|
||||||
$SpeechSynthesizer.Dispose()
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX create-branch.ps1 [<new-branch-name>] [<repo-dir>]
|
|
||||||
.DESCRIPTION creates and switches to a new branch in a Git repository
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($NewBranchName = "", $RepoDir = "$PWD")
|
|
||||||
if ($NewBranchName -eq "") { $NewBranchName = read-host "Enter new branch name" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
set-location "$RepoDir"
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
$Result = (git status)
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git status' failed in $RepoDir" }
|
|
||||||
if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Repository is NOT clean: $Result" }
|
|
||||||
|
|
||||||
& "$PSScriptRoot/fetch-repo.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Script 'fetch-repo.ps1' failed" }
|
|
||||||
|
|
||||||
& git checkout -b "$NewBranchName"
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git checkout -b $NewBranchName' failed" }
|
|
||||||
|
|
||||||
& git push origin "$NewBranchName"
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git push origin $NewBranchName' failed" }
|
|
||||||
|
|
||||||
& git submodule update --init --recursive
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git submodule update' failed" }
|
|
||||||
|
|
||||||
"✔️ created new branch 🌵$NewBranchName in Git repository $RepoDir"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX create-shortcut.ps1 [<shortcut>] [<target>] [<description>]
|
|
||||||
.DESCRIPTION creates a new shortcut
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Shortcut = "", $Target = "", $Description)
|
|
||||||
if ($Shortcut -eq "" ) { $Shortcut = read-host "Enter filename of shortcut" }
|
|
||||||
if ($Target -eq "" ) { $Target = read-host "Enter path to target" }
|
|
||||||
if ($Description -eq "" ) { $Description = read-host "Enter description" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$sh = new-object -ComObject WScript.Shell
|
|
||||||
$shortcut = $sh.CreateShortcut("$Shortcut.lnk")
|
|
||||||
$shortcut.TargetPath = "$Target"
|
|
||||||
$shortcut.WindowStyle = "1"
|
|
||||||
$shortcut.IconLocation = "C:\Windows\System32\SHELL32.dll, 3"
|
|
||||||
$shortcut.Description = "$Description"
|
|
||||||
$shortcut.save()
|
|
||||||
|
|
||||||
write-host -foregroundColor green "✔️ shortcut $Shortcut created."
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX create-symlink.ps1 [<symlink>] [<target>]
|
|
||||||
.DESCRIPTION creates a symbolic link
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Symlink = "", $Target = "")
|
|
||||||
if ($Symlink -eq "" ) { $Symlink = read-host "Enter filename of symlink" }
|
|
||||||
if ($Target -eq "" ) { $Target = read-host "Enter path to target" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
new-item -path "$Symlink" -itemType SymbolicLink -Value "$Target"
|
|
||||||
|
|
||||||
write-host -foregroundColor green "✔️ symlink $Symlink created (pointing to $Target)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX create-tag.ps1 [<new-tag-name>] [<repo-dir>]
|
|
||||||
.DESCRIPTION creates a new tag in the current/given Git repository
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($NewTagName = "", $RepoDir = "$PWD")
|
|
||||||
if ($NewTagName -eq "") { $NewTagName = read-host "Enter new tag name" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
set-location "$RepoDir"
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
$Result = (git status)
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git status' failed in $RepoDir" }
|
|
||||||
if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Repository is NOT clean: $Result" }
|
|
||||||
|
|
||||||
& "$PSScriptRoot/fetch-repo.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Script 'fetch-repo.ps1' failed" }
|
|
||||||
|
|
||||||
& git tag "$NewTagName"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Error: 'git tag $NewTagName' failed!" }
|
|
||||||
|
|
||||||
& git push origin "$NewTagName"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Error: 'git push origin $NewTagName' failed!" }
|
|
||||||
|
|
||||||
"🔖 tag $NewTagName has been created"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Syntax: ./daily-tasks.sh
|
|
||||||
# Description: execute PowerShell scripts automatically as daily tasks (Linux only)
|
|
||||||
# copy this script to /etc/cron.daily and adapt it
|
|
||||||
# Author: Markus Fleschutz
|
|
||||||
# License: CC0
|
|
||||||
|
|
||||||
HOMEDIR=/home/mf
|
|
||||||
# adapt this to your home directory
|
|
||||||
|
|
||||||
$HOMEDIR/PowerShell/Scripts/query-smart-data.ps1 $HOMEDIR
|
|
||||||
# to query S.M.A.R.T. data of all your HDD's/SSD's
|
|
||||||
|
|
||||||
$HOMEDIR/PowerShell/Scripts/check-dns-resolution.ps1
|
|
||||||
# to train the DNS cache with frequently used domain names
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,23 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX display-time.ps1 [<seconds>]
|
|
||||||
.DESCRIPTION displays the current time for 10 seconds by default
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param([int]$Seconds = 10)
|
|
||||||
|
|
||||||
try {
|
|
||||||
for ([int]$i = 0; $i -lt $Seconds; $i++) {
|
|
||||||
clear-host
|
|
||||||
write-output ""
|
|
||||||
$CurrentTime = Get-Date -format "yyyy-MM-dd HH:mm:ss"
|
|
||||||
./write-big $CurrentTime
|
|
||||||
write-output ""
|
|
||||||
start-sleep -s 1
|
|
||||||
}
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX download-dir.ps1 [<URL>]
|
|
||||||
.DESCRIPTION downloads a directory tree from the given URL
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($URL = "")
|
|
||||||
if ($URL -eq "") { $URL = read-host "Enter directory URL to download" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
& wget --version
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" }
|
|
||||||
|
|
||||||
& wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $URL --directory-prefix . --no-verbose
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" }
|
|
||||||
|
|
||||||
write-host -foregroundColor green "OK - directory downloaded from $URL"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX download-file.ps1 [<URL>]
|
|
||||||
.DESCRIPTION downloads a file from the given URL
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($URL = "")
|
|
||||||
if ($URL -eq "") { $URL = read-host "Enter file URL to download" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
& wget --version
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'wget' - make sure wget is installed and available" }
|
|
||||||
|
|
||||||
& wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $URL --directory-prefix . --no-verbose
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'wget --mirror $URL'" }
|
|
||||||
|
|
||||||
write-host -foregroundColor green "OK - file downloaded from $URL"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX edit.ps1 <filename>
|
|
||||||
.DESCRIPTION starts the built-in text editor to edit the given file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Filename = "")
|
|
||||||
|
|
||||||
try {
|
|
||||||
if ($IsLinux) {
|
|
||||||
& vi "$Filename"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'vi' - make sure vi is installed and available" }
|
|
||||||
} else {
|
|
||||||
& notepad.exe "$Filename"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'notepad.exe' - make sure notepad.exe is installed and available" }
|
|
||||||
}
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX enable-god-mode.ps1
|
|
||||||
.DESCRIPTION enables the god mode (adds a new icon to the desktop)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
$GodModeSplat = @{
|
|
||||||
Path = "$HOME\Desktop"
|
|
||||||
Name = "GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}"
|
|
||||||
ItemType = 'Directory'
|
|
||||||
}
|
|
||||||
$null = new-item @GodModeSplat
|
|
||||||
|
|
||||||
"✔️ new icon added to the desktop"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX enable-ssh-client.ps1
|
|
||||||
.DESCRIPTION enables the SSH client (needs admin rights)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
#Requires -RunAsAdministrator
|
|
||||||
|
|
||||||
try {
|
|
||||||
Add-WindowsCapability -Online -Name OpenSSH.Client*
|
|
||||||
|
|
||||||
write-host -foregroundColor green "OK - SSH client enabled"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX enable-ssh-server.ps1
|
|
||||||
.DESCRIPTION enables the SSH server (needs admin rights)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
#Requires -RunAsAdministrator
|
|
||||||
|
|
||||||
try {
|
|
||||||
Add-WindowsCapability -Online -Name OpenSSH.Server*
|
|
||||||
Start-Service sshd
|
|
||||||
Set-Service -Name sshd -StartupType 'Automatic'
|
|
||||||
|
|
||||||
write-host -foregroundColor green "OK - SSH server enabled"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX fetch-repo.ps1 [<repo-dir>]
|
|
||||||
.DESCRIPTION fetches updates for a local Git repository (including submodules)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($RepoDir = "$PWD")
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
set-location "$RepoDir"
|
|
||||||
|
|
||||||
$RepoDirName = (get-item "$RepoDir").Name
|
|
||||||
"⏳ Fetching updates for Git repository 📂$RepoDirName ..."
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
& git fetch --all --recurse-submodules --jobs=4
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git fetch' failed" }
|
|
||||||
|
|
||||||
"✔️ fetched Git repository 📂$RepoDirName"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX fetch-repos.ps1 [<parent-dir>]
|
|
||||||
.DESCRIPTION fetches updates for all Git repositories under the current/given directory (including submodules)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($ParentDir = "$PWD")
|
|
||||||
|
|
||||||
try {
|
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
|
||||||
|
|
||||||
if (-not(test-path "$ParentDir" -pathType container)) { throw "Can't access directory: $ParentDir" }
|
|
||||||
set-location $ParentDir
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
[int]$Count = 0
|
|
||||||
get-childItem $ParentDir -attributes Directory | foreach-object {
|
|
||||||
"⏳ Fetching updates for Git repository 📂$($_.Name) ..."
|
|
||||||
|
|
||||||
set-location "$($_.FullName)"
|
|
||||||
|
|
||||||
& git fetch --all --recurse-submodules --jobs=4
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git fetch' failed" }
|
|
||||||
|
|
||||||
set-location ..
|
|
||||||
$Count++
|
|
||||||
}
|
|
||||||
|
|
||||||
$ParentDirName = (get-item "$ParentDir").Name
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
|
||||||
"✔️ fetched updates for $Count Git repositories at 📂$ParentDirName in $Elapsed sec."
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX generate-qrcode.ps1 [<text>] [<image-size>]
|
|
||||||
.DESCRIPTION generates a QR code
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Text = "", $ImageSize = "")
|
|
||||||
if ($Text -eq "") { $Text = read-host "Enter text or URL" }
|
|
||||||
if ($ImageSize -eq "") { $ImageSize = read-host "Enter image size (e.g. 500x500)" }
|
|
||||||
|
|
||||||
try {
|
|
||||||
$ECC = "M" # can be L, M, Q, H
|
|
||||||
$QuietZone = 1
|
|
||||||
$ForegroundColor = "000000"
|
|
||||||
$BackgroundColor = "ffffff"
|
|
||||||
$FileFormat = "jpg"
|
|
||||||
$PathToRepo = "$PSScriptRoot/.."
|
|
||||||
$NewFile = "$PathToRepo/Data/qrcode.jpg"
|
|
||||||
|
|
||||||
$WebClient = new-object System.Net.WebClient
|
|
||||||
$WebClient.DownloadFile(("http://api.qrserver.com/v1/create-qr-code/?data=" + $Text + "&ecc=" + $ECC +`
|
|
||||||
"&size=" + $ImageSize + "&qzone=" + $QuietZone + `
|
|
||||||
"&color=" + $ForegroundColor + "&bgcolor=" + $BackgroundColor.Text + `
|
|
||||||
"&format=" + $FileFormat), $NewFile)
|
|
||||||
|
|
||||||
write-host -foregroundColor green "Done - QR code has been written to $NewFile"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# requires <hashdeep>
|
|
||||||
|
|
||||||
if [ -r new_hashes.xml ]
|
|
||||||
then
|
|
||||||
echo "Found new_hashes.xml, renaming it to known_hashes.xml ..."
|
|
||||||
mv new_hashes.xml known_hashes.xml
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Calculating new_hashes.xml of folder $1 ..."
|
|
||||||
hashdeep -c md5,sha1,sha256,tiger,whirlpool -r -d -l -j 1 $1 > new_hashes.xml
|
|
||||||
|
|
||||||
if [ -r known_hashes.xml ]
|
|
||||||
then
|
|
||||||
echo "This has changed:"
|
|
||||||
diff known_hashes.xml new_hashes.xml
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,17 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX hibernate.ps1
|
|
||||||
.DESCRIPTION enables hibernate mode for the local computer (needs admin rights)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
#Requires -RunAsAdministrator
|
|
||||||
|
|
||||||
try {
|
|
||||||
[Void][System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
|
|
||||||
[System.Windows.Forms.Application]::SetSuspendState("Hibernate", $false, $false);
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX inspect-exe.ps1 [<path-to-exe-file>]
|
|
||||||
.DESCRIPTION prints basic information of the given executable file
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($PathToExe = "")
|
|
||||||
|
|
||||||
if ($PathToExe -eq "" ) {
|
|
||||||
$PathToExe = read-host "Enter path to executable file"
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
get-childitem $PathToExe | % {$_.VersionInfo} | Select *
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX install-google-chrome.ps1
|
|
||||||
.DESCRIPTION silently installs latest Google Chrome
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
$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
|
|
||||||
write-host -foregroundColor green "✔️ installed Google Chrome"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX introduce-powershell.ps1
|
|
||||||
.DESCRIPTION introduces PowerShell to new users
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
& "$PSScriptRoot/write-big.ps1" "PowerShell"
|
|
||||||
|
|
||||||
& "$PSScriptRoot/write-animated.ps1" "Welcome to PowerShell"
|
|
||||||
& "$PSScriptRoot/write-animated.ps1" "Feel the power of the console and scripting"
|
|
||||||
|
|
||||||
""
|
|
||||||
"* Want to learn PowerShell? See the tutorials at: https://www.guru99.com/powershell-tutorial.html"
|
|
||||||
""
|
|
||||||
"* Need documentation? See the PowerShell docs at: https://docs.microsoft.com/en-us/powershell/"
|
|
||||||
""
|
|
||||||
"* Want sample scripts? See PowerShell Scripts at: https://github.com/fleschutz/PowerShell/"
|
|
||||||
""
|
|
||||||
|
|
||||||
& "$PSScriptRoot/write-typewriter.ps1" "P.S. PowerShell is looking forward to execute your next command"
|
|
||||||
""
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Syntax: ./ipfs-publish <dir-tree>
|
|
||||||
# Description: publishes the given directory tree to IPFS
|
|
||||||
# Author: Markus Fleschutz
|
|
||||||
# Source: github.com/fleschutz/PowerShell
|
|
||||||
# License: CC0
|
|
||||||
# NOTE: requires <ipfs> and <hashdeep>
|
|
||||||
|
|
||||||
DIR=$1
|
|
||||||
IPFS_HASHES="IPFS_hash_list.txt"
|
|
||||||
DF_HASHES="checksum_list.xml"
|
|
||||||
|
|
||||||
echo "Publishing folder $DIR to IPFS"
|
|
||||||
echo "(1/3) Removing Thumbs.db in subfolders ..."
|
|
||||||
nice find "$DIR" -name Thumbs.db -exec rm -rf {} \;
|
|
||||||
|
|
||||||
echo "(2/3) Adding $DIR to IPFS ..."
|
|
||||||
nice ipfs add -r "$DIR" > $IPFS_HASHES
|
|
||||||
|
|
||||||
echo "(3/3) Calculating digital forensics hashes to $DF_HASHES ..."
|
|
||||||
nice hashdeep -c md5,sha1,sha256 -r -d -l -j 1 "$DIR" > $DF_HASHES
|
|
||||||
|
|
||||||
echo "OK - to publish the content execute: ipfs name publish <HASH>"
|
|
||||||
exit 0
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Syntax: ./ipfs-server
|
|
||||||
# Description: starts an IPFS server
|
|
||||||
# Author: Markus Fleschutz
|
|
||||||
# Source: github.com/fleschutz/PowerShell
|
|
||||||
# License: CC0
|
|
||||||
|
|
||||||
HOSTNAME="`hostname`"
|
|
||||||
ipfs init --profile server
|
|
||||||
|
|
||||||
ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001
|
|
||||||
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8765
|
|
||||||
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://raspi:5001", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
|
|
||||||
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
|
|
||||||
|
|
||||||
echo "NOTE: Make sure port 4001 for IPv4/v6 is open by your router!"
|
|
||||||
while true; do
|
|
||||||
ipfs daemon
|
|
||||||
echo "IPFS server has stopped, restarting ..."
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
exit 0
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-aliases.ps1
|
|
||||||
.DESCRIPTION lists all PowerShell aliases
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
get-alias
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-branches.ps1 [<repo-dir>] [<pattern>]
|
|
||||||
.DESCRIPTION lists all branches in the current/given Git repository
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($RepoDir = "$PWD", $Pattern = "*")
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
set-location "$RepoDir"
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
& "$PSScriptRoot/fetch-repo.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Script 'fetch-repo.ps1' failed" }
|
|
||||||
|
|
||||||
write-output ""
|
|
||||||
write-output "List of Git Branches"
|
|
||||||
write-output "--------------------"
|
|
||||||
$Branches = $(git branch --list --remotes --no-color --no-column)
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git branch --list' failed" }
|
|
||||||
|
|
||||||
foreach($Branch in $Branches) {
|
|
||||||
if ("$Branch" -match "origin/HEAD") { continue }
|
|
||||||
$BranchName = $Branch.substring(9)
|
|
||||||
if ("$BranchName" -notlike "$Pattern") { continue }
|
|
||||||
write-output "$BranchName"
|
|
||||||
}
|
|
||||||
write-output ""
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-city-weather.ps1
|
|
||||||
.DESCRIPTION list the current weather of cities world-wide (west to east)
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$Cities="Hawaii","Los Angeles","Mexico City","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Peking","Tokyo","Sydney"
|
|
||||||
|
|
||||||
try {
|
|
||||||
foreach($City in $Cities) {
|
|
||||||
$Line = (Invoke-WebRequest http://wttr.in/${City}?format="%c %l+%t+%p+%h+%P+%w +%S →+%s" -UserAgent "curl").Content
|
|
||||||
"$Line"
|
|
||||||
}
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-clipboard.ps1
|
|
||||||
.DESCRIPTION lists the contents of the clipboard
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
"📋 $(get-clipboard)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-cmdlets.ps1
|
|
||||||
.DESCRIPTION lists all PowerShell cmdlets
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
Get-Command -Command-Type cmdlet
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-commits.ps1 [<repo-dir>] [<format>]
|
|
||||||
.DESCRIPTION lists all commits in the current/given Git repository
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($RepoDir = "$PWD", $Format = "compact")
|
|
||||||
|
|
||||||
try {
|
|
||||||
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
|
||||||
set-location "$RepoDir"
|
|
||||||
|
|
||||||
$Null = (git --version)
|
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
|
||||||
|
|
||||||
& "$PSScriptRoot/fetch-repo.ps1"
|
|
||||||
if ($lastExitCode -ne "0") { throw "Script 'fetch-repo.ps1' failed" }
|
|
||||||
|
|
||||||
write-output ""
|
|
||||||
write-output "List of Git Commits"
|
|
||||||
write-output "-------------------"
|
|
||||||
if ($Format -eq "compact") {
|
|
||||||
& git log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git log' failed" }
|
|
||||||
} else {
|
|
||||||
& git log
|
|
||||||
if ($lastExitCode -ne "0") { throw "'git log' failed" }
|
|
||||||
}
|
|
||||||
write-output ""
|
|
||||||
write-output ""
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-dir-tree.ps1 [<dir-tree>]
|
|
||||||
.DESCRIPTION lists a directory tree
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($DirTree = "$PWD")
|
|
||||||
|
|
||||||
function ListDir { param([string]$Directory, [int]$Depth)
|
|
||||||
$Depth++
|
|
||||||
$Items = get-childItem -path $Directory
|
|
||||||
foreach ($Item in $Items) {
|
|
||||||
$Filename = $Item.Name
|
|
||||||
if ($Item.Mode -like "d*") {
|
|
||||||
for ($i = 0; $i -lt $Depth; $i++) {
|
|
||||||
write-host -nonewline "+--"
|
|
||||||
}
|
|
||||||
write-host -foregroundColor green "📂$Filename"
|
|
||||||
ListDir "$Directory\$Filename" $Depth
|
|
||||||
$global:Dirs++
|
|
||||||
} else {
|
|
||||||
for ($i = 1; $i -lt $Depth; $i++) {
|
|
||||||
write-host -nonewline "| "
|
|
||||||
}
|
|
||||||
write-host "|-$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
|
|
||||||
write-host "($($global:Dirs) directories, $($global:Files) files, $($global:Bytes) bytes total)"
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-dir.ps1 [<directory>]
|
|
||||||
.DESCRIPTION lists the directory content formatted in columns
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
param($Directory = "$PWD")
|
|
||||||
|
|
||||||
function ListDir { param([string]$Path)
|
|
||||||
$Items = get-childItem -path $Path
|
|
||||||
foreach ($Item in $Items) {
|
|
||||||
$Name = $Item.Name
|
|
||||||
if ($Name[0] -eq '.') { continue } # hidden file/dir
|
|
||||||
if ($Item.Mode -like "d*") { $Icon = "📂"
|
|
||||||
} elseif ($Name -like "*.iso") { $Icon = "📀"
|
|
||||||
} elseif ($Name -like "*.mp3") { $Icon = "🎵"
|
|
||||||
} elseif ($Name -like "*.epub") { $Icon = "📓"
|
|
||||||
} else { $Icon = "📄" }
|
|
||||||
new-object PSObject -Property @{ Name = "$Icon$Name" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
ListDir $Directory | format-wide -autoSize
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-drives.ps1
|
|
||||||
.DESCRIPTION lists all drives connected to the computer
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
get-PSDrive -PSProvider FileSystem
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNTAX list-earthquakes.ps1
|
|
||||||
.DESCRIPTION lists earthquakes with magnitude >= 6.0 for the last 30 days
|
|
||||||
.LINK https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
$Format="csv" # csv, geojson, kml, text, xml
|
|
||||||
$MinMagnitude=6.0
|
|
||||||
$OrderBy="time" # time, time-asc, magnitude, magnitude-asc
|
|
||||||
|
|
||||||
try {
|
|
||||||
write-progress "Querying earthquakes for the last 30 days ..."
|
|
||||||
(Invoke-WebRequest -Uri "https://earthquake.usgs.gov/fdsnws/event/1/query?format=$Format&minmagnitude=$MinMagnitude&orderby=$OrderBy" -UserAgent "curl" ).Content
|
|
||||||
exit 0
|
|
||||||
} catch {
|
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user