Windows Server 2016 TP5 which appeared at the end of April has a major flaw. It doesn’t work with wireless cards! I use a relatively high-spec laptop as my lab machine. Not being able to get the wireless card working means no Internet access and makes activation a lot more difficult. The June […]
Archive for June, 2016
Wireless on Windows 2016 TP5
Posted by: richardsiddaway | June 30, 2016 Comments Off on Wireless on Windows 2016 TP5 |Cleaning up entries on Remote Desktop Connection
Posted by: richardsiddaway | June 29, 2016 Comments Off on Cleaning up entries on Remote Desktop Connection |I use RDP between my main laptop and the machine on which my lab resides. When I rebuild the lab the entries in the Remote Desktop Connection for the old machine still remain. There isn’t a direct way to remove those entries. But you can remove them from the registry. First view the […]
Boolean in Where-Object filter
Posted by: richardsiddaway | June 29, 2016 Comments Off on Boolean in Where-Object filter |I was testing some code yesterday and realised there was a quirk in the way the original where syntax (with {}) worked and the way the newer syntax worked. To demonstrate this I created a set of objects $i = 0 $tests = while ($i -lt 25){ New-Object -TypeName PSObject -Property @{ […]
Still asking for topics
Posted by: richardsiddaway | June 28, 2016 Comments Off on Still asking for topics |Earlier in the month I posted a request for topics on powershell.org https://powershell.org/request-for-topics/ This is a request for YOU to tell us what topics you would like to see at the next PowerShell & DevOps Summit We’ve had a handful of replies so far. This is your chance to influence the content […]
PowerShell Summit & Conference videos 2016
Posted by: richardsiddaway | June 27, 2016 Comments Off on PowerShell Summit & Conference videos 2016 |If you didn’t get to any of these conferences this year the videos are now available. PowerShell and DevOps Summit https://www.youtube.com/playlist?list=PLfeA8kIs7Coc1Jn5hC4e_XgbFUaS5jY2i European PowerShell Conference https://www.youtube.com/channel/UCxgrI58XiKnDDByjhRJs5fg You might find this interesting as well. WinOps conference https://www.youtube.com/channel/UCP1OgsLk-HkEdQyhjJX_5JQ
Too many Windows 10 releases????????
Posted by: richardsiddaway | June 26, 2016 Comments Off on Too many Windows 10 releases???????? |The last couple of days have seen some incredibly stupid headlines but one that caught my eye was someone from the “computer press” whining that there are too many releases of Windows 10. Unbelievable What part of the Windows Insider Preview program does this person not understand? You have to sign up […]
Parallel processing
Posted by: richardsiddaway | June 25, 2016 Comments Off on Parallel processing |One of the great features PowerShell brings is the ability to remotely administer your servers. Most people begin remote administration by processing the servers sequentially. Eventually, this process breaks down because you have too many servers and/or the processes you are running against each server are long running. At this point you have to […]
It would be nice to be able to do this: PS> Get-Date -Day 25 -Month December -Year 2016 Get-Date : Cannot bind parameter ‘Month’. Cannot convert value "December" to type "System.Int32". Error: "Input string was not in a correct format." At line:1 char:25 + Get-Date -Day 25 -Month December -Year 2016 + ~~~~~~~~ + […]
WMI classes and Storage cmdlets
Posted by: richardsiddaway | June 11, 2016 Comments Off on WMI classes and Storage cmdlets |There is a hierarchy of objects to work through when dealing with disks First you have the physical disk PS> Get-CimInstance -ClassName Win32_DiskDrive | fl Partitions : 5 DeviceID : \\.\PHYSICALDRIVE0 Model : HFS256G3AMNB-2200A Size : 256052966400 Caption : HFS256G3AMNB-2200A A physical disk can have 1 or more partitions: PS> Get-CimInstance -ClassName Win32_DiskPartition | […]
A common mistake with WMI/CIM filters is: PS> Get-WmiObject -Class Win32_LogicalDisk -Filter "DeviceId=C:" Get-WmiObject : Invalid query "select * from Win32_LogicalDisk where DeviceId=C:" At line:1 char:1 + Get-WmiObject -Class Win32_LogicalDisk -Filter "DeviceId=C:" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Get-WmiObject], ManagementException + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCo mmand The clue is in the […]
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS