Open PowerShell in the target directory. Normally, you can open PowerShell in current directory by holding shift and right-clicking the context menu Open PowerShell Here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You need the terminal color codes. For linux it's the following (your system might be different, look it up): | |
//the following are UBUNTU/LINUX, and MacOS ONLY terminal color codes. | |
#define RESET "\033[0m" | |
#define BLACK "\033[30m" /* Black */ | |
#define RED "\033[31m" /* Red */ | |
#define GREEN "\033[32m" /* Green */ | |
#define YELLOW "\033[33m" /* Yellow */ | |
#define BLUE "\033[34m" /* Blue */ | |
#define MAGENTA "\033[35m" /* Magenta */ |
ZSH, also called the Z shell, is an extended version of the Bourne Shell (sh), with plenty of new features, and support for plugins and themes.
This is a framework for zsh
Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
# PS : ChatGPT makes mistakes, consider "trust but verify" principle | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
#Events to Monitor | |
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/appendix-l--events-to-monitor | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
#run | |
eventvwr.msc Event viewer | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Event Viewer(Local)-Windows Logs (shutdown / restart ) |