Windows · Developer Tools
Chocolatey Fast Answers Extension
Chocolatey Fast Answers Extension is a (fairly) easy to remember collection of micro functions for package creators/maintainers.
Version 0.0.2.2 · by Bill Curran
Official site: github.com
About Chocolatey Fast Answers Extension
# **Chocolatey Fast Answers Extension** is a Chocolatey extension for use as a dependency by package maintainers.
# PURPOSE:
To provide (fairly) easy to remember micro functions for (new?) package creators/maintainers to get short fast answers to common decision tree questions that come up during package creation. The majority of functions return True/False. None of the functions are complex and most rely on WMI. By using this Chocolatey extension you can easily script situations such as aborting an install for a package/program that doesn't work on servers by checking first using Get-IsWinServer or conversely Get-IsWinWorkstation. Maybe you have a package that needs to make sure there is not a pending reboot and you can check using Get-PendingReboot and error out with a message explaining to reboot and try again. Maybe you have a package that only runs on Windows 10 and Windows Server 2016, you can easy check at the beginning of your script using Get-IsWin10 or Get-IsWinServer2016.
...and yes, nobody will probably use Get-IsSSD except me for some non-Chocolatey scripts! :)
(Though IMHO defrag packages should abort if a SSD is found and warn that it's not recommended to defrag a SSD.)
The use cases go on...
# FUNCTIONS:

Screenshot testing all functions with simple test-package install script that does: $test=function and Write-Out function result for each function. Results from the functions show that the test package was run on a computer with Microsoft Windows 10 Pro build 16299 64bit, joined to a domain, (onboard) Intel video, (discreet) Nvidia video, has a SSD, is a workstation not a server, and is pending a reboot.

**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/chocolatey-fastanswers.extension_extras/readme.md)**.
How to install Chocolatey Fast Answers Extension
- Click Download — the developer's official website opens in a new tab.
- Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
- Prefer the command line? With Chocolatey you can install and update it with: choco install chocolatey-fast-answers-extension
- Open Chocolatey Fast Answers Extension once it finishes installing.
Frequently asked questions
Is Chocolatey Fast Answers Extension free to download?
Yes. The Download button sends you to github.com, the developer's official site, where Chocolatey Fast Answers Extension is available to download. Grabware doesn't host or modify any files.
What is the latest version of Chocolatey Fast Answers Extension?
The version listed here is 0.0.2.2, published /Date(1682. The developer's site always has the newest release.
How do I install Chocolatey Fast Answers Extension from the command line?
With Chocolatey, run: choco install chocolatey-fast-answers-extension. This installs it from the official source and keeps it updated.
Is Chocolatey Fast Answers Extension safe?
Chocolatey Fast Answers Extension downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.
Alternatives to Chocolatey Fast Answers Extension
More
March 2014 servicing stack update for Windows 8.1 and Windows Server 2012 R2 (KB2919442)The update fixes some issues in the servicing stack of Windows 8.1 and Windows Server 2012 R2.Chocolatey Compatibility ExtensionExtension package to provide compatibility with older versions of Chocolatey
Update for Universal C Runtime in Windows (KB2999226)Update for Universal C Runtime (CRT) in Windows. Before you install this update, check out the prerequisites section.