DateTime time = DateTime.Now;
string format = "MMM ddd d HH:mm yyyy";
Console.WriteLine(time.ToString(format));
string format = "MMM ddd d HH:mm yyyy";
Console.WriteLine(time.ToString(format));
Set-SpCentralAdministration -port 1024 iisreset #And use whatever port number you choose #Note: the above command will make changes to IIS as well
Set-SPCentralAdministration : The pipeline has been stopped. At line:1 char:28 + set-spcentraladministration ==== -port 81 + CategoryInfo : InvalidData: (Microsoft.Share...lAdministration:SPCmdletSetSPCentralAdministration) [Set -SPCentralAdministration], PipelineStoppedException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletSetSPCentralAdministration Set-SPCentralAdministration : Invalid Port At line:1 char:28 + set-spcentraladministration ==== -port 81 + CategoryInfo : InvalidArgument: (81:Int32) [Set-SPCentralAdministration], InvalidOperationException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletSetSPCentralAdministration
stsadm -o setadminport -port 81 iisreset
Internal URL | Zone | Public URL for Zone |
---|---|---|
http://servername1:448 | Default | http://servername1:81* |
http://servername1:81 | Default | http://servername1:81 |
Word: <a href='ms-word:ofe|u|path/to/web/word/document.docx'>Link to document</a> Excel: <a href='ms-excel:o...