< Back
Remove-OMPPersonalFunction
Post
NAME Remove-OMPPersonalFunction
SYNOPSIS
Removes a loaded personal function path from the profile.
SYNTAX
Remove-OMPPersonalFunction [-Path] <String> [[-NoProfileUpdate]] [<CommonParameters>]
DESCRIPTION
Removes a loaded personal function path from the profile.
PARAMETERS
-Path <String>
Path to the personal function.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NoProfileUpdate [<SwitchParameter>]
Skip updating the profile
Required? false
Position? 2
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Zachary Loeber
-------------------------- EXAMPLE 1 --------------------------
Remove-OMPPersonalFunction -Name 'C:\\temp\\Upgrade-System.ps1'
Removes posh-git from the list of modules that will be loaded when OhMyPsh starts.
RELATED LINKS
https://www.github.com/zloeber/OhMyPsh https://www.github.com/zloeber/OhMyPsh
SYNOPSIS
Removes a loaded personal function path from the profile.
SYNTAX
Remove-OMPPersonalFunction [-Path] <String> [[-NoProfileUpdate]] [<CommonParameters>]
DESCRIPTION
Removes a loaded personal function path from the profile.
PARAMETERS
-Path <String>
Path to the personal function.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NoProfileUpdate [<SwitchParameter>]
Skip updating the profile
Required? false
Position? 2
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Zachary Loeber
-------------------------- EXAMPLE 1 --------------------------
Remove-OMPPersonalFunction -Name 'C:\\temp\\Upgrade-System.ps1'
Removes posh-git from the list of modules that will be loaded when OhMyPsh starts.
RELATED LINKS
https://www.github.com/zloeber/OhMyPsh https://www.github.com/zloeber/OhMyPsh