Skip to content

Commit ab06a5c

Browse files
authored
pull base content,head:MicrosoftDocs:main,into:wwlpublishsync
2 parents 3df00db + 06523af commit ab06a5c

37 files changed

+431
-26
lines changed

learn-pr/advocates/improve-reliability-scaling/2-definition.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,6 @@ quiz:
1717
title: Check your knowledge
1818
questions:
1919

20-
- content: 'Making your application or service more scalable can also make it:'
21-
choices:
22-
- content: 'less complex'
23-
isCorrect: false
24-
explanation: "With scaling, especially when scaling out, there's often an increase in complexity."
25-
- content: 'more reliable'
26-
isCorrect: true
27-
explanation: 'Correct.'
28-
- content: 'easier to troubleshoot'
29-
isCorrect: false
30-
explanation: 'Because (especially when scaling out) there are more moving parts, it may not be easier to troubleshoot.'
31-
3220
- content: 'Making your application or service more scalable can also make it:'
3321
choices:
3422
- content: 'less complex'
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
*Modules* are groups of related PowerShell capabilities that are bundled together into a single unit. For the purposes of this class, you can think of them as containers hosting multiple cmdlets. Modules help with organizing cmdlets into distributable units. Microsoft and other software companies provide modules as part of the management tools for their applications and services.
22

3+
You can check the list of available modules by running the following command:
4+
5+
```powershell
6+
Get-Module -ListAvailable
7+
```
8+
39
To use a module's cmdlets, the module must be loaded into the current PowerShell session. This typically takes place automatically but, depending on your configuration, might require that you load modules explicitly by running the **Import-Module** cmdlet. Some server products, such as Microsoft Exchange Server, provide a shortcut to what appears to be a dedicated management shell. However, this is really a normal PowerShell console session with application-specific modules already loaded.
410

511
## Autoloading
@@ -8,7 +14,11 @@ In Windows PowerShell version 3.0 and newer, modules load automatically if you r
814

915
For PowerShell 7, the **PSModulePath** includes the following locations:
1016

11-
`C:\Users\<user>\Documents\PowerShell\Modules` `C:\Program Files\PowerShell\Modules` `C:\Program Files\PowerShell\7\Modules` `C:\Program Files\WindowsPowerShell\Modules` `C:\WINDOWS\System32\WindowsPowerShell\v1.0\Modules`
17+
- `C:\Users\<user>\Documents\PowerShell\Modules`
18+
- `C:\Program Files\PowerShell\Modules`
19+
- `C:\Program Files\PowerShell\7\Modules`
20+
- `C:\Program Files\WindowsPowerShell\Modules`
21+
- `C:\WINDOWS\System32\WindowsPowerShell\v1.0\Modules`
1222

1323
> [!NOTE]
1424
> When using Windows PowerShell, the path **%systemdir%\\WindowsPowerShell\\v1.0\\Modules** is commonly referred to by using the combination of the `$PSHome` environment variable (which points to **%systemdir%\\WindowsPowerShell\\v1.0**) and the **Modules** path (that is, by using the `$PSHome\Modules` notation). For PowerShell 7.0, the `$PSHome` environment variable refers to **C:\\Program Files\\PowerShell\\7**.

learn-pr/wwl-azure/find-commands-get-help-windows-powershell/includes/5-use-show-command-powershell.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ The **Show-Command** cmdlet opens a window that displays either a list of comman
22

33
To display a specific command's parameters, provide the name of the command as the value for the *‑Name* parameter. For example, to open the **Show** **Command Window** with the command used to retrieve an Active Directory user, enter the following command in the console, and then press the Enter key:
44

5-
`Show-Command –Name Get-ADUser`
5+
```powershell
6+
Show-Command –Name Get-ADUser
7+
```
68

79
The *–Name* parameter is positional, so the following command produces the same result:
810

9-
`Show-Command Get-ADUser`
11+
```powershell
12+
Show-Command Get-ADUser
13+
```
1014

1115
If you select the **Show** **Command Window** option in the ISE, and your cursor is within or immediately next to a command name within the console or scripting pane, the results are the same.
1216

@@ -25,7 +29,9 @@ Windows PowerShell provides extensive in-product help for commands. You can acce
2529

2630
For example, to display the help information for the **Get-ChildItem** cmdlet, enter the following command in the console, and then press the Enter key:
2731

28-
`Get-Help Get-ChildItem`
32+
```powershell
33+
Get-Help Get-ChildItem
34+
```
2935

3036
### Get-Help parameters
3137

learn-pr/wwl-azure/review-windows-powershell/includes/2-learn-about-windows-powershell.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ The following table provides a general timeline of the major PowerShell releases
6262

6363
| Version | Release Date | Notes |
6464
| -------------- | ------------ | ------------------------------------------------------------ |
65+
| PowerShell 7.5 | January 2025 | Built on .NET 9.0. |
66+
| PowerShell 7.4 | November 2023 | Built on .NET 8.0. |
67+
| PowerShell 7.3 | November 2022 | Built on .NET 7.0. |
6568
| PowerShell 7.2 | November 2021 | Built on .NET 6.0. |
6669
| PowerShell 7.1 | November 2020 | Built on .NET 5.0. |
6770
| PowerShell 7.0 | March 2020 | Built on .NET Core 3.1. |
@@ -74,7 +77,7 @@ The following table provides a general timeline of the major PowerShell releases
7477
| PowerShell 1.0 | November 2006 | Installable on Windows XP SP2, Windows Server 2003 SP1, and Windows Vista. Optional component of Windows Server 2008. |
7578

7679
> [!NOTE]
77-
> Throughout this module, topics will relate to both the latest Windows PowerShell and PowerShell versions (5.1 and 7.2). Most cmdlets will work using either platform. However, there'll be a note if a specific feature is only supported or relates to one specific platform.
80+
> Throughout this module, topics will relate to both the latest Windows PowerShell and PowerShell versions (5.1 and 7.5). Most cmdlets will work using either platform. However, there'll be a note if a specific feature is only supported or relates to one specific platform.
7881
7982
> **Additional reading:** To support more recent versions of PowerShell on down-level operating systems, you might need to install the latest version of the Windows Management Framework. For more information, refer to [Install and Configure WMF 5.1](https://aka.ms/install-and-configure-WMF-5.1).
8083

learn-pr/wwl-azure/review-windows-powershell/includes/4-identify-factors-install-use-windows-powershell.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ The execution policy in PowerShell is meant to minimize the possibility of a use
3636
3737
To identify the effective execution policy for the current PowerShell session, use the following cmdlet:
3838

39-
`Get-ExecutionPolicy`
39+
```powershell
40+
Get-ExecutionPolicy
41+
```
4042

4143
You can configure the following policy settings:
4244

@@ -49,4 +51,8 @@ You can configure the following policy settings:
4951

5052
To change the execution policy in PowerShell, use the following command:
5153

52-
`Set-ExecutionPolicy -ExecutionPolicy <PolicyName>`
54+
```powershell
55+
Set-ExecutionPolicy -ExecutionPolicy <PolicyName>
56+
```
57+
58+

learn-pr/wwl-azure/review-windows-powershell/includes/6-configure-integrated-scripting-environment.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ Other ISE features include:
1515
- Integration with Windows PowerShell’s debugging capabilities.
1616

1717
> [!NOTE]
18-
> The Windows PowerShell ISE is available on Windows OS, but it won't work with PowerShell 6 and newer. For a similar experience, you can use Visual Studio Code (VS Code) with the PowerShell extension. You will learn more about it in the next unit of this module.
18+
> The PowerShell ISE is no longer in active feature development. As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes. We currently have no plans to remove the ISE from Windows.
19+
Windows PowerShell ISE won't work with PowerShell 6 and newer. For a similar experience, you can use Visual Studio Code (VS Code) with the PowerShell extension. You will learn more about it in the next unit of this module.
20+
21+

learn-pr/wwl-azure/understand-command-syntax-windows-powershell/includes/2-discover-structure-of-powershell-cmdlets.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ The verb portion of a cmdlet name indicates what the cmdlet does. There's a set
1313
- **Add**. Adds a resource to a container of multiple resources.
1414
- **Remove**. Deletes a resource from a container of multiple resources.
1515

16+
> [!NOTE]
17+
>You can run the `Get-Verb` command to have the full list of approved verbs.
18+
19+
1620
This list represents just some of the verbs that cmdlets use. Additionally, some verbs perform similar functions. For example, the **Add** verb can create a resource, similar to the **New** verb. Some verbs might seem similar, but have different functions. For example, the **Read** verb retrieves information that a resource contains, such as a text file's content, whereas the **Get** verb retrieves the actual file.
1721

1822
## Cmdlet nouns

learn-pr/wwl-azure/understand-command-syntax-windows-powershell/includes/5-display-about-files-content-powershell.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
Although much of the help content in Windows PowerShell relates to commands, there are also many help files that describe PowerShell concepts. These files include information about the PowerShell scripting language, operators, and other details. This information doesn't specifically relate to a single command, but to global shell techniques and features.
22

3-
You can review a complete list of these topics by running **Get-Help about\***, and then reviewing a single topic by running **Get-Help about\_topicname**. An example is **Get-Help about\_common\_parameters**. These commands don't use the *–Example* or *–Full* parameters of the **Help** command. However, they're compatible with the *–ShowWindow* and *–Online* parameters.
3+
You can review a complete list of these topics by running:
4+
5+
```powershell
6+
Get-Help about*
7+
```
8+
9+
To view a specific topic, use:
10+
11+
```powershell
12+
Get-Help about_common_parameters
13+
```
14+
15+
You can also open the help topic in a separate window or online:
16+
17+
```powershell
18+
Get-Help about_common_parameters -ShowWindow
19+
Get-Help about_common_parameters -Online
20+
```
421

522
When you use wildcard characters with the **Get-Help** command, **About** help files will appear in a list when their titles contain a match for your wildcard pattern. Typically, **About** help files will appear last, after any commands whose names also matched your wildcard pattern. You can also use the *‑Category* parameter to specify a search for **About** files.
623

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
Today, importantly, developers do not need to train models from scratch. To build a generative AI application, you can use pre-trained models. Some language models are open-source and publicly available. Others are offered in proprietary catalogs. Different models exist today which mostly differ by the specific data they've been trained on, or by how they implement attention within their architectures. Language models power the 'app logic' component of the interaction between users and generative AI applications.
2-
3-
![Diagram of an application.](../media/application-logic-image.png)
1+
Today, importantly, developers don't need to train models from scratch. To build a generative AI application, you can use pretrained models. Some language models are open-source and publicly available. Others are offered in proprietary catalogs. Different models exist today which mostly differ by the specific data used to train them, or by how they implement attention within their architectures.
42

53
## Large and small language models
64
In general, language models can be considered in two categories: *Large Language Models* (LLMs) and *Small Language models* (SLMs).
@@ -9,6 +7,6 @@ In general, language models can be considered in two categories: *Large Language
97
|-|-|
108
|LLMs are trained with vast quantities of text that represents a wide range of general subject matter – typically by sourcing data from the Internet and other generally available publications.| SLMs are trained with smaller, more subject-focused datasets|
119
|When trained, LLMs have many billions (even trillions) of parameters (weights that can be applied to vector embeddings to calculate predicted token sequences).|Typically have fewer parameters than LLMs.|
12-
|Able to exhibit comprehensive language generation capabilities in a wide range of conversational contexts.|This focused vocabulary makes them very effective in specific conversational topics, but less effective at more general language generation.|
10+
|Able to exhibit comprehensive language generation capabilities in a wide range of conversational contexts.|This focused vocabulary makes them effective in specific conversational topics, but less effective at more general language generation.|
1311
|Their large size can impact their performance and make them difficult to deploy locally on devices and computers.|The smaller size of SLMs can provide more options for deployment, including local deployment to devices and on-premises computers; and makes them faster and easier to fine-tune.|
14-
|Fine-tuning the model with additional data to customize its subject expertise can be time-consuming, and expensive in terms of the compute power required to perform the additional training.|Fine-tuning can potentially be less time-consuming and expensive.|
12+
|Fine-tuning the model with more data to customize its subject expertise can be time-consuming, and expensive in terms of the compute power required to perform the extra training.|Fine-tuning can potentially be less time-consuming and expensive.|
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-generative-ai-azure.introduction
3+
title: Introduction
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Introduction
8+
description: Introduction
9+
author: sherzyang
10+
ms.author: sheryang
11+
ms.date: 05/26/2025
12+
ms.topic: unit
13+
ms.collection:
14+
- wwl-ai-copilot
15+
durationInMinutes: 2
16+
content: |
17+
[!include[](includes/1-introduction.md)]
18+
19+
20+

0 commit comments

Comments
 (0)