New
#120
Got it, I didn't do the Set-Location. Added that and it works perfectly now. They both now wend up at
PS C:\Users\rrkurtz\PowerShellScripts>
I don't want them stored on OneDrive yet. Maybe in the future.
Got it, I didn't do the Set-Location. Added that and it works perfectly now. They both now wend up at
PS C:\Users\rrkurtz\PowerShellScripts>
I don't want them stored on OneDrive yet. Maybe in the future.
When it works with ISE and if you want the same to done to normal PowerShell, just copy the Microsoft.PowerShellISE_profile.ps1 file to same folder, rename the copy to Microsoft.PowerShell_profile.ps1 (same name without ISE).
Love it, many thanks Keri.
Now something for you to think about. Can Powershell communicate with windbg? If so I can see ways to automate a lot more of the basic debugging for BSODs in Windows.
First, did you notice that the profile will be used also when you open PS session in Command Prompt:Here some reading about PS and WinDBG:
Oh wow!!!!! You're like the magic Genie of the Lamp Kari.
Looks like I have a lot of reading and playing ahead of me.
Thanks again.
Sadly everything I am able to find about PS & WinDBG is quite old. All those links I posted are from 2007.
I hope to spend some time today to see if I can get it working. I'll post back with results.
Should there not be some kind of UI for this just the way various Linux package managers do?
Hello!
I am following the video guides for creating Windows 10 images and ran into a small issue using the powershell commands in part 1 -> Windows 10 Install Image - Part 1: Customize Image in Audit Mode - YouTube
I created the example VM and set everything up as the video shows then tried to install the software automatically as shown in the video. I ran into a couple of issues.
First off... I will say that I am using Windows 10 build 14393, that is the version of the media I downloaded from Microsoft today (Jan 5, 2017.)
I had no issue getting the Chocolatey provider. The next step says to run this command:
Install-Package Paint.net, Opera, GoogleChrome, Firefox, vlc, 7zip, Notepadplusplus, Malwarebytes, Teamviewer, Steam, Rufus.install, Skype -Force
When I tried running that command, I immediately got an error indicating that too many packages '73' were listed, the max number of packages was '63'. I still don't know what that means, but I assume it meant the command was too long. So I truncated it down by removing the last two entries and ran this command instead:
Install-Package Paint.net, Opera, GoogleChrome, Firefox, vlc, 7zip, Notepadplusplus, Malwarebytes, Teamviewer, Steam -Force
This seemed to work. It installed 10 packages, versus 12 that the video showed. About half way through installing (after displaying package firefox was installed) I received another error saying that a required file was not found. I noticed that it had completed software installation up through firefox, so I again truncated the command to only install the packages that it failed to install on the first run.
Install-Package vlc, 7zip, Notepadplusplus, Malwarebytes, Teamviewer, Steam, Rufus.install, Skype -Force
The command executed with no issues. So then I ran the command with the last two packages I omitted when I encountered my first error.
Install-Package Rufus.install, Skype -Force
This command also executed without issue.
However, I noticed some things were different when I went to verify software was installed.
These applications seemed to install correctly:
Paint.net
Opera
7zip
Notepad++
Malwarebytes
Teamviewer
Steam
These applications are no where to be found, and also do not show up in Program and Features as installed programs:
Google Chrome
Firefox
vlc
Rufus
I tried to run the command, with just the packages that were missing in powershell. It displays that the command executed properly, but I still don't see these programs as being installed in my VM.
Is there something I am missing? I planned on reading through the entire powershell tutorial in the next couple of days but thought it might be a simple error I'm overlooking.
Thank you in advance,
Ron