Get Last Update Installed
Hello, It's possible to get last update install date using powershell?
![](https://techprofile.blob.core.windows.net/images/zCxR1gzTUkeGX5-wM6PGoA.png?8DB52A)
![](https://techprofile.blob.core.windows.net/images/pxpvXcfHUkGs_31NHERBiA.png?8D83C7)
Windows update agent api - Access denied on AddScanPackageService
Hi Together Could someone help me in this matter... I am trying to run following script block on remote system to get updates needed and getting access denied on following line: " $UpdateServiceManager.AddScanPackageService("Offline Sync…
Assistance Needed: GPO for DNS Suffix Registration Not Applying
Hello, We are working on creating a Group Policy to automatically enable the option "Use this connection's DNS suffix in DNS registration" when users log in to their domain accounts. We have created the GPO for this setting and tested it on one…
Powershell to reset AAD user password
Dear Experts, Recently, I’m trying to use PowerShell to reset new users' password online. The expected scenario is that the user will be given a one-time password, then login to office.com set up his MFA, and then he’s asked to change a new password. …
![](https://techprofile.blob.core.windows.net/images/72HU1RH-WEGeY0-fx2oe9g.png?8DBBA8)
![](https://techprofile.blob.core.windows.net/images/72HU1RH-WEGeY0-fx2oe9g.png?8DBBA8)
Logging the parameters of WMI Methods using WMI-Activity Trace logs
When logging WMI calls and queries via WMI-Activity Trace logs, I can see all the method invocations being logged, but not the method's parameters. As I'm looking to work around certain hardware/driver issues with my laptop, I absolutely must know what…
Unicode in Console App - C#
Hello, I wrote a program to show UTF-16 emojis in Console App. When I ran the console app in PS from windows terminal, I can see emojis. But If I ran the program in PS without a windows terminal, I can't see it. Please see: …
How do I extract the last part of a url using PowerShell?
I want get the last part of a URL, how do I get this done? How do I extract just 002-122 from this url https://mycompany.sharepoint.com/sites/Asite/002-122 with PowerShell?
Enabling Managed Folder Assistant Error
When trying to start managed folder assistant on a shared mailbox with online archiving enabled, I am getting an error in powershell: The call to Mailbox Assistants Service on server: 'DM6PR07MB4555.namprd07.prod.outlook.com' failed. Error from RPC…
Connect-ExchangeOnline: Write-ErrorMessage : Expired or Invalid pagination request. Default Expiry time is 00:30:00
I wrote a script a while back that gets the the UserPrincipalName, DisplayName, LastLogonTime, CreationTime, Inactive Days, MailboxType, AssignedLicenses, ItemCount, MB Size, and Roles from MSOnline and Exchange Online. It works fine on one server and my…
.exe files are not running in windows docker images
Hey There, I am trying to run the following Dockerfile to containerize the Netduino.exe file and would like to use it as a Gitlab runner. However, the .exe files are running in the following Docker Images. Not only Netduino.exe, other .exe files like…
How can I connect tables on Power BI online
Hello, Is there a way to connect tables in a model I created on power BI online? The tables are on an excel workbook on sharepoint, and the model has been done on on power bi online. Any idea how to make the connection between tables? Thank you!
![](https://techprofile.blob.core.windows.net/images/QxtuBtKPXkyIXZ8r8-5FTA.png?8DB0A7)
How can I send Outlook (Microsoft 365) meeting invitations from one email account to multiple email accounts using PowerShell?
I need your help to create a PowerShell script to send invitations to an Outlook (Microsoft 365) meeting from an email account user@domino to multiple email accounts (user1@domino, user2@domino...) through from PowerShell I hope you can help me.
![](https://techprofile.blob.core.windows.net/images/QxtuBtKPXkyIXZ8r8-5FTA.png?8DB0A7)
Disable WinRM PowerShell Remoting
Hi All I have a requirement to Disable or Harden PowerShell Remoting and WinRM Services. The impact what i see is one server cannot connect to another server using remote powershell scripts. Please also let me know what possible issues we can come across…
Powershell on Mac/Linux - New-PSSession to Exchange Server -> MI_RESULT_FAILED Error
How can the following error be resolved when trying to connect to an Exchange server via PowerShell from a Mac/Linux machine? (working fine from windows machine though) "New-PSSession: [<exchangeserver.domain>] Connecting to remote server…
Unable to install IIS on Server 2019 DC error 0x800f081f
I`m getting this error: I tried the following commands: Microsoft Windows [Version 10.0.17763.3650] (c) 2018 Microsoft Corporation. All rights reserved. C:\Users\Administrator.WIN-ONA542MGLKP>dism /online /enable-feature…
How to Delete Duplicate Documents / Files in sharepoint online?
There is too much duplicates files and documents in my company's sharepoint online. our company MS cloud space had reached its limit thus these duplicates files had to be delete to free up space. Thanks
How to add a Sql code to a powershell script
backup_report.txtI have the below sql script to check if any failover happened on the last 24 hrs and we want to use that in the existing powershell backup report script to check that condition before it reports, the below sql code only returns a…
Azure cli behind corporate proxy not working (SSL: WRONG_VERSION_NUMBER)
I have my C:\Users\xxxx\cacert-with-corp-proxy-cert.pem file updated with corporate ssl proxy certificate. To confirm that pem file updated properly and corporate proxy ssl certificates are valid I performed the check with python.exe (Microsoft…
Powershell - Cannot convert value to type "System.Int32"
Dear experts, I'm working on below script trying to replace the value of mailNickName with the prefix part of UPN value. It works great if we had EMPTY mailNickName field (where it showed <not set>). However, if there was value already existing in…
![](https://techprofile.blob.core.windows.net/images/72HU1RH-WEGeY0-fx2oe9g.png?8DBBA8)
Enable and Disable WinRM
Hi, For security reasons, our company wants to disable the WinRM service, but we don't know the impact of disabling it on the production platform. So we thought about the ability to disable the service and re-enable it automatically via GPO as needed…
![](https://techprofile.blob.core.windows.net/images/JkbK_jWKWU6ApeRyuK734A.png?8DA8FF)