Disable-PnpDevice “ACPI\NTN0530\0” -Confirm:$false
Archive for the ‘Powershell’ Category
Nuvoton SIO CIR Device Driver
Saturday, June 23rd, 2018Winmail.dat – exchange 2010 MailContact
Thursday, May 17th, 2018Set-MailContact -UseMapiRichTextFormat:Never
Loop 3 times times – Powershell
Wednesday, April 19th, 2017
1 2 3 4 |
for ($i=1; $i -le "3"; $i++) { "Loop" } |
Wait for a Service to reach a specified status
Sunday, November 24th, 2013
1 2 3 4 5 6 7 |
$svc = Get-Service W3SVC while($svc.State -ne 'Stopped') { Start-Sleep -Seconds 1 } ... do your thing here... |
remove all network printers
Wednesday, March 13th, 2013Get-WMIObject Win32_Printer | where{$_.Network -eq ‘true’} | foreach{$_.delete()}
Configuring NIC Teaming in Powershell on Windows Server 2012 – Powershell
Friday, February 15th, 2013The first thing you’ll need to do is see what network adapters you currently have setup.
Type: “Get-NetAdapter” to get the list of network interfaces.
Now with this information we can create the NIC team.
Type: “New-NetlbfoTeam” to start the creation process.
You will be asked for the “TeamMembers” that will be apart of the NIC team one by one. Enter the NIC names i.e. “Ethernet” then hit enter. When there are no more team members to add just hit enter while the current “TeamMember” prompt is empty.
You will be asked to confirm the information and once you hit “Enter” or type “Y”