Month: September 2024
ERROR: ld.so: object ‘/tools/matlab/R2023bU1/bin/glnxa64/glibc-2.17_shim.so’ from LD_PRELOAD cannot be preloaded: ignored.
I experience this error when using HDL Verifier on a Linux machine (RedHat 7)
ERROR: ld.so: object ‘/tools/matlab/R2023bU1/bin/glnxa64/glibc-2.17_shim.so’ from LD_PRELOAD cannot be preloaded: ignored.
Do you know how I can overcome this issue?I experience this error when using HDL Verifier on a Linux machine (RedHat 7)
ERROR: ld.so: object ‘/tools/matlab/R2023bU1/bin/glnxa64/glibc-2.17_shim.so’ from LD_PRELOAD cannot be preloaded: ignored.
Do you know how I can overcome this issue? I experience this error when using HDL Verifier on a Linux machine (RedHat 7)
ERROR: ld.so: object ‘/tools/matlab/R2023bU1/bin/glnxa64/glibc-2.17_shim.so’ from LD_PRELOAD cannot be preloaded: ignored.
Do you know how I can overcome this issue? hdlverifier, simulink, linux, redhat MATLAB Answers — New Questions
use results from filtered table
Hi,
I’m using a spreadsheet to monitor staff clock in and out hours across various properties. We use Bright HR, which allows us to export a csv for each week, from which I copy and paste the columns showing name, date, property where they were working, and the amount of hours for each week.
I have set the table up so I can filter via name. This will allow me to see each caretaker’s hours worked. I then need to be able to see if their total cumulative hours are above or below the set amount of hours we allocated for that property.
For example, If Duane works at property A, and Property A has 20 hours a week allocated to it, and Duane has done a cumulative 48 hours for that month, then I need to be able to see how many hours Duane is short, and how many hours he owes us.
This needs to be cumulative across the year, so I can just add the hours each week to my base table, and have a different sheet display the amount of hours along with the caretaker’s name, amount of hours done, how many hours should have been done, and any difference in those totals.
Any help would be appreciated!
Hi, I’m using a spreadsheet to monitor staff clock in and out hours across various properties. We use Bright HR, which allows us to export a csv for each week, from which I copy and paste the columns showing name, date, property where they were working, and the amount of hours for each week. I have set the table up so I can filter via name. This will allow me to see each caretaker’s hours worked. I then need to be able to see if their total cumulative hours are above or below the set amount of hours we allocated for that property. For example, If Duane works at property A, and Property A has 20 hours a week allocated to it, and Duane has done a cumulative 48 hours for that month, then I need to be able to see how many hours Duane is short, and how many hours he owes us. This needs to be cumulative across the year, so I can just add the hours each week to my base table, and have a different sheet display the amount of hours along with the caretaker’s name, amount of hours done, how many hours should have been done, and any difference in those totals. Any help would be appreciated! Read More
Learning Accelerators, Assignments generally available for Canvas and PowerSchool Schoology Learning
Today we are pleased to announce general availability of the Teams Assignments integration for Canvas and Schoology Learning! The Teams Assignments integration brings the power of Microsoft Learning Accelerators and generative AI educator tools to your LMS, along with other engaging activities such as Flip videos, Auto-graded Forms, MakeCode projects, Whiteboards, and Reflect check-ins. Grades and feedback are automatically returned to the LMS gradebook.
LMS admin resources for deployment:
Schoology Learning Admin Deployment Guide
NOTE: if you have already deployed the preview, you do not need to re-install – just keep enjoying the app!
Educator resources for readiness:
Using Microsoft Teams Assignments in Learning Management Systems
Readiness for Microsoft Learning Accelerators:
Support reading fluency practice with Reading Progress
Develop confident presenters with Speaker Progress
Develop search strategies with Search Coach and Search Progress
Support building mathematics skills with Math Progress
Build social and emotional skills in your classroom community with Reflect
Achieve More with Assignments in your LMS
The new Teams Assignments integration brings unique new capabilities into your LMS, saving educators time, and providing powerful tools to accelerate learning. For example, with Teams assignments you can:
Leverage AI during assignment creation to rapidly draft assignment descriptions and rubrics
Accelerate student learning and educator insights with Reading, Math, Search, and Speaker Progress assignments
Deliver auto-graded quizzes with Microsoft Forms
Access unique assignment types such as Microsoft Whiteboard, MakeCode, and Flip video
Use Reflect exit check-ins to gain insights into student sentiment related to assignments
Teams Assignments are seamlessly integrated with LMS assignments via the Learning Tools Interoperability® (LTI®) v1.3 Advantage standard. As an educator, you can create new Teams assignments or link existing Teams assignments in your LMS course. Once linked, you can view and access those assignments as you would any other assignment in the LMS course. Your students can view and access their Teams assignments in the same way as their other LMS assignments. Assignment grades in Teams are automatically imported into the LMS gradebook. You can now use the best that Teams assignments and your LMS offer working together, instead of working alongside each other.
Support for additional LMS platforms will be added soon. You can sign up here for information on current and future LMS integration previews.
Choose the Right Tool for the Right Assignment
Many educators are already using the OneDrive LTI® tool to bring M365 documents into LMS assignments. The new Teams Assignments LTI® tool is a complementary solution that brings unique capabilities of Teams for Education to LMS users. When creating an assignment in your LMS, you should choose the tool that best meets the needs of the specific assignment. Whatever the choice of tool, the assignment can be viewed and accessed like any other assignment in the LMS, and grades will be added into the LMS gradebook.
Teams Assignments LTI®
OneDrive LTI®
What is it best used for?
Learning Accelerators, Forms Quizzes, Whiteboard, MakeCode, Flip video, and other activities exclusive to Teams Assignments.
AI-assisted assignment and rubric creation.
Multiple Word, PowerPoint, Excel documents along with other activities can be required to be submitted by the student as part of a single assignment.
Embedding or linking M365 documents in course content, discussions, announcements, or other LMS content.
Collaborative editing of documents.
Assignments to be completed in Word, PowerPoint, or Excel and submitted for grading in the LMS.
Where are assignments graded?
In Microsoft Teams, with grades and feedback automatically syncing back to the LMS gradebook.
In the LMS, using the native LMS rubrics and gradebook.
Requires Microsoft Teams for Education?
Yes
No
How to get Help or give Feedback
For any issues deploying the integration, our Education Support team is here to help: Please contact https://aka.ms/EduSupport
Once deployed, the Teams Assignments integration has links to Contact Support and Send Feedback from right within the app. These can be found in the user voice menu in the upper right on any view that appears within the LMS.
Leverage Microsoft Education for more than Assignments in your LMS
The new Teams assignments integration is the latest advancement in our continued efforts to bring the full value of Microsoft Education to users of learning management systems. You can already use the capabilities of Microsoft Teams, OneDrive, OneNote Class Notebooks, Microsoft Reflect directly within LMS courses. You can learn more about these integrations with leaning management systems such as Blackboard Learn, Brightspace, Canvas, Schoology Learning and Moodle in our previous overview, and our support page.
Learning Tools Interoperability® (LTI®) is a trademark of the 1EdTech Consortium, Inc. (www.1edtech.org)
Microsoft Tech Community – Latest Blogs –Read More
Turbocharge your Microsoft Fabric with master data management
In this guest blog post, Simon Tuson, Senior Product Specialist, Product Innovation at Stibo Systems, explores the advantages of master data management deployments on Microsoft Fabric and how Stibo Systems can help.
Data is crucial to business success because it provides the insights needed to make informed decisions, optimize operations, and drive growth. Often, businesses ignore the investment behind that data. Let me explain how to maximize the return on your investment in master data management (MDM) by using Microsoft Fabric to extract every ounce of value from it.
Master data management adds value across business functions
Master data management is a business process requiring capable implementation to help companies curate their most trusted data across domains such as product, customer, location, and supplier. This data is critical for business operations to work effectively. Master data is an essential centerpiece for analytics purposes – serving as the single source of truth, or golden layer, of said data domains that underpin business intelligence (BI) and reporting on supply chain, sales, returns, and more. (The idea of a golden layer comes from the medallion lakehouse architecture, where data is ingested at the bronze layer, undergoes validation at the silver layer, and enhances business at the gold layer.) High-quality data is also critical to train high-performing machine learning (ML) models for predictive and prescriptive purposes such as forecasts.
Being able to leverage master data in a company’s BI platform is therefore instrumental to drive critical insights on business performance, such as financial performance, environmental, social, and governance performance (ESG), and other critical success factors.
Master data management multiplies the analytic power of Microsoft Fabric
Managing enterprise data can involve thousands of attributes, hundreds of relationships, and millions of records spread across disparate, often siloed systems. The ability to acquire, manage, and share information across the enterprise, and with ecosystem partners and customers – while providing governance to maintain integrity – requires a more agile, strategic solution, ready to address complex challenges.
Microsoft Fabric is well placed to support the need for delivering insights into activities such as data acquisition and data preparation, artificial intelligence (AI) tools for data science, and, importantly in this context, business intelligence through Microsoft Power BI. The Fabric platform integrates data sources into a cohesive stack to enable enterprises to perform end-to-end analytics. However, without master data from a properly curated master data management platform, little value can be gained from the insights.
Master data management adds value as a data source to Fabric in that it provides a trustworthy source of data across one or more data domains. Furthermore, a mature master data management platform will allow you to create and share collections of data that are targeted to specific business groups and needs, allowing you to avoid the ambiguity of unnecessary data and instead package data ready for consumption by applications within Fabric.
Figure 1: Multidomain master data management (MDM) and other data sources feed into Microsoft Fabric, which makes the validated data available to multiple data consumer groups.
Enhance Microsoft Fabric with Stibo Systems’ MDM
Recognized by Forrester as a leader in the management of multidomain enterprise data, Stibo Systems is a driving force between forward-thinking companies seeking to unlock the strategic value of their master data. Stibo Systems’ software-as-a-service MDM platform, in combination with its cloud-native data-as-a-service (DaaS) technology, offers not only the native capabilities to curate and control a company’s master data across domains through carefully designed data governance processes and capabilities, but also through its native integration with Microsoft Fabric.
With Stibo Systems, businesses can deliver master data to Microsoft Fabric as silver layer validated data tailored to the needs of data consumers, hence bypassing the bronze layer raw data, by utilizing preconfigured notebooks performing GraphQL queries against curated master data served at scale by the DaaS platform. Stibo Systems’ MDM makes data stored in legacy systems accessible, while enabling compliance reporting, dynamic marketing, supply chain optimization, and more by using AI and ML.
Companies can also serve up master data in combination with other data sources such as transactional data to build the insights they need to run the business. As a nice add-in to the integration, Stibo Systems’ master data management platform offers the capability to integrate Microsoft Power BI dashboards back into its user experience, enabling data stewards to act on data based on the reports they get from the platform.
Stibo Systems offers an end-to-end solution encompassing governed multidomain master data management, DaaS, and integration with Microsoft Fabric for end-to-end analytics and BI to drive business insights. If you’re interested in making informed decisions and achieving your goals, you can purchase Stibo Systems Master Data Management directly from the Microsoft Azure Marketplace. You can also learn more about the growing number of companies that have benefited from the dedication, professionalism, and impact of working with Stibo Systems.
Microsoft Tech Community – Latest Blogs –Read More
See what’s possible with Copilot in Excel (part 5)
Discover how Copilot in Excel can transform your data visualization and help you uncover valuable insights from your spreadsheets in this week’s series. Copilot in Excel can analyze your data, create charts, organize information, and deliver high-level insights, among other capabilities!
Monday, 9-Sep – Using Copilot in Excel to show data insights
Tuesday, 10-Sep – Grouping dates by quarter using Copilot in Excel
Wednesday, 11-Sep – Getting insights for book sales using Copilot
Thursday, 12-Sep – Using Copilot for Excel to create a chart (microsoft.com)
Friday, 13-Sep – Analyzing bike sales using Copilot for Excel
These posts are pinned within the Tech Community Forum each week. You can catch up on the other Copilot series by reading the recap blogs here >.
Stay tuned for next week’s series!
Microsoft Tech Community – Latest Blogs –Read More
Introducing VEX Hub: Essential New Repository Unifying VEX Statements!
VEX (Vulnerability eXploitability Exchange) is an emerging industry standard for communicating the relevance and impact of security vulnerabilities on software artifacts. This approach allows software maintainers to indicate when a specific vulnerability in a software dependency is irrelevant to their software due to the specific use case of that dependency. By conveying this crucial information to scanning tools via VEX, the accuracy of scan results is improved, leading to more actionable vulnerability reports for end users.
VEX (Vulnerability eXploitability Exchange) is an emerging industry standard for communicating the relevance and impact of security vulnerabilities on software artifacts. This approach allows software maintainers to indicate when a specific vulnerability in a software dependency is irrelevant to their software due to the specific use case of that dependency. By conveying this crucial information to scanning tools via VEX, the accuracy of scan results is improved, leading to more actionable vulnerability reports for end users. Read More
How to determine the surrounding vertices of a particular node/voronoi cell ?
I want to determine the surrounding(corresponding) vertices of all the nodes of the voronoi cells. Please help adding to the program below.
x=[2 2 3 3 4 5 5 5 6 7 8];
y=[1 3 1 3 4 4 5 6 5 4 2];
N=[x’ y’];
axis([0 10 0 10]);
hold on;
scatter(x,y, [], ‘filled’);
%Labelling the nodes
labels = cellstr( num2str([1:length(x)]’) );
plot(N(:,1), N(:,2), ‘bx’)
text(N(:,1), N(:,2), labels, ‘VerticalAlignment’,’bottom’, …
‘HorizontalAlignment’,’right’)
%Voronoi
voronoi(x,y,’green’);
[vx,vy]=voronoi(x,y);
plot(vx,vy,’rx’);
grid on
[V C]=voronoin(N); %
%Labelling the vertices
labels = cellstr( num2str([1:length(V)]’) );
plot(V(:,1), V(:,2), ‘rx’)
text(V(:,1), V(:,2), labels, ‘VerticalAlignment’,’bottom’, …
‘HorizontalAlignment’,’right’)I want to determine the surrounding(corresponding) vertices of all the nodes of the voronoi cells. Please help adding to the program below.
x=[2 2 3 3 4 5 5 5 6 7 8];
y=[1 3 1 3 4 4 5 6 5 4 2];
N=[x’ y’];
axis([0 10 0 10]);
hold on;
scatter(x,y, [], ‘filled’);
%Labelling the nodes
labels = cellstr( num2str([1:length(x)]’) );
plot(N(:,1), N(:,2), ‘bx’)
text(N(:,1), N(:,2), labels, ‘VerticalAlignment’,’bottom’, …
‘HorizontalAlignment’,’right’)
%Voronoi
voronoi(x,y,’green’);
[vx,vy]=voronoi(x,y);
plot(vx,vy,’rx’);
grid on
[V C]=voronoin(N); %
%Labelling the vertices
labels = cellstr( num2str([1:length(V)]’) );
plot(V(:,1), V(:,2), ‘rx’)
text(V(:,1), V(:,2), labels, ‘VerticalAlignment’,’bottom’, …
‘HorizontalAlignment’,’right’) I want to determine the surrounding(corresponding) vertices of all the nodes of the voronoi cells. Please help adding to the program below.
x=[2 2 3 3 4 5 5 5 6 7 8];
y=[1 3 1 3 4 4 5 6 5 4 2];
N=[x’ y’];
axis([0 10 0 10]);
hold on;
scatter(x,y, [], ‘filled’);
%Labelling the nodes
labels = cellstr( num2str([1:length(x)]’) );
plot(N(:,1), N(:,2), ‘bx’)
text(N(:,1), N(:,2), labels, ‘VerticalAlignment’,’bottom’, …
‘HorizontalAlignment’,’right’)
%Voronoi
voronoi(x,y,’green’);
[vx,vy]=voronoi(x,y);
plot(vx,vy,’rx’);
grid on
[V C]=voronoin(N); %
%Labelling the vertices
labels = cellstr( num2str([1:length(V)]’) );
plot(V(:,1), V(:,2), ‘rx’)
text(V(:,1), V(:,2), labels, ‘VerticalAlignment’,’bottom’, …
‘HorizontalAlignment’,’right’) aida MATLAB Answers — New Questions
I need a program with a triangular Bezier patch in matlab
I need a program with a triangular Bezier patch in matlabI need a program with a triangular Bezier patch in matlab I need a program with a triangular Bezier patch in matlab bezier -patch -triangular-surf MATLAB Answers — New Questions
TI C2000 Microcontroller Slow IPC-Transmission of an int32 with just 1kHz
I tried to send an int32 via IPC transmit from the C28x CPU to the ARM M4-Cortex every 100 microseconds (10kHz clock-frequency) by using an EPWM-block and an EPWM-Hardware-Interrupt. Unfortunately, the IPC transmission only works fine until clock-frequencies of 1kHz (every 1 milliseconds). For higher clock-frequencys, the IPC-tranmission shuts down. Even by using the IPC-Receive on polling instead of using an IPC-Hardware-Interrupt, frequencies higher than 1kHz cannot be reached. In my understanding, the transmission should only be limited by the reading&writing speed of the Message-RAM (which must be at least 1MHz for an int32).
Could somebody assist how to increase the performance of the IPC transmission? Thanks in advance!
Kind regards!I tried to send an int32 via IPC transmit from the C28x CPU to the ARM M4-Cortex every 100 microseconds (10kHz clock-frequency) by using an EPWM-block and an EPWM-Hardware-Interrupt. Unfortunately, the IPC transmission only works fine until clock-frequencies of 1kHz (every 1 milliseconds). For higher clock-frequencys, the IPC-tranmission shuts down. Even by using the IPC-Receive on polling instead of using an IPC-Hardware-Interrupt, frequencies higher than 1kHz cannot be reached. In my understanding, the transmission should only be limited by the reading&writing speed of the Message-RAM (which must be at least 1MHz for an int32).
Could somebody assist how to increase the performance of the IPC transmission? Thanks in advance!
Kind regards! I tried to send an int32 via IPC transmit from the C28x CPU to the ARM M4-Cortex every 100 microseconds (10kHz clock-frequency) by using an EPWM-block and an EPWM-Hardware-Interrupt. Unfortunately, the IPC transmission only works fine until clock-frequencies of 1kHz (every 1 milliseconds). For higher clock-frequencys, the IPC-tranmission shuts down. Even by using the IPC-Receive on polling instead of using an IPC-Hardware-Interrupt, frequencies higher than 1kHz cannot be reached. In my understanding, the transmission should only be limited by the reading&writing speed of the Message-RAM (which must be at least 1MHz for an int32).
Could somebody assist how to increase the performance of the IPC transmission? Thanks in advance!
Kind regards! c2000, ipc, ipc-transmit, ipc-receive MATLAB Answers — New Questions
How do I resolve this error “Can’t load C:ProgramFilesMATLAB2024abinwin64l……: while trying to load SIMULINK
Hello, while attempting to use SIMULINK in MATLAB 2024a for my training, the above message was seen. Any help?Hello, while attempting to use SIMULINK in MATLAB 2024a for my training, the above message was seen. Any help? Hello, while attempting to use SIMULINK in MATLAB 2024a for my training, the above message was seen. Any help? simulink, matlab MATLAB Answers — New Questions
Get a list from multiple cells returned into a single cell based on contents of two other cells
Hello there, I hope someone is able to help. I have a problem I am trying to solve involving two sheets.
I have attached screenshots, which I hope will be useful in understanding what I am trying to achieve here.
Take a look at the formula in H7 on the Void Tracker. It’s nearly there, but it isn’t quite working. What I’m trying to get it to do is to look at column B in the property list and find all the properties listed as Void for all the cells in Column D with the address “99 The Avenue” in column D and return all the relevant rooms in column E. So, what I want it to do, is return me a list of “Room 2 Room 3 Room 4” in Cell H7 of the void tracker, as those rooms are listed as Void in column B under that address. It should not return Room 1 as that is not listed as Void.
However, it isn’t doing what I want, as you can see. The cell value that it is retuning is E14 of the Property list, but it’s just retuning that cell value four times.
If anyone can help, I’d greatly appreciate it.
Many thanks.
Hello there, I hope someone is able to help. I have a problem I am trying to solve involving two sheets.I have attached screenshots, which I hope will be useful in understanding what I am trying to achieve here. Take a look at the formula in H7 on the Void Tracker. It’s nearly there, but it isn’t quite working. What I’m trying to get it to do is to look at column B in the property list and find all the properties listed as Void for all the cells in Column D with the address “99 The Avenue” in column D and return all the relevant rooms in column E. So, what I want it to do, is return me a list of “Room 2 Room 3 Room 4” in Cell H7 of the void tracker, as those rooms are listed as Void in column B under that address. It should not return Room 1 as that is not listed as Void. However, it isn’t doing what I want, as you can see. The cell value that it is retuning is E14 of the Property list, but it’s just retuning that cell value four times.If anyone can help, I’d greatly appreciate it. Many thanks. Read More
Expired to show if date or training has passed
Hi
I’m creating a training tracker as a SharePoint list. Within the list I have a date column for when a course is going to require a refresher, which is a calculated column based of Date of Training + Refresher period.
If I set up a choice column with the following options – In Date, Expiring and Expired, how can I achieve the following:
When a refresher date is 30 days away the status changes to ‘Expiring’
When a refresher date has passed the status changes to ‘Expired’
Thanks
Darren
Hi I’m creating a training tracker as a SharePoint list. Within the list I have a date column for when a course is going to require a refresher, which is a calculated column based of Date of Training + Refresher period.If I set up a choice column with the following options – In Date, Expiring and Expired, how can I achieve the following:When a refresher date is 30 days away the status changes to ‘Expiring’When a refresher date has passed the status changes to ‘Expired’ ThanksDarren Read More
The power of Data Collection Rules: Monitoring PowerShell usage
This is Part 2 of our Blog series on how to collect events using DCRs for advanced use cases. For Part 1, please check The power of Data Collection Rules: Collecting events for advanced use cases in Microsoft USOP – Microsoft Community Hub.
PowerShell is a great tool for administrators to manage devices and servers in their environment. When using it to administer remote systems with PSRemoting, you don’t leave credentials behind on the target systems – as opposed to RDP with which your credentials would be stored in the Local Security Authority (LSA). This provides many security benefits and helps prevent Pass-The-Hash attacks and other credential theft scenarios
Since it is a preinstalled tool, adversaries have been known to use PowerShell to attack organizations. Companies that have set up a robust PowerShell configuration and monitoring have a clear advantage against those adversaries! Thanks to PowerShell’s numerous built-in security and monitoring features, it is easy to detect and disrupt adversaries.
In this article we will look how you can set up your own monitoring mechanism to spot executed PowerShell code in your environment using Microsoft Sentinel and the Unified SecOps Platform. We will not discuss the various security features that can be configured for a robust PowerShell environment, there are other resources for it, as mentioned in our first article A good resource to learn more about PowerShell security is for example the book “PowerShell Automation and Scripting for Cybersecurity: Hacking and defense for red and blue teamers” written by Miriam C. Wiesner: https://aka.ms/mw-book.
Step 1: Configure ScriptBlockLogging
In PowerShell, you can imagine a script block as a collection of commands and expressions that are executed together as one command: the “script block”.
Many companies become aware to the importance of logging only after an incident has occurred. At that point, it is not possible to detect what happened. Therefore, the PowerShell team decided to implement basic script block logging, starting with PowerShell 5, which can be useful to trace malicious activities performed prior to the incident.
The basic script block logging feature only captures some basic security-relevant script blocks as the default if not configured otherwise. This way, in case of a security incident, you have insights of what basic malicious activities were executed on your machine, however this also means that with this default configuration not every activity is captured. Therefore, to keep track of all the activities on business-critical servers and high value assets, we need to configure script block logging before we can start collecting and reviewing all relevant events.
This can be done by using Group Policy. Depending on the PowerShell version for which you want to configure script block logging, navigate to the following GPO path(s):
Windows PowerShell: Computer Configuration > Policies > Administrative Templates > Windows Components > Windows PowerShell > Turn on PowerShell Script Block Logging
PowerShell Core: Computer Configuration > Administrative Templates > PowerShell Core > Turn on PowerShell Script Block Logging
Configure this Setting as “Enabled” and confirm with “OK”. Do not check the box to “Log script block invocation start / stop events” as this setting is verbose and would generate a lot of noise.
If you have both PowerShell versions in use in your environment, we recommend configuring and monitoring both.
In the PowerShell Core policy, you can find an option to “Use Windows PowerShell Policy Setting”. Unless you have a use case to have different configurations for both versions, you can simply enable this option to sync your Windows PowerShell script block settings.
Please note that the PowerShell Core administrative template files (*.admx)might need to be imported first before you can use them. This article points out how you can locate and install them: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_group_policy_settings
Step 2: Detect and review executed PowerShell code
Now that you have configured everything, it is time to collect PowerShell script block logging events and review the executed code. The following script retrieves and filters event ID 4104 from both Windows PowerShell and PowerShell Core (excluding certain paths and user IDs) and then formats and displays the filtered event details :
$PSWinEventLog = @{ ProviderName = “Microsoft-Windows-PowerShell”; Id = 4104 }
$PSCoreEventLog = @{ ProviderName = “PowerShellCore”; Id = 4104 }
$PSWinEventLog, $PSCoreEventLog | ForEach-Object {
try {
Get-WinEvent -FilterHashtable $_ | Where-Object {
!($_.Properties[4].Value -Match “C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\DataCollection\”) `
-and ($_.Properties[2].Value -ne “prompt”) `
-and ($_.UserId -ne “S-1-5-18”) `
-and ($_.UserId -ne “S-1-5-19”) `
-and !( $_.Properties[4].Value -Match “.vscode\extensions\”) `
-and !($_.Properties[4].Value -Match “C:\Windows\TEMP\SDIAG_([A-Za-z0-9]+(-[A-Za-z0-9]+)+)\CL_Utility.ps1”)
} | Select-Object TimeCreated, `
@{Name=’ExecutedCode’;Expression={ $_.Properties[2].Value }},`
UserId, `
LevelDisplayName, `
@{Name=’Path’;Expression={$_.Properties[4].Value}}, `
ProviderName, `
@{Name=’ScriptblockId’;Expression={$_.Properties[3].Value}},`
@{Name=’CurrentPart’;Expression={$_.Properties[0].Value}},`
@{Name=’TotalParts’;Expression={$_.Properties[1].Value}}`
| fl
}
catch {}
PowerShell script block events can be split into multiple events if the executed script block was too large. In that case, the “CurrentPart” field would indicate this by containing a value higher than 1. The “CurrentPart” field indicates the order of the script block pieces.
It is recommended to adjust this query to your environment; are there script blocks that are being run by certain programs in your environment that you can safely exclude from your review. You can use the following documentation as a reference for filtering: Creating Get-WinEvent queries with FilterHashtable – PowerShell | Microsoft Learn.
PowerShell is a great tool for administrators to manage devices and servers in their environment. When using it to administer remote
PowerShell script block events can be split into multiple events if the executed script block was too large. In that case, the “CurrentPart” field would indicate this by containing a value higher than 1. The “CurrentPart” field indicates the order of the script block pieces.
It is recommended to adjust this query to your environment; are there script blocks that are being run by certain programs in your environment that you can safely exclude from your review. You can use the following documentation as a reference for filtering: Creating Get-WinEvent queries with FilterHashtable – PowerShell | Microsoft Learn.
Step 3: Configure the data collection Rule (DCR) to collect the required events
Using the Azure Monitor agent (AMA), you can select the events you would like to collect from your servers using Xpath queries (please see Filter Windows events using Xpath queries for reference). If you are not familiar with the agent or you have not installed AMA yet in the servers you would like to monitor, please check the first article of this series: include link.
To create your DCR, as this time we are collecting non-Security events, go to Connectors and select Windows Forwarded Events. From here, select create DCR, add your servers, and under Collect select Custom. Paste the following xPath queries:
For Windows PowerShell:
Microsoft-Windows-PowerShell/Operational!*[System[(EventID=4104)]]
For PowerShell Core:
PowerShellCore/Operational!*[System[(EventID=4104)]]
To prevent getting events that we don’t need (e.g. events from background processes or system accounts), based on the query we constructed in Step 2, we can create a transformation in our DCR that will prevent those events from being ingested into Microsoft Sentinel, as they could be too verbose and we may not need them. For this purpose, you can add this transformation in your DCR:
“transformKql”: “source | where SystemUserId !in (‘S-1-5-18’, ‘S-1-5-19’) | extend ScriptBlockText = parse_json(EventData).ScriptBlockText, ScriptBlockId = tostring(EventData.ScriptBlockId), MessageNumber = tostring(EventData.MessageNumber), MessageTotal = tostring(EventData.MessageTotal), Path = tostring(EventData.Path) | where tostring(ScriptBlockText) != ‘prompt’ | where Path != ‘.vscode\\extensions\\’ and Path != ‘C:\\Windows\\TEMP\\SDIAG_([A-Za-z0-9]+(-[A-Za-z0-9]+)+)\\CL_Utility.ps1’ and Path != ‘C:\\ProgramData\\Microsoft\\Windows Defender Advanced Threat Protection\\DataCollection\\'”
Alternatively, you can deploy this template from GitHub, which already includes the xPath queries described above, plus the transformation: Azure-Sentinel/DataConnectors/WindowsEvents/DataCollectionRulePowerShellEvents at master · Azure/Azure-Sentinel (github.com)
Step 4: Creating your detections
Now, we can go to Microsoft Sentinel or to the Unified security operations platform, which brings Microsoft Sentinel and Microsoft Defender XDR into a single unified portal (see how to Connect Microsoft Sentinel to Microsoft Defender XDR) and start querying your logs and generate detections.
It also makes sense to monitor for devices that never ran PowerShell code before, from which PowerShell code is executed unexpectedly. Are there devices that should never run PowerShell code (e.g. devices from Accounting or Marketing)? For this purpose, we could use a watchlist. Watchlists allow you to create a list of items you would like to use for correlation (e.g. high-value assets, terminated employees, service accounts, etc.). In our scenario, we have created a watchlist that determines to which team the machine belongs (Operations, Security, Marketing).
First, let’s have a look at our logs. On Microsoft Defender XDR, we can find them under Advanced Hunting. We are using this query to detect machines that are not part of the groups (Security and Operations) that we would expect to run PowerShell code using this query:
let AllowedGroups = dynamic([“Security”,”Operations”]);
WindowsEvent
| where EventID == 4104
| extend ScriptBlockText = parse_json(EventData).ScriptBlockText, ScriptBlockId = tostring(EventData.ScriptBlockId), MessageNumber = tostring(EventData.MessageNumber), MessageTotal = tostring(EventData.MessageTotal), Path = tostring(EventData.Path)
| lookup kind=inner _GetWatchlist(‘devicegroups’) on $left.Computer == $right.SearchKey
| where Group !in (AllowedGroups)
| project TimeGenerated, ScriptBlockText, SystemUserId, DeviceName, Group, EventLevelName, Path, MessageNumber, MessageTotal, ScriptBlockId, Channel
| sort by TimeGenerated, ScriptBlockId, MessageNumber
Above, we can see what machines that were not from the expected departments have ran PowerShell code.
After polishing our watchlist and query, we are ready to create a detection under Analytics:
Please remember to match the Host entity under “Entity mapping” when you create your analytic rule. This is critical for correlation across data sources and alerts.
This concludes Part 2 of our 3 Part blog series on how to collect events using DCRs for advanced use cases. For Part 1, please check The power of Data Collection Rules: Collecting events for advanced use cases in Microsoft USOP – Microsoft Community Hub, and stay tuned for Part 3, in which we show how to monitor for indications that Defender for Endpoint (MDE) was shut down.
We welcome your feedback and questions on this or any of the other parts of this blog article series and look forward to hearing from you.
Miriam Wiesner (@miriamxyra) – Senior Security Research PM for Microsoft Defender XDR | Maria de Sousa-Valadas Castaño – Senior Product Manager Unified SocOps Platform | Shirley Kochavi – Unified SocOps Platform
Microsoft Tech Community – Latest Blogs –Read More
Copilot use in Excel formulas
Hello,
does anyone know when Microsoft plans to make it possible to use Copilot in Excel formulas, e.g. with the GPTforExcel tool?
=copilot(summarize; A1)
Would it be obvious to use it in-house?
Or does anyone have a good walkaround e.g. with PowerPlatforms?
Or do you have other solutions?
Thank you
Hello,does anyone know when Microsoft plans to make it possible to use Copilot in Excel formulas, e.g. with the GPTforExcel tool?=copilot(summarize; A1)Would it be obvious to use it in-house?Or does anyone have a good walkaround e.g. with PowerPlatforms? Or do you have other solutions?Thank you Read More
How to extract pixel intensity of a grayscale image (*.jpg) to a MS Excel table
Hello everyone, I am a very new beginner with image processing and Mathlab. Please help me with the following isse, many thanks in advance !
I have a grayscale image. I’d like to extract its pixel intensities to a MS Excel table with three vectors, including pixel intensiy, X and Y coordinates of the pixel.Hello everyone, I am a very new beginner with image processing and Mathlab. Please help me with the following isse, many thanks in advance !
I have a grayscale image. I’d like to extract its pixel intensities to a MS Excel table with three vectors, including pixel intensiy, X and Y coordinates of the pixel. Hello everyone, I am a very new beginner with image processing and Mathlab. Please help me with the following isse, many thanks in advance !
I have a grayscale image. I’d like to extract its pixel intensities to a MS Excel table with three vectors, including pixel intensiy, X and Y coordinates of the pixel. digital image processing, mathematics MATLAB Answers — New Questions
creating multiple holes in a flatwire PDE Modeler
Hi,
Matlab suggested me to create a more efficient code: what i am trying to do is to create 12 holes vertically in a strip of wire and repeat it 7x times over a 0.2 distance: i started with this code:
model = createpde;
%Define a circle in a rectangle, place these in one matrix, and create a set formula that subtracts the circle from the rectangle.
rectx=0;
recty=0;
rect_width=1.38;
rect_height=0.2;
x_start=0.1;%starting position x circle
y_start=0.2;%starting position y circle
radius=0.005;%radius holes
num_holes_y=12;%number of repitition in the y
num_rep_x=7;%number of repitition in the x
y_interval=0.0183; %distance between the holes in the y;
x_interval=0.2; % distance between the holes in the x;
pderect([rectx rect_width recty,rect_height] )
%create multiple holes in a strip and draw it into the pde modeler
for j=0:(num_rep_x-1)
for i=0:(num_holes_y-1)
%calculate the x and y position for the current hole
x_center=x_start+j*x_interval;
y_center=y_start-i*y_interval;
pdecirc(x_center, y_center,radius)
hold on;
end
end
axis equal;
hold off;
better code as matlab suggested: but get stuck with an error:
Error in TestSkript2 (line 38)
ns(idx+1)=[‘C’,num2str(idx)];
please advise.
model = createpde;
%Define a circle in a rectangle, place these in one matrix, and create a set formula that subtracts the circle from the rectangle.
rectx=0;
recty=0;
rect_width=1.38;
rect_height=0.2;
x_start=0.1;%starting position x circle
y_start=0.2;%starting position y circle
radius=0.005;%radius holes
num_holes_y=12;%number of repitition in the y
num_rep_x=7;%number of repitition in the x
y_interval=0.0183; %distance between the holes in the y;
x_interval=0.2; % distance between the holes in the x;
R1=[3,4,rectx, rectx+rect_width,rectx+rect_width,rectx,recty,recty,recty+rect_height,recty+rect_height]’;
%preallocating the arrays(more efficient for matlab CHAT GPT)
num_circles = num_holes_y * num_rep_x;
gd = zeros(10, 1 + num_circles);
gd(:, 1) = R1;
ns = cell(1+num_circles,1);
ns{ones}=’R1′;
sf=’R1′;
%create multiple holes in a strip and draw it into the pde modeler
for j=0:(num_rep_x-1)
for i=0:(num_holes_y-1)
%calculate the x and y position for the current hole
x_center=x_start+j*x_interval;
y_center=y_start-i*y_interval;
C=[1,x_center, y_center,radius]’;
idx=j*num_holes_y+i+1;
gd(1:4,idx+1)=C;
ns{idx+1}=[‘C’,num2str(idx)];
sf=[sf,’C’,num2str(idx)];
end
end
ns=char(ns);
g=decsg(gd,sf,ns);
axis equal;
hold off;Hi,
Matlab suggested me to create a more efficient code: what i am trying to do is to create 12 holes vertically in a strip of wire and repeat it 7x times over a 0.2 distance: i started with this code:
model = createpde;
%Define a circle in a rectangle, place these in one matrix, and create a set formula that subtracts the circle from the rectangle.
rectx=0;
recty=0;
rect_width=1.38;
rect_height=0.2;
x_start=0.1;%starting position x circle
y_start=0.2;%starting position y circle
radius=0.005;%radius holes
num_holes_y=12;%number of repitition in the y
num_rep_x=7;%number of repitition in the x
y_interval=0.0183; %distance between the holes in the y;
x_interval=0.2; % distance between the holes in the x;
pderect([rectx rect_width recty,rect_height] )
%create multiple holes in a strip and draw it into the pde modeler
for j=0:(num_rep_x-1)
for i=0:(num_holes_y-1)
%calculate the x and y position for the current hole
x_center=x_start+j*x_interval;
y_center=y_start-i*y_interval;
pdecirc(x_center, y_center,radius)
hold on;
end
end
axis equal;
hold off;
better code as matlab suggested: but get stuck with an error:
Error in TestSkript2 (line 38)
ns(idx+1)=[‘C’,num2str(idx)];
please advise.
model = createpde;
%Define a circle in a rectangle, place these in one matrix, and create a set formula that subtracts the circle from the rectangle.
rectx=0;
recty=0;
rect_width=1.38;
rect_height=0.2;
x_start=0.1;%starting position x circle
y_start=0.2;%starting position y circle
radius=0.005;%radius holes
num_holes_y=12;%number of repitition in the y
num_rep_x=7;%number of repitition in the x
y_interval=0.0183; %distance between the holes in the y;
x_interval=0.2; % distance between the holes in the x;
R1=[3,4,rectx, rectx+rect_width,rectx+rect_width,rectx,recty,recty,recty+rect_height,recty+rect_height]’;
%preallocating the arrays(more efficient for matlab CHAT GPT)
num_circles = num_holes_y * num_rep_x;
gd = zeros(10, 1 + num_circles);
gd(:, 1) = R1;
ns = cell(1+num_circles,1);
ns{ones}=’R1′;
sf=’R1′;
%create multiple holes in a strip and draw it into the pde modeler
for j=0:(num_rep_x-1)
for i=0:(num_holes_y-1)
%calculate the x and y position for the current hole
x_center=x_start+j*x_interval;
y_center=y_start-i*y_interval;
C=[1,x_center, y_center,radius]’;
idx=j*num_holes_y+i+1;
gd(1:4,idx+1)=C;
ns{idx+1}=[‘C’,num2str(idx)];
sf=[sf,’C’,num2str(idx)];
end
end
ns=char(ns);
g=decsg(gd,sf,ns);
axis equal;
hold off; Hi,
Matlab suggested me to create a more efficient code: what i am trying to do is to create 12 holes vertically in a strip of wire and repeat it 7x times over a 0.2 distance: i started with this code:
model = createpde;
%Define a circle in a rectangle, place these in one matrix, and create a set formula that subtracts the circle from the rectangle.
rectx=0;
recty=0;
rect_width=1.38;
rect_height=0.2;
x_start=0.1;%starting position x circle
y_start=0.2;%starting position y circle
radius=0.005;%radius holes
num_holes_y=12;%number of repitition in the y
num_rep_x=7;%number of repitition in the x
y_interval=0.0183; %distance between the holes in the y;
x_interval=0.2; % distance between the holes in the x;
pderect([rectx rect_width recty,rect_height] )
%create multiple holes in a strip and draw it into the pde modeler
for j=0:(num_rep_x-1)
for i=0:(num_holes_y-1)
%calculate the x and y position for the current hole
x_center=x_start+j*x_interval;
y_center=y_start-i*y_interval;
pdecirc(x_center, y_center,radius)
hold on;
end
end
axis equal;
hold off;
better code as matlab suggested: but get stuck with an error:
Error in TestSkript2 (line 38)
ns(idx+1)=[‘C’,num2str(idx)];
please advise.
model = createpde;
%Define a circle in a rectangle, place these in one matrix, and create a set formula that subtracts the circle from the rectangle.
rectx=0;
recty=0;
rect_width=1.38;
rect_height=0.2;
x_start=0.1;%starting position x circle
y_start=0.2;%starting position y circle
radius=0.005;%radius holes
num_holes_y=12;%number of repitition in the y
num_rep_x=7;%number of repitition in the x
y_interval=0.0183; %distance between the holes in the y;
x_interval=0.2; % distance between the holes in the x;
R1=[3,4,rectx, rectx+rect_width,rectx+rect_width,rectx,recty,recty,recty+rect_height,recty+rect_height]’;
%preallocating the arrays(more efficient for matlab CHAT GPT)
num_circles = num_holes_y * num_rep_x;
gd = zeros(10, 1 + num_circles);
gd(:, 1) = R1;
ns = cell(1+num_circles,1);
ns{ones}=’R1′;
sf=’R1′;
%create multiple holes in a strip and draw it into the pde modeler
for j=0:(num_rep_x-1)
for i=0:(num_holes_y-1)
%calculate the x and y position for the current hole
x_center=x_start+j*x_interval;
y_center=y_start-i*y_interval;
C=[1,x_center, y_center,radius]’;
idx=j*num_holes_y+i+1;
gd(1:4,idx+1)=C;
ns{idx+1}=[‘C’,num2str(idx)];
sf=[sf,’C’,num2str(idx)];
end
end
ns=char(ns);
g=decsg(gd,sf,ns);
axis equal;
hold off; pde modeler script. MATLAB Answers — New Questions
Mex Build Error: the following files have the same file name which cannot be packaged together in a flat hierarchy
I have files that multiple Sfuns use. When I want to build the project, I get the following error. What is the reason for this and is there a solution?
"the following files have the same file name which cannot be packaged together in a flat hierarchy"I have files that multiple Sfuns use. When I want to build the project, I get the following error. What is the reason for this and is there a solution?
"the following files have the same file name which cannot be packaged together in a flat hierarchy" I have files that multiple Sfuns use. When I want to build the project, I get the following error. What is the reason for this and is there a solution?
"the following files have the same file name which cannot be packaged together in a flat hierarchy" simulink, embedded coder, code generation MATLAB Answers — New Questions
Cant find named range
I have inherited a spreadsheet which has pivot tables based on a named range. I am trying to make changes to the source data but I cant seem to find it. I can see the name in hte cell reference box but when i click on it nothing happens. It doesnt appear in the Name Manager. I have tried the find and GoTo the name range but nothing is happening. The person who created the spreadsheet is no longer available and it is to large to start from scracth. Any suggestions?
By the way I have searched for suggestions and have tried to click on the name in the cell reference field and i have also used the GoTo they have not worked. I can see the name but it is not taking me to the cell range
Thanks in advance
I have inherited a spreadsheet which has pivot tables based on a named range. I am trying to make changes to the source data but I cant seem to find it. I can see the name in hte cell reference box but when i click on it nothing happens. It doesnt appear in the Name Manager. I have tried the find and GoTo the name range but nothing is happening. The person who created the spreadsheet is no longer available and it is to large to start from scracth. Any suggestions? By the way I have searched for suggestions and have tried to click on the name in the cell reference field and i have also used the GoTo they have not worked. I can see the name but it is not taking me to the cell range Thanks in advance Read More
Manager’s team calendar – hierarchy permissions to see details from top-down
Hi, I have a question about Manager’s team calendar and how it’s supposed to work.
The manager would like to see all the details of the calendar events of who report to him, but currently by default the manager can only see “free/busy”.
Idea is to make the org hierarchy work by equal level people not see each other’s details, only free/busy, which works right now, but the higher level manager should see everyone’s details under him. Hierarchy is already set-up correctly.
Is that possible? If yes, how?
Hi, I have a question about Manager’s team calendar and how it’s supposed to work. The manager would like to see all the details of the calendar events of who report to him, but currently by default the manager can only see “free/busy”. Idea is to make the org hierarchy work by equal level people not see each other’s details, only free/busy, which works right now, but the higher level manager should see everyone’s details under him. Hierarchy is already set-up correctly. Is that possible? If yes, how? Read More
SharePoint Online – User Profile Service And Delve
Hi,
1. Can anyone tell me the future roadmap for the User Profile Service Application (UPSA) in SharePoint Online? I know the UPSA is in the classic mode but it would be good to know if it is set to be deprecated by Microsoft in a number of years? and if it is then, what is it planning on being replaced with and when?
2. Also, Delve is retiring in December 2024 so what will be replacement of the Delve Page
Thanks in advance
Hi, 1. Can anyone tell me the future roadmap for the User Profile Service Application (UPSA) in SharePoint Online? I know the UPSA is in the classic mode but it would be good to know if it is set to be deprecated by Microsoft in a number of years? and if it is then, what is it planning on being replaced with and when? 2. Also, Delve is retiring in December 2024 so what will be replacement of the Delve Page Thanks in advance Read More