Alex Chaika wrote a new post, Reading Azure VM name, IP address, and hostname with PowerShell 5 years, 6 months ago
In this post, you will learn how to create a report to retrieve the virtual machine (VM) name, the IP address, and the guest OS hostname of every Azure VM using PowerShell. I’ll explain how to do this for Azure classic and Azure Resource Manager (ARM).
I just ran it on the Win 2016 server and it worked.
And as you said it worked on on another server for you as well.
So, its probably that particular server issue. I’ve seen similar behavior once, except that in my case I haven’t been able to install updates at all. It was Windows 2016 RTM fresh install. So I ended up with downloading and installing manually following update:
http://www.catalog.update.microsoft.com/Search.aspx?q=kb4015217
After that it started working.
I can’t say if it is your case or not, though.
If you are using self-signed certificate for your wsus server SSL please make sure that this certificate is added to the “Trusted Certificate Authorities” in the Certificates of the computer you’re running this script from.
If the certificate you are using is from trusted CA, make sure that CAs certificate(s) are trusted (exist in the Trusted Certificate Authorities of the computer you’re running this script from).
If report file is empty it means that the loop which gets the updates info doesn’t do its job. So’ Id check that updates with KB numbers assigned to the arrays in the lines 35, 36, 37 are downloaded to WSUS and approved.
If report file is empty it means that the loop which gets the updates info doesn’t do its job. So’ Id check that updates with KB numbers assigned to the arrays in the lines 35, 36, 37 are downloaded to WSUS and approved.
If report file is empty it mean that the loop which gets the updates info doesn’t do its job. So’ Id check that updates with KB numbers assigned to the arrays in the lines 35, 36, 37 are downloaded to WSUS and approved.
Could you paste the text of the error you’re getting here?
Alex Chaika wrote a new post, Disable SSL and TLS 1.0/1.1 on IIS with PowerShell 5 years, 7 months ago
The PowerShell script discussed in this post allows you to disable and enable SSL and TLS on IIS. You probably know that SSL 3.0, TLS 1.0, and TLS 1.1 are weak protocols. The general recommendation is to work only with TLS 1.2. However, sometimes this causes compatibility issues. Thus, it is useful if you can enable the protocols again quickly if problems come up.
Alex Chaika liked comment of James on Install and schedule Windows updates with PowerShell. (So far, James has 2 likes for this comment.) 5 years, 7 months ago
Good point!
I just tested it using JEA configuration and it worked great!
Thank you!
Alex Chaika wrote a new post, Create a certificate request with PowerShell 5 years, 7 months ago
In this article, I’m going to show how creating a certificate request for a third-party certification authority can be automated with PowerShell.
You either need to run it on the WSUS server or on the server which has WSUS management console installed.
Alex Chaika wrote a new post, Removing orphaned VHD files in Azure with PowerShell 5 years, 7 months ago
Orphaned VHD files in Azure are a common problem and can cause substantial costs over time. The PowerShell script introduced in this post allows the removal of orphaned VHDs in Azure.
No it doesn’t. Azure ARM handles VMs a bit differently, this script works only for classic Azure VMs.
Alex Chaika wrote a new post, WSUS reporting with PowerShell 5 years, 8 months ago
If you quickly want to find out if a particular update has been installed on all of your machines, the built-in reporting of Windows Server Update Services (WSUS) is not really helpful. However, you can use PowerShell to create a WSUS update report.
Check if you are running your PowerShell session on behalf of administrator (Run as administrator). The error you are getting might suggest that the user running this script doesn’t have enough permissions.
Alex Chaika wrote a new post, Create Word macros with PowerShell 5 years, 8 months ago
Not long ago I explained how to work with Microsoft Excel spreadsheets using PowerShell. Today, I’ll show you how you can easily use PowerShell as a “macro language” to create and modify Word documents.
Alex Chaika wrote a new post, Excel macros with PowerShell 5 years, 9 months ago
Almost everything you can do in the Microsoft Excel GUI can be done with PowerShell. Thus, you can use essentially use PowerShell to write Excel “macros.”
Alex Chaika wrote a new post, Create a PowerShell DSC resource with the xDSCResourceDesigner module 5 years, 9 months ago
- Load More