Is it very useful to run simple checks to validate the user environment, especially when checking if the context while user is working is aligned with out expectations or requirements. But is not always easy to get a simple information such as if the current user is a local admin or not.
It’s very easy to check it from the user interface, but I found that can be important to gather that information with powershell without running as an administrator.
PowerShell Security Policies (Types and Scopes)
I like to keep it simple, but I think that “secure-by-default” description of PowerShell is telling the story wrong, like saying that powershell is just a glorified command prompt or a modern replacement for VB Script. It not setting the right context and showing which goal we want to reach.
Continue reading “PowerShell Security Policies (Types and Scopes)”
youtube-dl What A Great Tool Written In Python
I absolutely love music in every shape or form and YouTube is an endless source of new inspiration for me. Few months ago I wanted to transcribe some songs, but at that time I was travelling abroad and the internet connection wasn’t always available. Searching for a solution, I found this useful tool called youtube-dl.
Continue reading “youtube-dl What A Great Tool Written In Python”
Automation/CM with Package Managers: Chocolatey and Homebrew
Every mobile device has a store app that installs, removes and updates software according to the user demand. Windows and MacOS have their store too for almost a decade. The idea of using a package manager is derived from Linux OS, dpkg almost 25 years ago, but the first one that I’ve used was apt in back in 2000. Apt was not just a installing the package request from the repository but more importantly took care of the dependencies, in short made my life extremely easier in when Open Source was spreading and becoming popular.
Continue reading “Automation/CM with Package Managers: Chocolatey and Homebrew”