我想在applescript中执行shell命令'iconv',如下所示:
do shell script "echo -ne '\\x00\\x20' | iconv -f utf-16be"
但它返回时出错:
error "\riconv: (stdin):1:4: incomplete character or shift sequence"
如何正确执行命令?
答案 0 :(得分:0)
var credentials = SdkContext.AzureCredentialsFactory.FromServicePrincipal(clientId, clientScret,tenantId, AzureEnvironment.AzureGlobalCloud);
NetworkManagementClient networkManagementClient = new NetworkManagementClient(credentials) {SubscriptionId = subscriptionId};
var result= networkManagementClient.CheckDnsNameAvailabilityWithHttpMessagesAsync("location", "DomainLabelName").Result;