[Solved] NIC error modern UI – Windows cannot access …

NIC error modern UI – Windows cannot access specified device, path, or file. You may not have the appropriate permissions to access the item. Solution: In an elevated command prompt, run gpedit.msc Go to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options Open “User Account Control: Admin Approval Mode…

Automate set up of first Active Directory DC with powershell

In my lab, I often have the need to quickly set up various servers from scratch. One type of server is an Active Directory Domain Controller. So I slapped together a simple script to completely automate (light touch) the process of setting up a complete AD DC in a new forest. I also did the…

What to memorize

Albert Einstein is claimed to once have said that he keeps nothing in his mind that can be easily retrieved from paper – or looked up. As far as I’m concerned, you should not memorize most things but instead memorize where and how to quickly find the required information and how to use it. Also,…

Get Network card driver version remotely

 

Share folder with PowerShell

 

Start SCCM WSUS IIS pool with PowerShell

Some times the WSUS server on SCCM can stop. If the WSUSPool in IIS Application pools is stopped, WSUS will not function and SCCM will not update any clients. In anticipation of further troubleshooting, here is a workaround script to check the Application Pool and start it if it is not running. This script can…

Get Dell ambient temperature in powershell

 

Fun tip about powershell. You can pipe to the clipboard

 

Get last logged on user with PowerShell

 

 

Find SMTP addresses using ActiveDirectory module in PowerShell

 

How to get server core to always start with powershell on login

::server core always start with powershell ::in cmd type:

#After entering powershell, type (or if lazy = ‘copy’ + ‘paste’)

Now you will automatically have powershell open as the shell at logon.

System Center Virtual Machine Manager build numbers

For those of you who are looking for System Center Virtual Machine Manager build numbers, there is a great wiki article on technet about this. https://social.technet.microsoft.com/wiki/contents/articles/15361.system-center-virtual-machine-manager-list-of-build-numbers.aspx

Set up fullscreen video on linux in Hyper-V

I don’t know about you, but i find myself sometimes wanting to run linux GUI desktop as a VM in Hyper-V. By default, the screen resolution is horrifying. So, I always change it so i can get at least a 1920×1080 resolution. To do that I enter the VM from the Hyper-V console, open up…

Set custom property on all guests in VMM

In my lab I have several types of storage for my guests, like 7K over SMB3, SSD over SMB3 or local storage. I thought it would be nice to see which storage my guests were on right there in the VMM console, so i created custom property and made myself a simple little powershell function…

VMM UR12 may break the ability to set VLAN on VMs

I had a strange issue today. In my lab, I have a hyper-v 2012 R2 cluster with VMM 2012 R2 that i use as a dev/test environment. Among other things, i let this rig take in all patches and what not before doing anything with production systems. I recently updated the VMM 2012 R2 server…

Enable remote desktop using Powershell

Education. What is it all about?

It’s not about what degree you have. It’s not about where, or if, you went to college. It’s not about how many years of formal schooling you have. It’s not about what certifications you have. All that matters is this: What knowledge you have acquired and continue to acquire for as long as you live.…

Simple patch script

Recently i needed a quick way to automate patching and rebooting of servers in our data-center. We felt that just using standard WSUS with GPOs was to fuzzy and not specific enough regarding reporting after patching had completed. I could have set up our event log collection servers to alert any errors post-reboot, or i…

Having fun cleaning up Hyper-V checkpoints

I was cleaning up some checkpoints in my home data-center lab today, and started tinkering with a script to automate the task. I put together a couple of short “script-lets” i can put in my task scheduler.

The cloud

Up until a few years ago, the cloud was, to quote Wikipedia, “a visible mass of liquid droplets or frozen crystals made of water or various chemicals suspended in the atmosphere above the surface of a planetary body.” But lately, like so many other words or phrases, the cloud has a completely different meaning to…