Posts

Showing posts from September, 2015

Connect-MsolService incorrectly shows as having a -CurrentCredentials parameter in PowerShell help

You may find that running Get-Help against the "Connect-MsolService" cmd incorrectly shows as having a -CurrentCredentials parameter in PowerShell help. This switch parameter is not actually available Connect-MsolService -CurrentCredentials Connect-MsolService : A parameter cannot be found that matches parameter name 'CurrentCredentials'. At line:1 char:22 +  Connect-MsolService -CurrentCredentials +                      ~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : InvalidArgument: (:) [Connect-MsolService], ParameterBindingException     + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Online.Administration.Automation.ConnectMsolServic    e You can see this in the online documentation for the cmdlet, a PSCredential must actually be provided. https://msdn.microsoft.com/en-us/l...

Automate the creation of Google accounts

Image
You can now use our network automation tool , XIA Automation Server to provision and delete Google accounts automatically . Using the administration tools you can configure how the system will create the accounts. The web interface can be used by users to easily create the accounts from a desktop browser, mobile device or tablet. The created accounts can then be seen in the Google admin tools web interface. For more information email info@centrel-solutions.com or download the free trial now.

C#.NET reports "The request failed with HTTP status 401: Unauthorized" when accessing

We've recently seen an issue where C#.NET reports "The request failed with HTTP status 401: Unauthorized" when accessing a classic SOAP Web Reference. The credentials are set using  CredentialCache.DefaultCredentials as shown in the code below. /// <summary> /// Starts the service. /// </summary> /// <remarks> The scheduler web service is not polled at start-up to improve start response times. </remarks> public void StartService() {     try     {         server = new XIAAutomation ();         server.Credentials = CredentialCache .DefaultCredentials;         server.Url = GetWebServiceUrl();         server.Timeout = 60000;         SetupTimer();         Diagnostics .WriteEvent( Strin...

Disable Windows Firewall on Server 2012 and Server 2016 Tech Preview using PowerShell

If you want to quickly disable the firewall on Windows Server 2012 or Windows Server 2016 Tech Preview this can easily be done using PowerShell with the following command Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False Why not check out our server audit tool , XIA Configuration Server ?