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
Update the migration guide to document retiring the PS1 wrapper when migrating to the C# cmdlet. Adds steps to archive the PS1 file, remove the function from dbatools FunctionsToExport, add the cmdlet to dbatools.library CmdletsToExport, and adjust commit instructions to include commits in both dbatools.library and dbatools (including Co-Authored-By lines). Also renumbers sections accordingly and clarifies the final test/run and tracker update workflow.
Copy file name to clipboardExpand all lines: scripts/migrate-prompt.md
+45-4Lines changed: 45 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,7 +228,28 @@ error behavior). Report which tests need adaptation and suggest fixes."
228
228
229
229
Fix any issues reported by these specialized reviewers before proceeding to Step 10.
230
230
231
-
### 10. Final Test Run
231
+
### 10. Retire the PS1 Function
232
+
233
+
The C# cmdlet replaces the PS1 function. Both cannot coexist — PowerShell will error on duplicate command names. Perform these steps in the **dbatools repo** (`c:\github\dbatools`):
234
+
235
+
#### 10a. Archive the PS1 file
236
+
237
+
Move the PS1 to an `archive/` folder (gitignored — for reference only, the original is in git history):
0 commit comments