This script takes an IP address in CIDR format (192.168.33.55/24) and will return the Subnet ID, First Host IP Address, Last Host IP Address, and the Broadcast Address. It does require the ConvertTo-CmnIpAddress, and New-CmnLogEntry functions. All can be found on the Github site.
Converting 32 bit binary number to an IP address
This script will convert a 32-bit number into an IP address. This script is usually used by other TCP/IP scripts, not necessarily directly. This script also requires New-CmnLogEntry
Converting to CIDR address
This script takes a standard IP address/Subnet Mask input in dotted decimal notation and returns the equivalent CIDR address. So, 192.168.25.33 255.255.255.0 returns 192.168.25.33/24. It validates input and verifies the subnet mask is valid. This script requires New-CmnLogEntry. These scripts can be found in my GitHub repository.
Changing it up
OK, obviously I’m not too good at posting on a regular basis… Sorry about that. Some things have changes since my last post, I’ve got a new job and am doing much more than just SCCM, so we’ll see some new scripts going up. I’ve also switched from BitBucket to GitHub. I’m going to try … Read more
Module Rewrite, the beginning
We’ve worked very hard to automate our environment where I work. As a part of that I’ve wrote a lot of PowerShell functions to perform various actions. I even went so far as to put together a module.
Script to copy Client Settings between sites
Copy Site Settings between sites
This post is for a coworker of mine, Daniel. He’s a smart cookie I work with and has a great blog, PotentEngineer. Here ya go my friend!
Couldn’t verify ‘C:\WINDOWS\ccmsetup\ccmsetup.cab’ authenticode signature. Return code 0x800b0109
The problem:
Couldn’t verify ‘C:\WINDOWS\ccmsetup\ccmsetup.cab’ authenticode signature. Return code 0x800b0109 in CCMSetup.log
We had some client’s having install issues this week, they were getting ‘Couldn’t verify authenticode signature’ entry in their ccmsetup.log:
Speeding up testing of deployments
Here are some tips on speeding up testing of deployments. Although I’ll be demonstrating creating a package, the same information will apply to applications and updates. In order to move things along, it helps to understand what is going on in the background, so we will focusing on that. I will assume you already have an understanding of creating packages and will not go into much detail there.
Set Maintenance Windows for Software Updates
For the last two years, we’ve just had workstations in our SCCM environment, and now we are starting to bring in the servers. The server teams have a patching schedule and there are quite a few of them. They also change every month, they always relative to Patch Tuesday and have different reboot times. As … Read more
Remove Unreferenced packages from Distribution Points
The story Our distribution points were getting pretty full, and I wanted to see if I could clean them up before requesting more disk space. I wanted to go out and make sure we remove any packages that were on our DP’s and DP Groups that were not referenced by a task sequence or had … Read more