-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More Basic Guidance #1218
Comments
@Flyslinger2 - When you manually downloaded the modules that PowerSTIG requires, did you by chance download the exact version numbers listed in the manifest file? |
Yes. My findings are during the manual installation some modules do not get installed in the properly named folder: 2.12.0 for PSDscResources instead of 2.12.0.0 When you issue the command import-module PowerSTIG it will error out on the sub-Module that got install incorrectly. Manually navigate to that folder C:\Program Files\WindowsPowerShell\Modules<Module Name> and correct the sub-folder name based on the version number of the file. I found that all incorrectly installed modules were missing .0 on the version subfolder. |
I know PowerShell reasonably well. I know the IA process reasonably well. I need to automate a new environment that I inherited for STIGs. I'd much prefer to do it through PS.
I've spent the biggest part of a day reading through this and I'm more lost now than when I was BEFORE reading this.
My environment is totally air-gapped. I have to d/l everything to an internet facing computer and then sneaker net via encrypted disc to the other network.
I downloaded PowerSTIG and all of it's dependencies manually. I didn't see a list detailing if the dependencies had to be imported in a particular order. Last module I import is PowerSTIG itself. It gives me an error that a dependency (ComputerManagmentDSC) is missing.
$env:psmodulepath gives:
I can't get beyond the install.
The text was updated successfully, but these errors were encountered: