You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
37
37
- Added capability to Debug the module in Visual Studio. [#1880](https://github.com/pnp/powershell/pull/1880)
38
38
- Added `Set-PnPTeamsChannelUser` cmdlet to update the role of user in a private channel. [#1865](https://github.com/pnp/powershell/pull/1865)
39
39
- Added `Restart-PnPFlowRun` which allows for a failed Power Automate flow run to be retried [#1915](https://github.com/pnp/powershell/pull/1915)
40
+
- Added optional `-Connection` parameter to `Get-PnPConnection`, `Get-PnPContext` and `Set-PnPContext` which allows for using any of these for a specific connection [#1919](https://github.com/pnp/powershell/pull/1919)
40
41
- Added `-IncludeDeprecated` parameter to `Get-PnPTerm` cmdlet to fetch deprecated terms if specified [#1903](https://github.com/pnp/powershell/pull/1903)
41
42
- Added optional `-ValidateConnection` to `Connect-PnPOnline` which will check if the site you are connecting to exists and if not, will throw an exception [#1924](https://github.com/pnp/powershell/pull/1924)
42
43
@@ -63,6 +64,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
63
64
- Fixed `Invoke-PnPSPRestMethod` invalid parsing for SharePoint number columns. [#1877](https://github.com/pnp/powershell/pull/1879)
64
65
- Fix issue with `Add/Set-PnPListItem` not throwing correct exception for invalid taxonomy values. [#1870](https://github.com/pnp/powershell/pull/1870)
65
66
- Fixed `Sync-PnPSharePointUserProfilesFromAzureActiveDirectory` throwing an "Object reference not set to an instance of an object" exception when providing an empty users collection or incorrect user mapping [#1896](https://github.com/pnp/powershell/pull/1896)
67
+
- Fixed `Connect-PnPOnline -ReturnConnection` also setting the current connection instead of just the returned connection [#1919](https://github.com/pnp/powershell/pull/1919)
68
+
- Fixed `Disconnect-PnPOnline -Connection` also disconnecting other connections next to the provided connection [#1919](https://github.com/pnp/powershell/pull/1919)
69
+
- Fixed `Set-PnPContext` not properly applying the provided context [#1919](https://github.com/pnp/powershell/pull/1919)
66
70
67
71
### Removed
68
72
- Removed `Get-PnPAvailableClientSideComponents`. Use `Get-PnPPageComponent -Page -ListAvailable` instead. [#1833](https://github.com/pnp/powershell/pull/1833)
@@ -32,8 +32,20 @@ This will put the current connection for use with the -Connection parameter on o
32
32
33
33
## PARAMETERS
34
34
35
-
## RELATED LINKS
35
+
### -Connection
36
+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by specifying -ReturnConnection on Connect-PnPOnline. If not provided, the connection will be retrieved from the current context.
37
+
38
+
```yaml
39
+
Type: PnPConnection
40
+
Parameter Sets: (All)
36
41
37
-
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
42
+
Required: False
43
+
Position: Named
44
+
Default value: None
45
+
Accept pipeline input: False
46
+
Accept wildcard characters: False
47
+
```
38
48
49
+
## RELATED LINKS
39
50
51
+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Returns a SharePoint Online Client Side Object Model (CSOM) context
23
23
24
24
## EXAMPLES
25
25
@@ -43,8 +43,20 @@ Get-PnPList # returns the lists from site A
43
43
44
44
## PARAMETERS
45
45
46
-
## RELATED LINKS
46
+
### -Connection
47
+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection. If not provided, the context of the connection will be retrieved from the current connection.
48
+
49
+
```yaml
50
+
Type: PnPConnection
51
+
Parameter Sets: (All)
47
52
48
-
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
53
+
Required: False
54
+
Position: Named
55
+
Default value: None
56
+
Accept pipeline input: False
57
+
Accept wildcard characters: False
58
+
```
49
59
60
+
## RELATED LINKS
50
61
62
+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Copy file name to clipboardExpand all lines: documentation/Get-PnPList.md
+13-17
Original file line number
Diff line number
Diff line change
@@ -53,20 +53,6 @@ This examples shows how to do wildcard searches on the list URL. It returns all
53
53
54
54
## PARAMETERS
55
55
56
-
### -Connection
57
-
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
58
-
59
-
```yaml
60
-
Type: PnPConnection
61
-
Parameter Sets: (All)
62
-
63
-
Required: False
64
-
Position: Named
65
-
Default value: None
66
-
Accept pipeline input: False
67
-
Accept wildcard characters: False
68
-
```
69
-
70
56
### -Identity
71
57
The ID, name or Url (Lists/MyList) of the list
72
58
@@ -95,10 +81,20 @@ Accept pipeline input: False
95
81
Accept wildcard characters: False
96
82
```
97
83
84
+
### -Connection
85
+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
98
86
87
+
```yaml
88
+
Type: PnPConnection
89
+
Parameter Sets: (All)
99
90
100
-
## RELATED LINKS
101
-
102
-
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
91
+
Required: False
92
+
Position: Named
93
+
Default value: None
94
+
Accept pipeline input: False
95
+
Accept wildcard characters: False
96
+
```
103
97
98
+
## RELATED LINKS
104
99
100
+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by specifying -ReturnConnection on Connect-PnPOnline. If not provided, the connection will be retrieved from the current context.
54
55
55
-
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
56
+
```yaml
57
+
Type: PnPConnection
58
+
Parameter Sets: (All)
59
+
60
+
Required: False
61
+
Position: Named
62
+
Default value: None
63
+
Accept pipeline input: False
64
+
Accept wildcard characters: False
65
+
```
66
+
67
+
## RELATED LINKS
56
68
69
+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
0 commit comments