top of page

OUR PRECONDITIONS

  • The old network infrastructure, referred to as OldNet:
    Doesn’t support 802.1x.
    Two domains on different VLAN’s with a one way trust, referred to as Enterprise and Educational.
    The two domains have their own network infrastructure, different IP Helpers, DNS, DHCP and so on.

  • The new infrastructure, referred to as NewNet:
    802.1x is required using CISCO ISE and Layer 3 switches.
    Only one fallback net with its own IP range, common for both domains, which also supports WebAuth guest access.
    The two domains still have their own IP range, DHCP, DNS etc. but will use the same PXE-server since PXE boot is taking place on the fallback network.

  • Both the old and the new network infrastructure will be used to deploy Windows 10 x64 and Windows 7 x86.

  • MAB will not be used during OSD, the network team don’t want to spread a special OSD VLAN so clients will get an IP address according to its current location and only certificate-based authentication is allowed.

  • The task sequence needs to support both the new computer and refresh scenario as well as BIOS to UEFI conversion regardless of the currently installed operating system.
    The scripts used for managing 802.1x needs to support Windows 7 and its PowerShell version.

Search
  • Writer's picturesomeguy100

The resolution of getting the current resolution?

While creating SetBackground it became very clear to me that getting the (real) monitor resolution as well as the scale wasn’t a walk in the park. Especially if any of them changes after execution of the code. Said it before and will do it again; I’m no programmer so there might be ways that I’m unaware of but me and google are speaking the same kind of language so if there are, those are hard to find. ;) Learning, adapting and evolving is, apart from my family, the one main thing that makes me want to get up and work in the morning. That is however also the thing that might postpone the release of something that works just because that I want to make it better.

And that is what happened here :P

I found a way of making an iteration of a powershell object’s properties to return dynamic values but not a way to add nor remove an entire object from the iteration.

For now, here is “Get-Monitors”.



I got working samples of changing the resolution and scale for each monitor using powershell/CSharp, but that needs tuning… Those I might release if there’s enough interest.





161 views0 comments
bottom of page