PowerShell: Test-CurrentUserIsLocalAdmin

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.

Continue reading “PowerShell: Test-CurrentUserIsLocalAdmin”

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”