Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
powershell_ise -File .\Get-Profile.ps1Starts the Windows PowerShell Integrated Scripting Environment (ISE), where scripts and commands can be edited and run. This guide lists the documented syntax and parameters for powershell ise; check Microsoft Learn for version, role and execution-context requirements.
powershell_ise[.exe]
ISE
[-File] <FilePath[]> [-NoProfile] [-MTA]
-Help | ? | -? | /?The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
powershell_ise -File .\Get-Profile.ps1Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
ISE -File ".\Get-Backups.ps1,Get-BackupInstance.ps1"Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
ISE -NoProfile| Option / clause | Description |
|---|---|
-File <FilePath[]> | Open one or more files in ISE; separate multiple paths with commas inside one quoted value. |
-NoProfile | Start ISE without loading PowerShell profiles. |
-MTA | Start ISE in multithreaded apartment mode; STA is the default. |
-Help / -? / ? / /? | Display ISE command-line help. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.