Posts

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 ?

ASP.NET AJAX doesn't work on iPhone or iPad (Sys.WebForms object is undefined)

We've had a problem recently whereby iPhones and iPads weren't using AJAX correctly. When you check this using JavaScript the Sys.WebForms object is undefined. There are several documents saying how to resolve this by overriding OnInit on the page however we found it simpler to just update the browser definition file. The capability that seems to be required for AJAX to work correctly (and for Sys.WebForms to be available) is s upportsCallback Here's what we have in the apple.browser definition file. <browsers>   <!-- Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3  -->   <gateway id="iPhone" parentID="Safari">     <identification>       <userAgent match="iPhone" />     </identification>     <capabilities>       <capability name="mobileDeviceModel"...

Create a Citrix XenDesktop report

Image
If you'd like to create a report on your Citrix XenDesktop sites why not check out our new Citrix XenDesktop documentation tool ? As well as being able to create highly professional technical documentation the system also provides the following out of the box reports. Citrix XenDesktop Applications Summary Citrix XenDesktop Delivery Controllers Summary Citrix XenDesktop Delivery Groups Summary Citrix XenDesktop Detailed Applications Report Citrix XenDesktop Hosting Connections Citrix XenDesktop Machine Catalogs Summary Citrix XenDesktop Machines Summary Citrix XenDesktop Site Administrators Summary Citrix XenDesktop Site Policies Summary Citrix XenDesktop Site Policy Settings Citrix XenDesktop Sites Summary     You can also create your own custom reports.

Citrix XenDesktop automated documentation script / tool

Image
With the new Citrix XenDesktop agent for our network documentation tool , XIA Configuration Server you can now document the following Citrix XenDesktop versions Citrix XenDesktop / XenApp 7.0, Any Edition Citrix XenDesktop / XenApp 7.1, Any Edition Citrix XenDesktop / XenApp 7.5, Any Edition Citrix XenDesktop / XenApp 7.6, Any Edition This includes the ability to generate professional documentation for Applications Machine catalogs Delivery groups Delivery controllers App-V publishing settings Hosting connections Policies Interested? If you would like to try XIA Configuration Server , download the free trial version , or visit our purchase page. Why not check out the sample Citrix XenDesktop report ?