$caption = "TITLE" $message = "MESSAGE" $yes = new-Object System.Management.Automation.Host.ChoiceDescription "&Yes","HELP_FOR_YES" $no = new-Object System.Management.Automation.Host.ChoiceDescription "&No","HELP_FOR_NO" $choices = [System.Management.Automation.Host.ChoiceDescription[]]($yes,$no) $answer = $host.ui.PromptForChoice($caption,$message,$choices,0) if($answer -eq 0){ //YOUR_CODE_IF_YES }
Podemos cambiar el usuario actual de nuestro Site de SharePoint en 2013 accediendo a la siguiente url: {MY_SITE}/_layouts/closeConnection.aspx?loginasanotheruser=true Por ejemplo: http://miportal.desharepoint.com/_layouts/closeConnection.aspx?loginasanotheruser=true
Basically: Password must not contain the user’s entire Account Name. Password must contain an Uppercase character, a Lowercase character and a number (0 through 9). More info: http://technet.microsoft.com/en-us/library/cc786468%28v=ws.10%29.aspx