Category: Windows
-
My WSL/BASH setup
Not sure if this a “Bootstrap” or not, but I wanted to have my WSL/Bash home directory match my windows home directory. This is the code that I use when I setup a new WSL/BASH instance. This will find your home directory via PowerShell and put it in a variable “$WINHOME”. Then I make make…
-
Windows 10 PinToTaskbar does not work
More Windows 10 fun. Trying to get a nice customized image for deployment. In the past I have used the verb “taskbarpin” and a RunOnce script to put icons on the users Task Bar. For example: Well, with the current build/set of patches, it no longer works. That was a waste of a day! Here…
-
Windows 10 ignores Internet Explorer when using Import-Startlayout
More Windows 10 inconsistencies. Clearly, I have Internet Explorer in my start screen layout xml (Line 10): And when I log in for the first time, I.E. isn’t in the start menu. Others are having this issue too!
-
Using PowerShell to unpin the AppStore in Windows 10 – Workaround
I can’t find a way to unpin the AppStore in Windows 10. So I wen’t about it another way. I reset the taskbar to have nothing and then I added everything back that I wanted. I am using this in my OSD/RunOnce PowerShell script to customize the user’s desktop. First of all I am using…
-
Re-imaging a machine, with SCCM 2012 fails with error 0x80070570
I have been working on building a new Windows 10 image. I was testing on a laptop and all of the sudden the OSD Task Sequence started failing, before anything even started! I had only made a minor change to the TaskSequence, so I was pulling my hair out. If you are impatient like me,…
-
Quick PowerShell script to check DNS settings on all servers
I wanted to decommission some old Domain Controllers. I needed to make sure that other servers weren’t pointing to theses old DCs for DNS. I wrote this quick PowerShell script to loop through all servers and get their DNS search order. Hope that helps some one, or me when we moce to the next version…
-
Quick PowerShell script to “tail -f” dhcp logs
When I am working in Linux, I like to leave a log open with “tail -f”, so I can see the results of some test I am performing. The other day I wanted to see when a new machine joined the network, so I could give it a static DHCP lease. Usually I connect to…
-
Useful PowerShell Get-HotFix commands
I can never remember these, and now that I have posted them, I don’t have to! I will add more as I need them:
-
Coolest thing I have found in server 2012 – Management OData IIS Extensions
Am I interpreting Management OData IIS Extensions correctly? This means I can write an iOS app to run my custom enterprise PowerShell scripts? Now I can justify iOS dev training! Cool.
-
Windows Server 2012 can mount ISOs
About time.
