Overview of MCP Protocol Integration with AI Capabilities Understanding MCP Protocol The MCP protocol, which stands for Multi-Channel Protocol, is a powerful framework designed to facilitate enhanced communication among various software agents and systems. This protocol allows different artificial intelligence systems to interface and share information seamlessly, enhancing the overall interactivity and responsiveness of AI applications. […]
All posts by dorel oprisan
Find LastLogon date on a server for all local and domain users
Setup: A Windows server member of a domain or workgroup Problem: You need LastLogon date for all the users who ever logged in on that server. Solution: Open PowerShell console and run this script:
Copy claim rules from one Relying Party to another in ADFS 2.0
Setup: Existing ADFS 2.0 installation Problem: You create a new Relying Party Trust and want to copy all the claim rules from existing Relying Party Solution: Open Power Shell console and run this code After that issue the folowing command: Tips: Run this command to find out all RP names:
Query HP server Storage Array details remotely via WMI and WBEM
Setup: A HP server with Windows OS and WMI enabled. Latest WBEM drivers installed. Problem: You want to query server details regarding the Storage Array Controller and disks installed. Solution: Run this PowerShell script from a remote computer.
Get system information from WMI remotely with PowerShell script
Setup: Remote computer with WMI enabled and firewall open Problem: You want to collect various information remotely Solution: Copy this script and save it on the disk with .ps1 extension. eg. Get-ComputerDetails.ps1 Open PowerShell console and execute the script. Tip 1: For unattended execution save the credentials on the disk and load them at run-time. […]
Update/Replace the certificate of Trusted Identity Provider in SharePoint 2010/2013
Setup: You have a SharePoint farm with web applications configured to use a Trusted Identity Provider aka. ADFS 2.0 Problem: The signing certificate of Trusted Identity Provider expired and you need to change it. Solution: Run these commands in SharePoint Shell on SharePoint server: Note. Replace ADFS from ?{$_.name -match “ADFS“} with the name of […]
Add new realm to existing trusted identity provider in SharePoint 2010/2013
Setup: You have a SharePoint farm with an web application configured to use ADFS 2.0 for authentication via Trusted Identity Provider. Problem: You want to add another web application to this SharePoint farm and configure the authentication via ADFS Solution: Open SharePoint PowerShell and issue the following commands: where appname is the alias of your […]
Get all VMs with .ISO mount as DVD on SCVMM 2012
Setup: SCVMM 2012 (System Center Virtual Machine Manager 2012 ) installed Problem: You have a SCVMM 2012 server and you want to list all VMs with .ISO files mounted as DVD into VM Solution: Run this PowerShell command:
Reset MYSQL root password on Linux
Setup: MYSQL server running on Linux Problem: root account password is lost. You need a method to reset the password and login. Solution: Stop MySQL On Debian or Ubuntu or on CentOS, Fedora, and RHEL: Next we need to start MySQL in safe mode. You should be loged in as root now, as we skipped […]
Add BUILTIN\Administrators group in SQL and add sysadmin role
Setup: SQL 2008, SQL 2008 R2 or SQL 2012 fresh install Problem: After default installation of SQL, the BUILTIN\Administrators group is not granted any permissions on SQL Solution: Open the SQL Management Studio and run the following commands: