Skip to content

Commit cceb7f9

Browse files
committed
Fix whiteboard install problem
1 parent dac86c8 commit cceb7f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/office-cmdlet-updater/constants/commands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
SKYPE_CREATE_SESSION: '$session = New-CsOnlineSession -Credential $cred -Verbose',
1212
SKYPE_IMPORT_SESSION: 'Import-PSSession -Session $session',
1313
SHAREPOINT_INSTALL_MODULE: 'Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking',
14-
WHITEBOARD_INSTALL_MODULE: 'Install-Module -Name WhiteboardAdmin',
14+
WHITEBOARD_INSTALL_MODULE: 'Install-Module -Name WhiteboardAdmin -Force',
1515
EXCHANGE_INSTALL_MODULE: 'Install-Module -Name ExchangeOnlineShell -Force',
1616
EXCHANGE_GET_CRED: '$UserCredential = Get-Credential',
1717
EXCHANGE_GET_SESSION: '$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection',
@@ -20,5 +20,5 @@ module.exports = {
2020
SET_PASS: '$Password = \'{}\'',
2121
CONVERT_PASS_TO_SEC_STRING: '$SecureString = ConvertTo-SecureString -AsPlainText $Password -Force',
2222
CREAT_CRED: '$cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Username,$SecureString',
23-
STUFFHUB_INSTALL: 'Install-Module -Name MicrosoftStaffHub -RequiredVersion 1.0.0-alpha -AllowPrerelease'
23+
STUFFHUB_INSTALL: 'Install-Module -Name MicrosoftStaffHub -RequiredVersion 1.0.0-alpha -AllowPrerelease -Force'
2424
};

0 commit comments

Comments
 (0)