Skip to content

Commit

Permalink
Remove offending -whatif after set-itemproperty
Browse files Browse the repository at this point in the history
  • Loading branch information
p0w3rsh3ll committed Aug 23, 2017
1 parent 5347728 commit ad001dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NetCease.psd1
Expand Up @@ -4,7 +4,7 @@
RootModule = 'NetCease.psm1'

# Version number of this module.
ModuleVersion = '1.0.0'
ModuleVersion = '1.0.1'

# ID used to uniquely identify this module
GUID = 'e25b8d54-11ac-4a6e-8954-731524190329'
Expand Down
2 changes: 1 addition & 1 deletion NetCease.psm1
Expand Up @@ -108,7 +108,7 @@ Process {
35,2,0,0,0,0,24,0,19,0,15,0,
1,2,0,0,0,0,0,5,32,0,0,0,
37,2,0,0 -as [byte[]]
) -WhatIf
)
Write-Verbose -Message 'Successfully set SrvsvcSessionInfo'
} catch {
Write-Warning -Message "Failed to set SrvsvcSessionInfo in the registry because $($_.Exception.Message)"
Expand Down

0 comments on commit ad001dd

Please sign in to comment.